[GEM-dev] pix_multiblob fix

Ricardo Fabbri rfabbri at gmail.com
Mon Nov 28 04:36:04 CET 2011


Hi, IOhannes,

There is a tiny bug to be fixed in pix_multiblob; when it tests for the
neighbors of a given pixel (double for loop), it should test whether x <
image.xsize and not <= here. Same for y.

I would like  to take the opportunity to suggest to drop usage of clampFunc
in the pixel access and set functions  ImageStruct. That would make Gem
faster as a whole. perhaps use a #ifndef NDEBUG..#endif type of thing.

Best,

-- 

Ricardo Fabbri
--
Linux registered user #175401
www.lems.brown.edu/~rfabbri
labmacambira.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20111127/eb9dbed1/attachment.htm>


More information about the GEM-dev mailing list