ZERN2 - kpmoorse/sim_reg GitHub Wiki

[Z, nm] = zern2(img, order, varargin)
Calculate Zernike moments of the input image

Take as inputs:

  • img [MxN numeric array]: image for which to calculate Zernike moments
  • order [0 < int]: maximum order up to which moments will be calculated
  • varargin:
    • Outform [string]: output format for Zernike moments; default is 'complex'