Re: zernike moments question



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

.



Relevant Pages

  • Re: zernike moments question
    ... an image processing algorithm. ... compress my pixel grid to fit in a circular shape with an edge radius ... Im inputting the zernike moments into a neural net for character ...
    (sci.image.processing)
  • Re: simple file compression program
    ... it would not be possible for ch to compare equal to EOF, ... As the character set representation is not specified by C, ... proceeding end-of-line indicators. ... Is there any other simpler method to compress text files, ...
    (comp.lang.c)
  • Re: Hutter Prize Rules
    ... will be able to compress the original 18,324,887 bytes by more than an ... at least 1-bit per character characterization of the data which has oft been ... If paq8hp1 is validated we will have 3% ... improvement just since the announcement of the Hutter Prize. ...
    (comp.compression)
  • Re: Skill Challenges - WTF?
    ... Mere moments before death, Allen Wessels ... perhaps (the character has to win enough ... points in negotiation to get the deal, before talks fall apart), but ... I guess it's a matter of how much you want to compress the event. ...
    (rec.games.frp.dnd)
  • Re: zernike moments question
    ... an image processing algorithm. ... compress my pixel grid to fit in a circular shape with an edge radius ... background of a character may as well be made up. ...
    (sci.image.processing)