SoAreaQuantification2d Class Reference
[Global Measures]

ImageViz SoAreaQuantification2d engine SoAreaQuantification2d computes the area of the pixels object. More...

#include <ImageViz/Engines/ImageAnalysis/GlobalMeasures/SoAreaQuantification2d.h>

Inheritance diagram for SoAreaQuantification2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Classes

class  SbArea2DDetail
 Results details of 2d Area measurement. More...

Public Member Functions

 SoAreaQuantification2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoImageVizEngineAnalysisOutput
< SbArea2DDetail
outResult

Detailed Description

ImageViz SoAreaQuantification2d engine SoAreaQuantification2d computes the area of the pixels object.

For an introduction, see section Image Analysis.

In the continuous, or theoretical, case, area is defined as:

$A(x)=\int_{R^2}dxdy$

In the discrete, or actual, case, area is approximated by the number of pixels in X:

$A(x)=\sum_{i,j}g(x_i,y_j)$

Where :

$\begin{array}{l} g(x_i,y_j)=1 ~ \mbox{if the pixel lies within the object X}\\ g(x_i,y_j)=0 ~ \mbox{otherwise}\end{array}$

The area measure can be weighted by a size factor which characterizes the area of a single pixel. In which case, the measure is physically homogeneous to the area.

On a binary image, this module returns the number of non zero pixels in the image. Computed area takes into account pixel size.

See also: SoIntensityIntegralQuantification2d, SoIntensityIntegralQuantification3d.

FILE FORMAT/DEFAULT


Library references: area


Constructor & Destructor Documentation

SoAreaQuantification2d::SoAreaQuantification2d (  ) 

Constructor.


Member Data Documentation

The input binary image.

Default value is NULL. Supported types include: binary color image.

The output measure result.

Default value is NULL.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/