Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoDataMeasurePredefined.h
Go to the documentation of this file.
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : David Beilloin (Sep 2013)
22**=======================================================================*/
23#ifndef _SO_DATA_MEASURE_PREDEFINED_H_
24#define _SO_DATA_MEASURE_PREDEFINED_H_
25
26#include <ImageViz/SoImageViz.h>
28
30class SoDEPRECATED SoDataMeasurePredefined : public SoDataMeasure
46{
48public:
51 {
53 UNDEFINED = 0,
54 // IPVIZGEN_BEGIN
964 INSIDE_CENTER_Y_2D
965// IPVIZGEN_END
966 };
967
970
978
984
986 virtual const SbString& getMeasureName() const;
987
990
992 virtual ResultFormat getFormat() const;
993
995 static const SbString& getName(PredefinedMeasure measureEnum);
996
997private:
999 virtual ~SoDataMeasurePredefined();
1000private:
1001 // common constructor initialization
1002 void commonInit();
1003};
1004
1005#endif /* _SO_DATA_MEASURE_PREDEFINED_H_ */
#define SO_FIELDCONTAINER_HEADER(className)
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Abstract base class fo...
UnitDimension
"Unit dimension" is used to categorize the resulting unit of a measure.
ResultFormat
The "result format" is the type of the output of a measure computation.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> class that define the ...
virtual UnitDimension getUnitDimension() const
Returns the "unit dimension" of the result data.
SoSFEnum predefinedMeasure
Predefined measure to use.
SoDataMeasurePredefined(PredefinedMeasure measure)
Helper constructor equivalent to:
static const SbString & getName(PredefinedMeasure measureEnum)
return the name of a predefined measure given its enum id
virtual ResultFormat getFormat() const
Returns the "result format" of the result data.
virtual const SbString & getMeasureName() const
Returns the name of this measure.
SoDataMeasurePredefined()
Default constructor.
PredefinedMeasure
Enumeration of all pre defined measure that can be used.
@ HISTOGRAM_QUANTILER5
Modifiable quantile of the histogram of intensity values within the object (default is 60%).
@ NEIGHBOR_COUNT
Number of neighbors located at a given distance from the object boundaries.
@ SEGMENT_HOLES_COUNT_2D
Number of holes of the particles represented by inner and outer chains.
@ HISTOGRAM_QUANTILE75
75% quantile of the histogram of intensity values within the object.
@ EULER_2D
1 minus the number of holes.
@ POLYGONE_PERIMETER_2D
Length of polygonal approximation of the object boundary.
@ GRAY_FLATNESS_3D
Same measure as FLATNESS_3D based on the covariance matrix weighted by the gray level intensities.
@ EIGEN_VECTOR2Z_3D
Z coordinate of the medium 3D eigenvector or smallest 2D eigenvector of the covariance matrix.
@ GRAY_EXTENT_MIN3_3D
Same measure as EXTENT_MIN3_3D based on the covariance matrix weighted by the gray level intensities.
@ WIDTH_ORIENTATION_2D
Angle of the minimum of the 2D Feret Diameters.
@ WIDTH_ORIENTATION_THETA_3D
Angle Theta of the minimum of the 3D Feret Diameters, in degrees (not radians) [-180,...
@ BOUNDING_BOX_DX
Width of the Bounding Box.
@ INTENSITY_MINIMUM
Minimum pixel intensity of the particle.
@ INTENSITY_COUNT
Number of different label intersecting each particle.
@ THICKNESS_ORIENTATION_PHI_3D
Angle Phi of the THICKNESS_3D in degrees (not radians) [-90,90].
@ LENGTH_OUTPUT_Y_3D
Y coordinate of the Length3d diameter output point.
@ GRAY_EIGEN_VECTOR2Z_3D
Same measure as EIGEN_VECTOR2Z_3D based on the covariance matrix weighted by the gray level intensiti...
@ LENGTH_ORIENTATION_PHI_3D
Angle Phi of the maximum of the Feret's Diameter, in degrees (not radians) [-90,90].
@ BREADTH_INPUT_Y_3D
Y coordinate of the Breadth3d diameter input point.
@ THICKNESS_OUTPUT_Z_3D
Z coordinate of the Thickness3d diameter output point.
@ EIGEN_VALUE3_3D
The smallest 3D eigenvalue of the covariance matrix.
@ GRAY_MOMENT2X
Centered moment term (XX) of the covariance matrix weighted by the gray level intensities.
@ VOXEL_COUNT
Number of voxels of the object.
@ FERET_DIAMETER_2D
Distribution of the length of Bounding Boxes oriented along the specified directions.
@ WIDTH_2D
Minimum of the 2D Feret Diameters.
@ GRAY_EIGEN_VECTOR3Y_3D
Same measure as EIGEN_VECTOR3Y_3D based on the covariance matrix weighted by the gray level intensiti...
@ INTENSITY_MAJORITY
The most represented pixel intensity value inside the particle.
@ HISTOGRAM_STDDEV
Standard deviation of the histogram of intensity values within the object.
@ BOUNDING_BOX_OZ
Z coordinate of the upper-left corner of the Bounding Box.
@ GRAY_EXTENT_MIN2
Same measure as EXTENT_MIN2 based on the covariance matrix weighted by the gray level intensities.
@ ORIENTATION1_THETA_3D
Theta orientation of the particle in degrees (not radians) [-180,+180], computed with the inertia mom...
@ LENGTH_OUTPUT_X_3D
X coordinate of the Length3d diameter output point.
@ ECCENTRICITY_2D
The eccentricity is defined as:
@ THICKNESS_OUTPUT_Y_3D
Y coordinate of the Thickness3d diameter output point.
@ LENGTH_ORIENTATION_2D
Angle of the maximum of the Feret Diameters.
@ INSIDE_CENTER_X_2D
X coordinate of the inside length center which is extracted from the skeleton of the object boundary ...
@ WIDTH_ORIENTATION_PHI_3D
Angle Phi of the minimum of the 3D Feret Diameters, in degrees (not radians) [0,90].
@ BREADTH_ORIENTATION_PHI_3D
Angle Phi of the BREADTH_3D in degrees (not radians) [-90,90].
@ EIGEN_VECTOR1Z_3D
Z coordinate of the largest eigenvector of the covariance matrix.
@ MOMENTXY
Centered moment term (XY) of the covariance matrix.
@ EIGEN_VECTOR2Y
Y coordinate of the medium 3D eigenvector or smallest 2D eigenvector of covariance matrix.
@ WIDTH_OUTPUT_Z_3D
Z coordinate of the Width3d diameter output point.
@ GRAY_EIGEN_VECTOR3X_3D
Same measure as EIGEN_VECTOR3X_3D based on the covariance matrix weighted by the gray level intensiti...
@ HISTOGRAM_QUANTILE10
10% quantile of the histogram of intensity values within the object.
@ EXTENT_MAX2
The maximal extent of the data in the direction of the medium (second) eigenvector of the covariance ...
@ GRAY_MOMENTYZ
Centered moment term (YZ) of the covariance matrix weighted by the gray level intensities.
@ MOMENTXZ
Centered moment term (XZ) of the covariance matrix.
@ FERET_OUTPUTY_2D
Y coordinate of output point for for Feret Distribution.
@ GRAY_EIGEN_VALUE2
Same measure as EIGEN_VALUE2 based on the covariance matrix weighted by the gray level intensities.
@ FIRST_POINTY
Y coordinate of the first point of each object encountered when scanning the input image from top to ...
@ INTENSITY_STANDARD_DEVIATION
Standard deviation of the pixel intensities.
@ BOUNDARY_VOXEL_COUNT
The perimeter measure designates the length of the object boundary.
@ EIGEN_VECTOR1X
X coordinate of the largest eigenvector of the covariance matrix.
@ GRAY_MOMENT2Y
Centered moment term (YY) of the covariance matrix weighted by the gray level intensities.
@ EIGEN_VECTOR3Z_3D
Z coordinate of the 3D smallest eigenvector of the covariance matrix.
@ GRAY_EXTENT_MAX3_3D
Same measure as EXTENT_MAX3_3D based on the covariance matrix weighted by the gray level intensities.
@ SHAPE_FACTOR_VA_3D
The shape factor defined as :
@ HISTOGRAM_VARIANCE
Variance of the histogram of intensity values within the object.
@ HISTOGRAM_PEAK
Peak of the histogram of intensity values within the object.
@ WIDTH_INPUT_Y_3D
Y coordinate of the Width3d diameter input point.
@ WIDTH_INPUT_X_3D
X coordinate of the Width3d diameter input point.
@ FIRST_POINTZ
Z coordinate of the first point of each object encountered when scanning the input image from top to ...
@ LENGTH_INPUT_X_3D
X coordinate of the Length3d diameter input point.
@ EXTENT_MAX1
The maximal extent of the data in the direction of the largest eigenvector of the covariance matrix.
@ HISTOGRAM_SKEWNESS
Skewness of the histogram of intensity values within the object.
@ RECTANGLE_CENTERY_2D
Y coordinate of the center of the Rectangle of Minimum Area computed on the polygonal approximation o...
@ GRAY_EIGEN_VALUE3_3D
Same measure as EIGEN_VALUE3_3D based on the covariance matrix weighted by the gray level intensities...
@ GRAY_ELONGATION
Same measure as ELONGATION based on the covariance matrix weighted by the gray level intensities.
@ INSIDE_LENGTH_2D
Length of the skeleton of the polygonal approximation of the object boundary.
@ HISTOGRAM_QUANTILE25
25% quantile of the histogram of intensity values within the object.
@ BREADTH_ORIENTATION_THETA_3D
Angle Theta of the BREADTH_3D in degrees (not radians) [0,180].
@ INTENSITY_MEAN
Average pixel intensity intensity.
@ FERET_INPUTX_2D
X coordinate of input point for Feret Distribution.
@ HISTOGRAM_QUANTILER4
Modifiable quantile of the histogram of intensity values within the object (default is 50%).
@ ORIENTATION2_PHI_3D
Phi minor orientation of the particle in degrees (not radians) [0,+90], computed with the inertia mom...
@ GRAY_EIGEN_VALUE1
Same measure as EIGEN_VALUE1 based on the covariance matrix weighted by the gray level intensities.
@ ELONGATION
The ratio of the medium and the largest eigenvalue of the covariance matrix.
@ BREADTH_INPUT_X_3D
X coordinate of the Breadth3d diameter input point.
@ LENGTH_INPUT_Y_3D
Y coordinate of the Length3d diameter input point.
@ MOMENT2Z
Centered moment term (ZZ) of the covariance matrix.
@ GRAY_EIGEN_VECTOR2X
Same measure as EIGEN_VECTOR2X based on the covariance matrix weighted by the gray level intensities.
@ FERET_DIAMETER_RATIO_3D
This shape factor is defined as (D/d), where d is the minimum Feret's Diameter and D is the maximum F...
@ GRAY_EIGEN_VECTOR2Y
Same measure as EIGEN_VECTOR2Y based on the covariance matrix weighted by the gray level intensities.
@ EXTENT_MIN2
The minimal extent of the data in the direction of the medium (second) eigenvector of the covariance ...
@ VOLUME_3D
Volume of the object.
@ FERET_OUTPUTX_2D
X coordinate of output point for for Feret Distribution.
@ ENCLOSING_ELLIPSE_DIFFERENCE_2D
Difference between the area A of the studied particle and the area of its enclosing ellipse EA ( Unio...
@ HOLES_COUNT_2D
Number of holes of the particle.
@ ORIENTATION1_PHI_3D
Phi orientation of the particle in degrees (not radians) [0,+90], computed with the inertia moments.
@ CONVEX_PERIMETER_2D
Perimeter of the convex hull of the polygonal approximation of the object boundary.
@ BREADTH_OUTPUT_Y_3D
Y coordinate of the Breadth3d diameter output point.
@ ENCLOSING_CIRCLE_DIFFERENCE_2D
Difference between the object area A and the area of the enclosing circle EA ( Union(A,...
@ SMOOTH_CIRCLE_DIFFERENCE_2D
Difference between the object area A and the area of the smoothing circle AS ( Union(A,...
@ THICKNESS_INPUT_X_3D
X coordinate of the Thickness3d diameter input point.
@ EQUIVALENT_DIAMETER
The diameter of the circular particle of same area in 2D:
@ HISTOGRAM_MEAN
Mean of the histogram of intensity values within the object.
@ MOMENT2Y
Centered moment term (YY) of the covariance matrix.
@ NEIGHBOR_DISTANCE_2D
Gives the shortest edge to edge distance from the current object to its nearest neighbor.
@ BOUNDING_BOX_OY
Y coordinate of the upper-left corner of the Bounding Box.
@ VOLUME_FRACTION
Ratio between the label area and the image area in 2D:
@ ORIENTATION_2D
Orientation of the particle in degrees (not radians) [-90,+90] computed with the inertia moments.
@ THICKNESS_OUTPUT_X_3D
X coordinate of the Thickness3d diameter output point.
@ GRAY_BARYCENTERX
X coordinate of the center of gravity weighted by the gray level intensities.
@ GRAY_EXTENT_MAX2
Same measure as EXTENT_MAX2 based on the covariance matrix weighted by the gray level intensities.
@ POLYGONE_AREA_2D
Area of the polygonal approximation of the object boundary.
@ EXTENT_MIN1
The minimal extent of the data in the direction of the largest eigenvector of the covariance matrix.
@ GRAY_BARYCENTERY
Y coordinate of the center of gravity weighted by the gray level intensities.
@ WIDTH_INPUT_Z_3D
Z coordinate of the Width3d diameter input point.
@ GRAY_EXTENT_MIN1
Same measure as EXTENT_MIN1 based on the covariance matrix weighted by the gray level intensities.
@ AREA_3D
Area of the object boundary.
@ RECTANGLE_ORIENTATION_2D
Orientation of the Rectangle of Minimum Area computed on the polygonal approximation of the object bo...
@ EIGEN_VECTOR3X_3D
X coordinate of the 3D smallest eigenvector of the covariance matrix.
@ BOUNDING_BOX_DY
Height of the Bounding Box.
@ HISTOGRAM_QUANTILER6
Modifiable quantile of the histogram of intensity values within the object (default is 70%).
@ ORIENTATION2_THETA_3D
Theta minor orientation of the particle in degrees (not radians) [-180,+180], computed with the inert...
@ EXTENT_MIN3_3D
The minimal extent of the data in the direction of the smallest eigenvector of the covariance matrix.
@ EXTENT_MAX3_3D
The maximal extent of the data in the direction of the smallest eigenvector of the covariance matrix.
@ LENGTH_ORIENTATION_THETA_3D
Angle Theta of the maximum of the Feret's Diameter, in degrees (not radians) [0,180].
@ SQUARE_INTENSITY_INTEGRAL
Sum of the squares of pixel intensity values.
@ GRAY_EIGEN_VECTOR1X
Same measure as EIGEN_VECTOR1X based on the covariance matrix weighted by the gray level intensities.
@ LENGTH_2D
Maximum of the Feret Diameters.
@ EIGEN_VECTOR3Y_3D
Y coordinate of the 3D smallest eigenvector of the covariance matrix.
@ LENGTH_3D
Maximum of the Feret Diameters.
@ RECTANGLE_WIDTH_2D
Width of the Rectangle of Minimum Area computed on the polygonal approximation of the object boundary...
@ HISTOGRAM_QUANTILE50
50% quantile of the histogram of intensity values within the object.
@ THICKNESS_3D
Largest distance between two parallel lines touching the object without intersecting it and lying in ...
@ GRAY_MOMENTXY
Centered moment term (XY) of the covariance matrix weighted by the gray level intensities.
@ ANISOTROPY
1 minus the ratio of the smallest to the largest eigenvalue of the covariance matrix.
@ BREADTH_3D
Largest distance between two parallel lines touching the object without intersecting it and lying in ...
@ BOUNDING_BOX_DZ
Depth of the Bounding Box.
@ HISTOGRAM_QUANTILER2
Modifiable quantile of the histogram of intensity values within the object (default is 30%).
@ CROFTON_PERIMETER_2D
For each of the 8 intercept measures, the diametral variation is the product of intercept with the di...
@ BARYCENTERZ
Z coordinate of the center of gravity.
@ THICKNESS_INPUT_Y_3D
Y coordinate of the Thickness3d diameter input point.
@ BREADTH_OUTPUT_Z_3D
Z coordinate of the Breadth3d diameter output point.
@ HISTOGRAM_KURTOSIS
Kurtosis of the histogram of intensity values within the object.
@ FLATNESS_3D
The ratio of the smallest and the medium eigenvalue of the covariance matrix.
@ EIGEN_VALUE1
The largest eigenvalue of the covariance matrix.
@ CONVEX_AREA_2D
Area of the convex hull of the polygonal approximation of the object boundary.
@ MOMENTYZ
Centered moment term (YZ) of the covariance matrix.
@ SHAPE_FACTOR_AP_2D
Circularity Shape factor, close to 1 for a disk, and lower for star-shaped objects:
@ GRAY_EXTENT_MAX1
Same measure as EXTENT_MAX1 based on the covariance matrix weighted by the gray level intensities.
@ RECTANGLE_LENGTH_2D
Length of the Rectangle of Minimum Area computed on the polygonal approximation of the object boundar...
@ EIGEN_VECTOR2X
X coordinate of the medium 3D eigenvector or smallest 2D eigenvector of the covariance matrix.
@ BREADTH_INPUT_Z_3D
Z coordinate of the Breadth3d diameter input point.
@ GRAY_MOMENT2Z
Centered moment term (ZZ) of the covariance matrix weighted by the gray level intensities.
@ GRAY_EIGEN_VECTOR1Z_3D
Same measure as EIGEN_VECTOR1Z_3D based on the covariance matrix weighted by the gray level intensiti...
@ BOUNDING_BOX_OX
X coordinate of the upper-left corner of the Bounding Box.
@ WIDTH_OUTPUT_Y_3D
Y coordinate of the Width3d diameter output point.
@ BARYCENTERX
X coordinate of the center of gravity.
@ BARYCENTERY
Y coordinate of the center of gravity.
@ HISTOGRAM_QUANTILER3
Modifiable quantile of the histogram of intensity values within the object (default is 40%).
@ WIDTH_3D
Minimum of the 3D Feret Diameters.
@ RECTANGLE_CENTERX_2D
X coordinate of the center of the Rectangle of Minimum Area computed on the polygonal approximation o...
@ VOXEL_FACE_AREA_3D
Sum of voxel surfaces that are on the outside of each connected component.
@ HISTOGRAM_QUANTILE90
90% quantile of the histogram of intensity values within the object.
@ THICKNESS_ORIENTATION_THETA_3D
Angle Theta of the THICKNESS_3D in degrees (not radians) [0,180].
@ GRAY_BARYCENTERZ
Z coordinate of the center of gravity weighted by the gray level intensities.
@ LENGTH_OUTPUT_Z_3D
Z coordinate of the Length3d diameter output point.
@ GRAY_ANISOTROPY
Same measure as ANISOTROPY based on the covariance matrix weighted by the gray level intensities.
@ FIRST_POINTX
X coordinate of the first point of each object encountered when scanning the input image from top to ...
@ SYMMETRY_2D
The measure of symmetry determines the trend of a shape to be symmetric or not.
@ MOMENT2X
Centered moment term (XX) of the covariance matrix.
@ LENGTH_INPUT_Z_3D
Z coordinate of the Length3d diameter input point.
@ EIGEN_VALUE2
The medium 3D eigenvalue or smallest 2D eigenvalue of the covariance matrix.
@ FERET_INPUTY_2D
Y coordinate of input point for for Feret Distribution.
@ EIGEN_VECTOR1Y
Y coordinate of the largest eigen vector of the covariance matrix.
@ BREADTH_OUTPUT_X_3D
X coordinate of the Breadth3d diameter output point.
@ HISTOGRAM_QUANTILER1
Modifiable quantile of the histogram of intensity values within the object (default is 20%).
@ INTENSITY_INTEGRAL
Sum of the of pixel intensity values.
@ GRAY_MOMENTXZ
Centered moment term (XZ) of the covariance matrix weighted by the gray level intensities.
@ WIDTH_OUTPUT_X_3D
X coordinate of the Width3d diameter output point.
@ RUGOSITY_2D
The factor of rugosity determines if the contour of a shape is smooth or not.
@ INTENSITY_MAXIMUM
Maximum pixel intensity of the particle.
@ THICKNESS_INPUT_Z_3D
Z coordinate of the Thickness3d diameter input point.
@ BORDER_VOXEL_COUNT
Some components of the image volume might be intersected by the Bounding Box of the image volume.
@ GRAY_EIGEN_VECTOR1Y
Same measure as EIGEN_VECTOR1Y based on the covariance matrix weighted by the gray level intensities.
@ GRAY_EIGEN_VECTOR3Z_3D
Same measure as EIGEN_VECTOR3Z_3D based on the covariance matrix weighted by the gray level intensiti...
Field containing an enumerated value.
Definition SoSFEnum.h:89