00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 #ifndef _SO_PATTERN_LEARNING_2D_PROCESSING_H_ 00021 #define _SO_PATTERN_LEARNING_2D_PROCESSING_H_ 00022 #ifdef OIV_FEI_INTERNAL 00023 00024 #include <Inventor/Fields/SoSFFloat.h> 00025 #include <Inventor/Fields/SoMFFloat.h> 00026 #include <Inventor/Fields/SoSFVec2i32.h> 00027 #include <Inventor/Fields/SoMFVec2f.h> 00028 #include <Inventor/Fields/SoMFVec2f.h> 00029 #include <Inventor/Fields/SoSFVec2f.h> 00030 00031 #include <ImageViz/SoImageViz.h> 00032 #include <ImageViz/Engines/SoImageVizEngine.h> 00033 #include <ImageViz/Engines/SoSubImageVizEngine.h> 00034 #include <ImageViz/Engines/SoImageVizEngineAnalysisOutput.h> 00035 #include <ImageViz/Fields/SoSFImageDataAdapter.h> 00036 #include <ImageViz/Fields/SoSFPatternModel2d.h> 00037 00042 class SoPatternLearning2dProcessing : public SoImageVizEngine 00043 { 00044 SO_IMAGEVIZ_ENGINE_HEADER( SoPatternLearning2dProcessing ); 00045 00046 public: 00050 SoPatternLearning2dProcessing(); 00051 00055 SoSFImageDataAdapter inPatternImage; 00056 00061 SoSFImageDataAdapter inMaskImage; 00062 00066 SoSFFloat gaussianKernelSize; 00067 00076 SoSFVec2f thresholdValues; 00077 00083 SoSFVec2f originCoordinateSystem; 00084 00090 SoSFFloat thetaCoordinateSystem; 00091 00096 SoImageVizEngineOutput<SoSFImageDataAdapter, SoImageDataAdapter*> outEdges; 00097 00101 SoImageVizEngineOutput<SoSFPatternModel2d, SoPatternModel2d*> outPatternModel; 00102 00103 private: 00107 virtual ~SoPatternLearning2dProcessing(); 00108 00109 }; 00110 00111 #endif // OIV_FEI_INTERNAL 00112 #endif // _SO_PATTERN_LEARNING_2D_PROCESSING_H_ 00113