in reply to Re^6: PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects" (FAQ6: $&)
in thread PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects"
Btw, using $& instead of creating capture groups and $1 gives a slight boost to "buk3". Also, I earlier experimented with "yr" - using "pos" (as it is) also gives quite a boost against using $-[0] or $+[0].
Interesting. Something for me to experiment with next time I'm doing something similar.
Also, did you see the results from eily's approach to the problem?
|
---|