Skip to content

A python module to find the Zernike moments for an N x N binary ROI.

License

Notifications You must be signed in to change notification settings

shuitai/pyzernikemoment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyzernikemoment

###1. Introduction

In short, pyzernikemoment is a python module to find the Zernike moments for an N x N binary ROI, and the MATLAB version is written by Amir Tahmasbi.

###2. Install

This package uses distutils, which is the default way of installing python modules. To install in your home directory, securely run the following:

git clone https://github.com/primetang/pyzernikemoment.git
cd pyzernikemoment
[sudo] python setup.py install

Or directly through pip to install it:

[sudo] pip install pyzernikemoment

###3. Usage

I think this is a good example for the usage of pyzernikemoment.

You can also run the example by run the following:

cd example
python test_example.py

The follow is the result, where A is the amplitude of the moment, and Phi is the phase.

About

A python module to find the Zernike moments for an N x N binary ROI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%