« first day (2723 days earlier)      last day (729 days later) » 

04:45
@flawr Apparently OpenCV also does naive dilations:
I mean, it's super-optimized code implementing the naive algorithm. I'm sure I can learn something from them, they beat DIPlib handily for small kernels.
 
2 hours later…
06:20
@CrisLuengo How come the runtime goes down with increasing kernel diameter?
 
1 hour later…
07:31
@Dev-iL It's because there's slightly less work to do. The larger the kernel, the more overlap there is with the computation for the previous pixel. It sounds kinda stupid said this way, but it's the best I can do without explaining the algorithm...
That's good enough for me, thanks! :)
I guess I was missing that this assumes a constant "problem size"; typically in benchmarking charts the problem size increases to the right
Yeah, indeed, the input and output images have fixed sizes, it's just the kernel that changes. But in the case of erosions and dilations they stay within the image bounds. There's no need to extend the image with the size of the kernel, as you'd do in other filters if you want proper boundary conditions. If you need to extend the image, then it's no longer O(1).
 
2 hours later…
09:45
If you need to extend the image it goes from O(1) to Oh Oh Oh
10:06
Argh, the food selection is so much worse when working from home :(
10:29
@CrisLuengo yes, and I think so has scipy
11:09
@Dev-iL and no free coffee!
@AndrasDeak--СлаваУкраїні :'(
 
11 hours later…
22:25
Apparently it's hat time again... This winter bash is becoming way too frequent, it was only a few months ago we last had winter bash! I thought it was supposed to be only once a year?

« first day (2723 days earlier)      last day (729 days later) »