Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoGrayscaleCorrelationProcessing2d.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_SOGRAYSCALECORRELATIONPROCESSING2D_IMAGE_FILTER_H_
25#define _SO_SOGRAYSCALECORRELATIONPROCESSING2D_IMAGE_FILTER_H_
26#include <ImageViz/SoImageViz.h>
31
34
164{
165
167
168public:
171class SoDEPRECATED SbCorrelationDetail
176 {
177 public:
178
179 SbCorrelationDetail(SoImageAnalysisResult* analysis, int sequenceIndex=0);
180
182 inline float getMinComputed() const
183 { return m_minComputed; }
184
186 inline float getMaxComputed() const
187 { return m_maxComputed; }
188
190 inline float getMatchingPositionX() const
191 { return m_matchingPositionX; }
192
194 inline float getMatchingPositionY() const
195 { return m_matchingPositionY; }
196
198 inline float getMinTheoretical() const
199 { return m_minTheoretical; }
200
202 inline float getMaxTheoretical() const
203 { return m_maxTheoretical; }
204
205 private:
206
208
209 float m_minComputed;
210 float m_maxComputed;
211 float m_matchingPositionX;
212 float m_matchingPositionY;
213 float m_minTheoretical;
214 float m_maxTheoretical;
215 };
216
224 SIGNCHANGE = 0,
228 SUBSTRACT = 1,
232 MULTIPLY = 2
233 };
234
239
242
245
254 OFFSET_1 = 0,
258 OFFSET_2 = 1,
262 OFFSET_4 = 2,
266 OFFSET_8 = 3
267 };
268
273
282 DIRECT = 0,
286 MEAN = 1,
290 VARIANCE = 2,
294 MEAN_VARIANCE = 3
295 };
296
301
304
307
308
309private:
312
313};
314
315#endif
#define SO_IMAGEVIZ_ENGINE_HEADER(className)
float getMaxComputed() const
The maximum correlation computed score before normalization.
float getMatchingPositionY() const
The y coordinate of the best matching position in the output image.
float getMaxTheoretical() const
The maximum score theoretically possible.
float getMinTheoretical() const
The minimum score theoretically possible.
float getMatchingPositionX() const
The x coordinate of the best matching position in the output image.
SbCorrelationDetail(SoImageAnalysisResult *analysis, int sequenceIndex=0)
float getMinComputed() const
The minimum correlation computed score before normalization.
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> SoGrayscaleCorrelation...
SoSFEnum correlationCriterion
Select the correlation operator.
SoGrayscaleCorrelationProcessing2d()
Constructor.
SoSFEnum offsetMode
Select the calculation offset (number of pixels).
SoSFImageDataAdapter inKernelImage
The correlation kernel.
OffsetMode
This field is ignored in the multiply correlation mode.
SoImageVizEngineOutput< SoSFImageDataAdapter, SoImageDataAdapter * > outMatchingImage
The output correlation image.
SoSFEnum correlationMode
Select the normalization mode for correlation.
CorrelationMode
See Correlation and for each SoGrayscaleCorrelationProcessing2d::CorrelationCriterion.
SoImageVizEngineAnalysisOutput< SbCorrelationDetail > outResult
The correlation matching results.
SoSFImageDataAdapter inGrayImage
The input grayscale image.
<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> Image Processing outpu...
Field containing an enumerated value.
Definition SoSFEnum.h:89
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Field containing an So...