To make the first order image moments m01 and m10 zero in order to achieve translation invariance using Zernike moments, the image centroid needs to be calculated and then the image needs to be translated so that the centroid is at the center of the image. This can be done using the following steps:
xc = m10 / m00 yc = m01 / m00
where m10, m01, and m00 are the first order image moments.
Translate the image so that the centroid is at the center of the image. This can be done by shifting the image by (xc - x0) pixels horizontally and (yc - y0) pixels vertically, where (x0, y0) is the center of the image.
Calculate the Zernike moments of the translated image.
By making the first order image moments zero in this way, the Zernike moments become invariant to translations of the image.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-02-01 11:00:00 +0000
Seen: 10 times
Last updated: Sep 15 '21
Can specific order be programmed to add rows to DataGridView?
Is the Nextflow channel processing only the first item in the channel?
In order to match the page with Tampermonkey, how can I disregard all the forward slashes?
What is the way to identify boolean queries that are not valid, and do not have parentheses?
How can we group pandas data by a column and sort it in a descending order?
If the values above and below are identical, how can you complete the missing cells in sequence?
How can DICOM Tags be transmitted to a Modality in order to generate a DICOM file?