help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differences between imrotate on Octave and in MatLab


From: Søren Hauberg
Subject: Re: Differences between imrotate on Octave and in MatLab
Date: Fri, 12 Mar 2010 15:00:36 -0800

fre, 12 03 2010 kl. 12:49 -0600, skrev Journeaux, Ian:
> I have an original image. We use imrotate to rotate the image slightly
> (1-3deg). The unrotated image has some small distinct white spots on
> it that are about 3-5 pixel in size. The white intensity of the
> several pixels at the center of the spots are 255 (grayscale images).
> After processing with imrotate in Matlab, the shape of the spot is
> relatively unchanged and the number of pixels with a grayscale
> intensity of 255 is slightly smaller. I expected the image rotation
> would cause this so I wasn’t surprised.

Could you try with nearest neighbour interpolation (as suggested by Marc
Normandin) and see if that changes things for you? If not, then it would
be helpful if you could publish so data and a simple example that
illustrates the issue, such that I can debug the situation. 

Thanks
Søren




reply via email to

[Prev in Thread] Current Thread [Next in Thread]