Re: zernike moments question
- From: "Ashish Uthama" <ashishu@xxxxxxxxxx>
- Date: Wed, 02 Apr 2008 10:18:27 -0400
Not sure how you planned to compress your pixel grid.
I would just rescale my x's and y's to be in the range 0-1 (i.e divide by max(max(x(:),y(:))))
after you define your origin as the 'centre' of the image (centroid?)
On Sun, 09 Mar 2008 09:42:32 -0400, Adam Chapman <adam.chapman@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Mar 9, 12:12 am, aruzinsky <aruzin...@xxxxxxxxxxxxxxxxxxxx> wrote:On Mar 8, 10:36 am, Adam Chapman
<adam.chap...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Mar 8, 4:31 pm, aruzinsky <aruzin...@xxxxxxxxxxxxxxxxxxxx> wrote:
> > On Mar 8, 8:26 am, Adam Chapman
> > <adam.chap...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > Hi,
> > > I have to calculate the zernike moments (http://homepages.inf.ed.ac.uk/
> > > rbf/CVonline/LOCAL_COPIES/SHUTLER/node1.html) of an image as a step in
> > > an image processing algorithm.
> > > The problem I have is that you are only supposed to make the zernike
> > > moment from the region where x^2+y^2<=1. This suggests that I have to
> > > compress my pixel grid to fit in a circular shape with an edge radius
> > > of 1.
> > > Am i correct?
> > > Adam
> > What "image processing algorithm?"
> Im inputting the zernike moments into a neural net for character
> recognition.- Hide quoted text -
> - Show quoted text -
I have no experience with this, but, it seems to me that the
background of a character may as well be made up. If you isolate the
character, you can put it against an artificial black background and
draw a circle around it any way you want. A zero luminance background
won't contribute to a moment.- Hide quoted text -
- Show quoted text -
Yes I am using a binary image (1 for pixels belonging to the letter,
black otherwise). Thanks for the help
Adam
.
- Prev by Date: extract "paper" from document scan?
- Next by Date: Re: Merging many microscopic images taken from optical microscope
- Previous by thread: extract "paper" from document scan?
- Next by thread: Re: Merging many microscopic images taken from optical microscope
- Index(es):
Relevant Pages
|