Login  Register

Re: Python iteration through Pixel/ROI to slow ... ?

Posted by Gabriel Landini on Oct 23, 2013; 4:15pm
URL: http://imagej.273.s1.nabble.com/Python-iteration-through-Pixel-ROI-to-slow-tp5005274p5005288.html

> I try to lable the ROIs with a grey color (1-65536 in a 16bit picture)

Just a follow up. I just noted that you do not need to label the cells at the
start. You know where cell n is because it has coordinate XStart YStart in row
n of the results table. So you could do your computation without labelling
anything and then paint that cell at the end (flood filling with the result
values you want at XStart YStart.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html