Login  Register

Re: fill value for Translate...

Posted by Gabriel Landini on Sep 16, 2013; 12:45pm
URL: http://imagej.273.s1.nabble.com/fill-value-for-Translate-tp5004772p5004802.html

On Monday 16 Sep 2013 13:31:07 Michael Elbaum wrote:
> Thanks Gabriel,     but unfortunately white is no better. Creating a larger
> image with background fill and then pasting the image in should work, but
> this is bad for memory esp for working with stacks. I tried selecting the
> desired grey with the color picker but the border remains black after
> translation. regards,

Well, you said 'some other value'...
I can't think another way of doing this other than painting (floodfill) the
corner pixel that gets black (you will have to compute which one it is) after
the translation.

Cheers

Gabriel

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