Introduction

 

Magnifying glass in the image

 

View more images

 

Geometrical transforms

 

Brightness profile

 

Histogram

 

Fourier transform

 »

Features

 

Brightness/contrast corrrections

 

Flat-Field corrections

 

Inhomogeneous lighting correction

 

Gama correction

 

Noise generation

 

Arithmetical and logical operation

 

Look Up Tables

 

2D convolution

 

Objects drawing

 

Morphological operations

 

Nonlinear filters

 

Bit fields

 

Sobel edge detection

 

Averaging

 

Colour images

 

 MIPS 2.0 - Medical/Microscopy Image Processing Software

 

 

 

Statistical variables

 »

Centroid

 

SNR/PSNR

 

 

CENTROID


Image / Characteristics / Centroid

The centroid (center of gravity) represents a measure of the geographic center of the object in the image. Its coordinates are calculated for a binary image:

    

where Xi and Yi are the coordinates of the i-th pixel of the object, A is the area of the object.

In the working window of this function, we define the gray level of the object for which we want to find the center of gravity. The found center of gravity is drawn directly into the image and its X- and Y-coordinates are displayed at the same time.

Preview

 

 

 

 

Example

 

 

            Centroid (gray level 0)

 

 

 

 

          Centroid (gray level 53)

 

 

 

 

            Centroid (gray level 6)

 

 


© 2000-2022, Václav Gerla, Jiųí Hozman, Martin Pop. In case of problems or questions don“t hesitate to contact us via email. Last update