Login  Register

Image-Rotations and "ip.setBackgroundValue()"

Posted by Herbie on Oct 24, 2018; 3:44pm
URL: http://imagej.273.s1.nabble.com/Image-Rotations-and-ip-setBackgroundValue-tp5021339.html

Dear experts,

my question concerns ways to fill *only* the corner areas that result from
rotated images and that work with 8bit, 16bit and 32bit images.

I should like to fill these areas with the mode value of the images.

"ip.setBackgroundValue()"

appears to work with 8bit images only.

Is there are reliable way to do this with 16bit and 32bit images?

(What I did already is select the zero-valued corner areas with the
Wand-tool and then fill them, but if the image structure is zero as well and
touches a corner area, it becomes filled as well...)

(Another approach not, tested yet, is to rotate a rectangular selection as
well and fill outside.)

Any suggestions are welcome

Herbie




--
Sent from: http://imagej.1557.x6.nabble.com/

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