Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoCooccurrenceQuantification2d.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 : ImageViz-Generator (Sep 2013)
22** Modified by : ImageViz-Generator
23**=======================================================================*/
24#ifndef _SO_COOCCURRENCE_IMAGE_FILTER_H_
25#define _SO_COOCCURRENCE_IMAGE_FILTER_H_
26#include <ImageViz/SoImageViz.h>
30
34
35class SoDEPRECATED SoCooccurrenceQuantification2d : public SoImageVizEngine
121{
122
124
125public:
128class SoDEPRECATED SbCoocurrrenceDetail
133 {
134 public:
135
136 SbCoocurrrenceDetail(SoImageAnalysisResult* analysis, int sequenceIndex=0);
137
139 inline unsigned long getPixelNumber() const
140 { return m_pixelNumber; }
141
143 inline float getASM() const
144 { return m_ASM; }
145
147 inline float getContrast() const
148 { return m_contrast; }
149
151 inline float getCorrelation() const
152 { return m_correlation; }
153
155 inline float getSSV() const
156 { return m_SSV; }
157
159 inline float getIDM() const
160 { return m_IDM; }
161
163 inline float getSumAverage() const
164 { return m_sumAverage; }
165
167 inline float getSumVariance() const
168 { return m_sumVariance; }
169
171 inline float getSumEntropy() const
172 { return m_sumEntropy; }
173
175 inline float getEntropy() const
176 { return m_entropy; }
177
179 inline float getDifferenceVariance() const
180 { return m_differenceVariance; }
181
183 inline float getDifferenceEntropy() const
184 { return m_differenceEntropy; }
185
187 inline float getCorrelationInfo1() const
188 { return m_correlationInfo1; }
189
191 inline float getCorrelationInfo2() const
192 { return m_correlationInfo2; }
193
194 private:
195
197
198 unsigned long m_pixelNumber;
199 float m_ASM;
200 float m_contrast;
201 float m_correlation;
202 float m_SSV;
203 float m_IDM;
204 float m_sumAverage;
205 float m_sumVariance;
206 float m_sumEntropy;
207 float m_entropy;
208 float m_differenceVariance;
209 float m_differenceEntropy;
210 float m_correlationInfo1;
211 float m_correlationInfo2;
212 };
213
216
219
222
225
228
229
230private:
233
234};
235
236#endif
#define SO_IMAGEVIZ_ENGINE_HEADER(className)
float getIDM() const
The inverse difference moment (homogeneity).
float getDifferenceVariance() const
The difference variance indicator.
float getSSV() const
The sum of square variance indicator.
float getCorrelationInfo2() const
The correlation information measure 2.
float getASM() const
The angular second moment indicator.
SbCoocurrrenceDetail(SoImageAnalysisResult *analysis, int sequenceIndex=0)
unsigned long getPixelNumber() const
The number of processed pixels.
float getDifferenceEntropy() const
The difference entropy indicator.
float getCorrelationInfo1() const
The correlation information measure 1.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> SoCooccurrenceQuantifi...
SoCooccurrenceQuantification2d()
Constructor.
SoSFImageDataAdapter inImage
The input image.
SoSFImageDataAdapter inMaskImage
The binary image for the mask or empty (command looks for only inside).
SoImageVizEngineAnalysisOutput< SbCoocurrrenceDetail > outResult
The output measure result.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> class to handle image ...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Image Processing outpu...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Abstract base class fo...
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Field containing an So...
Field containing a int32_t integer.
Definition SoSFInt32.h:80