Orthogonal moments Motivation for using OG moments Stable calculation by recurrent relations Easier and stable image reconstruction - set of orthogonal.

Slides:



Advertisements
Similar presentations
Binary Shape Clustering via Zernike Moments
Advertisements

Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
QR Code Recognition Based On Image Processing
Wavelets Fast Multiresolution Image Querying Jacobs et.al. SIGGRAPH95.
Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
電腦視覺 Computer and Robot Vision I
By: Michael Vorobyov. Moments In general, moments are quantitative values that describe a distribution by raising the components to different powers.
Chapter 3 Image Enhancement in the Spatial Domain.
Fourier Transform (Chapter 4)
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
Proportion Priors for Image Sequence Segmentation Claudia Nieuwenhuis, etc. ICCV 2013 Oral.
Each pixel is 0 or 1, background or foreground Image processing to
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
Institute of Information Theory and Automation Prague, Czech Republic Flinders University of South Australia Adelaide, Australia Object Recognition by.
Session: Computational Wave Propagation: Basic Theory Igel H., Fichtner A., Käser M., Virieux J., Seriani G., Capdeville Y., Moczo P.  The finite-difference.
Shape Detection and Recognition. Outline Motivation – Biological Perception Segmentation Shape Detection and Analysis Overview Project – Markov Shape.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
Project Overview Reconstruction in Diffracted Ultrasound Tomography Tali Meiri & Tali Saul Supervised by: Dr. Michael Zibulevsky Dr. Haim Azhari Alexander.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Curve-Fitting Polynomial Interpolation
Detecting Image Region Duplication Using SIFT Features March 16, ICASSP 2010 Dallas, TX Xunyu Pan and Siwei Lyu Computer Science Department University.
Stepan Obdrzalek Jirı Matas
Some Properties of the 2-D Fourier Transform Translation Distributivity and Scaling Rotation Periodicity and Conjugate Symmetry Separability Convolution.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
1Ellen L. Walker Matching Find a smaller image in a larger image Applications Find object / pattern of interest in a larger picture Identify moving objects.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
Digital Image Processing Final Project Compression Using DFT, DCT, Hadamard and SVD Transforms Zvi Devir and Assaf Eden.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Direct Illumination with Lazy Visibility Evaluation David Hart Philip Dutré Donald P. Greenberg Cornell University SIGGRAPH 99.
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Analysis of shape Biomedical Image processing course, Yevhen Hlushchuk and Jukka Parviainen.
Shape Matching for Model Alignment 3D Scan Matching and Registration, Part I ICCV 2005 Short Course Michael Kazhdan Johns Hopkins University.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
3. 3 Separation of Variables We seek a solution of the form Cartesian coordinatesCylindrical coordinates Spherical coordinates Not always possible! Usually.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Invariants to translation and scaling Normalized central moments.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Invariants to convolution. Motivation – template matching.
Reconstruction of Solid Models from Oriented Point Sets Misha Kazhdan Johns Hopkins University.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition The slides accompanying.
Dr. Scott Umbaugh, SIUE Discrete Transforms.
CS654: Digital Image Analysis Lecture 36: Feature Extraction and Analysis.
Fourier Transform.
Image Segmentation Image segmentation (segmentace obrazu)
Algorithms for moment computation Various definitions of moments in a discrete domain depending on the image model Sum of Dirac δ-functions Nearest neighbor.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Computer Vision – 2D Signal & System Hanyang University Jong-Il Park.
Image Enhancement in the Spatial Domain.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Jean Baptiste Joseph Fourier
Image Representation and Description – Representation Schemes
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
Paper Presentation: Shape and Matching
UNIT II Analysis of Continuous Time signal
A (Zernike) moment-based nonlocal-means algorithm for image denoising
Fourier Transform of Boundaries
Presented by Xu Miao April 20, 2005
Image Registration  Mapping of Evolution
Review and Importance CS 111.
Presentation transcript:

Orthogonal moments Motivation for using OG moments Stable calculation by recurrent relations Easier and stable image reconstruction - set of orthogonal polynomials

Numerical stability How to avoid numerical problems with high dynamic range of geometric moments?

Standard powers

Orthogonal polynomials Calculation using recurrent relations

Two kinds of orthogonality Moments (polynomials) orthogonal on a unit square Moments (polynomials) orthogonal on a unit disk

Moments orthogonal on a square is a system of 1D orthogonal polynomials

Common 1D orthogonal polynomials Legendre Chebyshev Gegenbauer Jacobi or (generalized) Laguerre <0,∞) Hermite(-∞,∞)

Legendre polynomials Definition Orthogonality

Legendre polynomials explicitly

Legendre polynomials in 1D

Legendre polynomials in 2D

Legendre polynomials Recurrent relation

Legendre moments

Moments orthogonal on a disk Radial part Angular part

Moments orthogonal on a disk Zernike Pseudo-Zernike Orthogonal Fourier-Mellin Jacobi-Fourier Chebyshev-Fourier Radial harmonic Fourier

Zernike polynomials Definition Orthogonality

Zernike polynomials – radial part in 1D

Zernike polynomials – radial part in 2D

Zernike polynomials

Zernike moments Mapping of Cartesian coordinates x,y to polar coordinates r,φ: Whole image is mapped inside the unit disk Translation and scaling invariance

Zernike moments

Rotation property of Zernike moments The magnitude is preserved, the phase is shifted by ℓθ. Invariants are constructed by phase cancellation

Zernike rotation invariants Phase cancellation by multiplication Normalization to rotation

Recognition by Zernike rotation invariants

Insufficient separability

Sufficient separability

Image reconstruction Direct reconstruction from geometric moments Solution of a system of equations Works for very small images only For larger images the system is ill-conditioned

Image reconstruction by direct computation 12 x x 13

Image reconstruction Reconstruction from geometric moments via FT

Image reconstruction via Fourier transform

Image reconstruction Image reconstruction from OG moments on a square Image reconstruction from OG moments on a disk (Zernike)

Image reconstruction from Legendre moments

Image reconstruction from Zernike moments Better for polar raster

Image reconstruction from Zernike moments

Reconstruction of a noise-free image

Reconstruction of a noisy image

Summary of OG moments OG moments are used because of their favorable numerical properties, not because of theoretical contribution OG moments should be never used outside the area of orthogonality OG moments should be always calculated by recurrent relations, not by expanding into powers Moments OG on a square do not provide easy rotation invariance Even if the reconstruction from OG moments is seemingly simple, moments are not a good tool for image compression

Algorithms for moment computation Various definitions of moments in a discrete domain depending on the image model Sum of Dirac δ-functions Nearest neighbor interpolation Bilinear interpolation

Moments in a discrete domain exact formula

Moments in a discrete domain zero-order approximation

Moments in a discrete domain exact formula

Algorithms for binary images Decomposition methods Boundary-based methods

Decomposition methods The object is decomposed into K disjoint (usually rectangular) “blocks” such that

Decomposition methods differ from each other by - the decomposition algorithms - the shape of the blocks - the way how the moments of the blocks are calculated

Delta method (Zakaria et al.) Decomposition into rows

Recursive formulae for the summations where

Delta method (Zakaria et al.) Decomposition into rows Simplification by direct integration

Delta method (Zakaria et al.)

Rectangular blocks (Spiliotis et al.) Decomposition into sets of rows of the same beginning and end Simplification by direct integration

Hierarchical decomposition Bin-tree/quad-tree decomposition into homogeneous squares Moment of a block by direct integration

Quadtree decomposition – an example

Morphological decomposition (Sossa et al.) Recursive decomposition into the “largest inscribed squares” Square centers are found by erosion Moment of a block by direct integration

Morphological decomposition into squares

Morphological decomposition into rectangles

Decomposition by distance transform

Optimal decomposition

Decompositions – a comparison

Moment calculation – the squirrel

Moment calculation – the chessboard

Decomposition methods - complexity Complexity of the decomposition is often ignored (believed to be O(1)) but it might be very high – it must be always considered Efficient when calculating a large number of moments of the object Certain objects cannot be efficiently decomposed at all (a chessboard)

Decomposition for computing convolution Convolution with a constant rectangle – O(1) per image pixel (with pre-calculations)

Decomposition for computing convolution Convolution with a constant rectangle – O(1) per image pixel (with pre-calculations) Convolution with a binary kernel - kernel decomposition into K blocks - O(K) per pixel

Decomposition for computing convolution Convolution with a constant rectangle – O(1) per image pixel (with pre-calculations) Convolution with a binary kernel - kernel decomposition into K blocks - O(K) per pixel

Boundary-based methods Green’s theorem →

Calculation of the boundary integral Summation pixel-by-pixel Polygonal approximation Other approximations (splines, etc.)

Discrete Green’s theorem (Philips) Equivalent to the delta-method Can be simplified by direct integration and further by pre-calculations (efficient for large number of objects)

Boundary-based methods - complexity Complexity depends on the length of the boundary Detecting boundary is assumed to be fast Efficient for objects with simple boundary Unlike decomposition methods, they can be used even for small number of moments Inefficient for objects with complex boundaries (a chessboard)

Moments of gray-level images Decomposition into several binary images (intensity slices, bit planes) Approximation of graylevels

Intensity slicing

Bit-plane slices f k (x,y) is the k-th bit plane of the image Low bit planes are often ignored

Bit-plane slices

A detail of the zero-bit plane

Approximation methods The image is decomposed into blocks where it can be approximated by an “easy-to-integrate” function (e.g. by polynomials) Any kind of decomposition can be used.

Polynomial approximation of graylevels

Algorithms for OG moments Specific methods Methods using recurrent relations Decomposition methods Boundary-based methods

Are moments good features? YES - well-developed mathematics behind, invariance to many transformations - complete and independent set - good discrimination power - robust to noise NO - moments are global - small local disturbance affects all moments - careful object segmentation is required

How to make the moment invariants local?

Dividing the object into invariant parts Inflection points and centers of straight lines are affine invariants Computing the AMI’s of each part Recognition via maximum substring matching

Thank you ! Any questions?