Zernike Moment calculation

cellprofiler

#1

In Zernike moment calculation by sizeshape Module, It is mentioned that ZM polynomial is calculated based on minimum bounding box of each object. I thought Zernike polynomials are sensitive to image size. So, this would mean that for each cell their Zernike basis function would be different than other cell which will lead to compromised Zernike moment.


#2

Hi,

Not at all a mathematician, so I can’t comment on your particular concern as to whether or not it’s the incorrect way to implement the Zernike- you’re welcome to take a look at our current implementation and make a PR with suggestions if you know of a better way to do it!