Re: Method to get zoomed in or zoomed out AWT image from and ImagePlus or ImageWindow?

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/Method-to-get-zoomed-in-or-zoomed-out-AWT-image-from-and-ImagePlus-or-ImageWindow-tp3688583p3688592.html

Hi,

On Wed, 14 Apr 2010, Bill Mohler wrote:

> I've addressed my original problem by using ImageProcessor.resize().

... which is wrong ;-)

> But I'm stuck mentally on your argument about the squares.  What's the
> alternative?  Circles?

Pixels are sampled data. They are the result of a convolution of the
actual signal with a point spread function. So pixels do not even have
proper shapes, as they do not have clear-cut boundaries!

> I thought that the pixels in our cameras were actually squares.  Are
> they a different shape, either physically or functionally?  Does anyone
> do math to account for their actual shape?  Maybe in astronomy?

Everybody does, otherwise you end up with aliasing effects, as
demonstrated on the website I referred you to.

Ciao,
Johannes