Class SoImageVizEngine
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
SoAbsoluteValueProcessing,SoAdaptiveHistogramEqualizationProcessing,SoAdaptiveThresholdingProcessing,SoAddObjectToLabelProcessing,SoApplyGrayscaleLutProcessing,SoApplyMorphologicalLutProcessing2d,SoApplyMorphologicalLutProcessing3d,SoAreaQuantification2d,SoArithmeticImageProcessing,SoArithmeticValueProcessing,SoAssignLabelProcessing,SoAutoCorrelationProcessing2d,SoAutoIntensityClassificationProcessing,SoAutoSegmentation3PhasesProcessing,SoAutoThresholdingProcessing,SoAutoThresholdingQuantification,SoAverageObjectAreaPerSliceQuantification3d,SoAverageObjectNumberPerSliceQuantification3d,SoAverageObjectThicknessQuantification3d,SoAverageSpaceThicknessQuantification3d,SoBackgroundImageProcessing2d,SoBilateralFilterProcessing,SoBinaryCorrelationProcessing2d,SoBitShiftProcessing,SoBlendWithImageProcessing,SoBlendWithValueProcessing,SoBorderKillProcessing,SoBoxFilterProcessing,SoCannyEdgeProcessing,SoCartesianToPolarProcessing2d,SoCenterLineApproximation3d,SoCentroidPathTortuosityQuantification3d,SoCentroidProcessing2d,SoChamferDistanceMapProcessing2d,SoChamferDistanceMapProcessing3d,SoChessboardDistanceMapProcessing,SoClosestBoundaryPointsProcessing2d,SoClosestBoundaryPointsProcessing3d,SoClosingBallByReconstructionProcessing3d,SoClosingBallProcessing3d,SoClosingByReconstructionProcessing,SoClosingCubeProcessing,SoClosingDiskByReconstructionProcessing2d,SoClosingDiskProcessing2d,SoClosingDiskProcessing3d,SoClosingLineMinimumProcessing,SoClosingLineProcessing2d,SoClosingLineProcessing3d,SoClosingSquareColorProcessing2d,SoColorAntialiasingProcessing2d,SoColorGetPlaneProcessing2d,SoColorSpaceConversionProcessing,SoColorThresholdingProcessing,SoColorToGrayscaleProcessing,SoColorToLightnessProcessing,SoCombineByMaskProcessing,SoCompareImageQuantification,SoCompareValueQuantification,SoComplexCenteredFFTInverseProcessing,SoComplexCenteredFFTProcessing,SoComplexFFTInverseProcessing,SoComplexFFTProcessing,SoConvertImageProcessing,SoConvexHullProcessing2d,SoConvolutionWithImageProcessing2d,SoCooccurrenceQuantification2d,SoCopyImageProcessing,SoCropImageProcessing,SoCurvatureDrivenDiffusionProcessing,SoCurvatureIntegralsQuantification3d,SoDeblurProcessing2d,SoDecorrelationStretchProcessing2d,SoDegreeOfAnisotropyQuantification,SoDeinterlaceFramesProcessing2d,SoDelineateProcessing,SoDespeckleProcessing,SoDijkstraShortestPathProcessing2d,SoDilationBallProcessing3d,SoDilationCubeProcessing,SoDilationDiskProcessing2d,SoDilationDiskProcessing3d,SoDilationLineProcessing2d,SoDilationLineProcessing3d,SoDilationSquareColorProcessing2d,SoDirectionalBlendProcessing2d,SoDistanceMeanQuantification2d,SoDoBFilterProcessing,SoEigenDecompositionProcessing2d,SoEigenDecompositionProcessing3d,SoEigenvaluesToStructurenessProcessing2d,SoEigenvaluesToStructurenessProcessing3d,SoElasticRegistrationProcessing2d,SoEndPointsProcessing2d,SoEndPointsProcessing3d,SoErosionBallProcessing3d,SoErosionCubeProcessing,SoErosionDiskProcessing2d,SoErosionDiskProcessing3d,SoErosionLineProcessing2d,SoErosionLineProcessing3d,SoErosionSquareColorProcessing2d,SoEuclideanDistanceMapProcessing3d,SoExpandLabelsProcessing,SoExtremaImpositionProcessing,SoFillHolesProcessing2d,SoFillHolesProcessing3d,SoFillImageBorderProcessing3d,SoFilterAnalysisQuantification,SoFilterByMeasureProcessing,SoFlipAxisProcessing2d,SoFlipAxisProcessing3d,SoFloodFillThresholdProcessing,SoFlowInpaintingProcessing,SoFractalDimensionQuantification,SoFragmentationIndexQuantification,SoGaborFilteringProcessing2d,SoGaussianBlurFilterProcessing,SoGaussianDerivativeProcessing,SoGaussianGradientTensorProcessing2d,SoGaussianGradientTensorProcessing3d,SoGeodesicDistanceMapProcessing,SoGeodesicPropagationProcessing2d,SoGetObliquePlaneFromVolumeProcessing3d,SoGetPlaneFromVolumeProcessing3d,SoGlobalAnalysisQuantification,SoGradientLocalMaximaProcessing2d,SoGradientLocalMaximaProcessing3d,SoGradientMagnitudeProcessing2d,SoGradientMagnitudeProcessing3d,SoGradientOperatorProcessing2d,SoGradientOperatorProcessing3d,SoGrayscaleCorrelationProcessing2d,SoGrayscaleResconstructionProcessing,SoGrayscaleToColorProcessing,SoGroupCloseLabelslProcessing2d,SoHessianMatrixProcessing2d,SoHessianMatrixProcessing3d,SoHExtremaProcessing,SoHExtremaWatershedProcessing,SoHistogramEqualizationProcessing,SoHysteresisThresholdingProcessing,SoImageCurvatureProcessing2d,SoImageCurvatureProcessing3d,SoImageFormulaProcessing,SoImagePreAlignmentTransform3d,SoImageRegistrationTransform,SoImageStackProjectionProcessing3d,SoImageVolumeQuantification,SoInertiaMomentProcessing2d,SoInfluenceZonesProcessing,SoIntensityBinHistogramQuantification,SoIntensityExtremaQuantification,SoIntensityHistogramQuantification,SoIntensityIntegralQuantification2d,SoIntensityIntegralQuantification3d,SoIntensityStatisticsQuantification,SoInteriorPointsProcessing2d,SoInterlaceFramesProcessing2d,SoInvertImageProcessing,SoIsolatedPointsProcessing2d,SoIsolatedPointsProcessing3d,SoLabelAnalysisQuantification,SoLabelFilteringAnalysisQuantification,SoLabelFilteringProcessing,SoLabelingProcessing,SoLabelInterfacesProcessing,SoLocalAdaptiveThresholdProcessing,SoLocalMaximaQuantification,SoLocalStatisticsProcessing,SoLocalThicknessMapProcessing3d,SoLogicalImageProcessing,SoLogicalNotProcessing,SoLogicalValueProcessing,SoMajorityFilterProcessing,SoMarkerBasedWatershedProcessing,SoMaskedStatisticsQuantification,SoMaskImageProcessing,SoMatchContrastProcessing,SoMathematicalFunctionProcessing,SoMaxAbsoluteValueProcessing2d,SoMeasureGaussianNoiseQuantification,SoMeasureImageProcessing,SoMedianFilterProcessing,SoMorphologicalGradientProcessing,SoMorphologicalLaplacianProcessing,SoMultiscaleStructureEnhancementProcessing2d,SoMultiscaleStructureEnhancementProcessing3d,SoNagaoFilterProcessing2d,SoNagaoFilterProcessing3d,SoNonLocalMeansFilterProcessing,SoObjectBoundariesProcessing,SoObjectBoundaryAreaQuantification,SoObjectCountQuantification,SoObjectImageRatioQuantification,SoObjectLinearDensityQuantification3d,SoObjectSpecificSurfaceQuantification,SoObjectSurfaceDensityQuantification,SoObjectToRegionProcessing2d,SoObjectToSegmentApproximation2d,SoObjectVolumeQuantification,SoOpeningBallByReconstructionProcessing3d,SoOpeningBallProcessing3d,SoOpeningByReconstructionProcessing,SoOpeningCubeProcessing,SoOpeningDiskByReconstructionProcessing2d,SoOpeningDiskProcessing2d,SoOpeningDiskProcessing3d,SoOpeningLineMaximumProcessing,SoOpeningLineProcessing2d,SoOpeningLineProcessing3d,SoOpeningSquareColorProcessing2d,SoPolarToCartesianProcessing2d,SoPorosityPercentageQuantification3d,SoPruneProcessing2d,SoPruningProcessing2d,SoPruningProcessing3d,SoRadialGradientCenteredProcessing2d,SoRadialGradientCenteredProcessing3d,SoRadialGradientContourProcessing2d,SoRadialGradientContourProcessing3d,SoRadialGradientLabelProcessing2d,SoRadialGradientLabelProcessing3d,SoRandomImageGeneration,SoRandomSphereGeneration3d,SoReconstructionFromMarkersProcessing,SoRecursiveExponentialFilterProcessing,SoRecursiveLaplacianProcessing,SoRegionalExtremaProcessing,SoRegionToObjectProcessing2d,SoRemoveSmallHolesProcessing,SoRemoveSmallSpotsProcessing,SoReorderLabelsProcessing,SoResampleElasticProcessing2d,SoResampleImageProcessing3d,SoRescaleIntensityProcessing,SoResetImageProcessing,SoRidgeDetectionProcessing,SoRotateAroundZProcessing2d,SoRotateProcessing2d,SoRotateProcessing3d,SoSampleImageProcessing,SoScaleByFactorProcessing,SoScaleImageToSizeProcessing,SoSeparateObjectsProcessing,SoSetPlaneToVolumeProcessing3d,SoShadeProcessing2d,SoShadingCorrectionProcessing,SoSieveLabelingProcessing,SoSigmaFilterProcessing,SoSkeletonProcessing2d,SoSNNFilterProcessing,SoStructureModelIndexQuantification3d,SoSupervisedTextureClassificationProcessing2d,SoSupervisedTextureClassificationProcessing3d,SoSwapAxisProcessing2d,SoSwapAxisProcessing3d,SoSwapQuadrantsProcessing,SoTensorVotingProcessing2d,SoThresholdingByCriterionProcessing,SoThresholdingProcessing,SoTimeMapProcessing,SoTopHatProcessing,SoTotalImageBoundaryAreaQuantification,SoTranslateProcessing,SoTriplePointsProcessing2d,SoUltimateErosionProcessing,SoUnsharpMaskingProcessing,SoZeroCrossingsProcessing2d
public class SoImageVizEngine extends SoEngine
Abstract base class for all ImageViz engines.- See Also:
SoEngine
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoImageVizEngine.ComputeModesCompute Mode This enum specifies whether the main input will be interpreted as a 3D volume or a stack of 2D images for processing.static classSoImageVizEngine.EventArgStructure given to callback when an event is raised.static classSoImageVizEngine.Neighborhood3dsNeighborhood Connectivity 3D.-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SbEventHandler<SoImageVizEngine.EventArg>onBeginEvent raised when the processing begins.SbEventHandler<SoImageVizEngine.EventArg>onEndEvent raised when processing ends and the result is available.SbEventHandler<SoImageVizEngine.EventArg>onProgressEvent raised while processing is running.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortEvaluate()Abort current processing as soon as possible.booleanisEvaluating()Returns true if the engine evaluation is in progress.voidstartEvaluate()Evaluate engine and dependencies in another thread without blocking the current one.voidwaitEvaluate()Wait for the end of engine evaluation.-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
onBegin
public final SbEventHandler<SoImageVizEngine.EventArg> onBegin
Event raised when the processing begins.
-
onEnd
public final SbEventHandler<SoImageVizEngine.EventArg> onEnd
Event raised when processing ends and the result is available. Important note: Do not usewaitEvaluate()method in this event because this can cause a dead-lock during evaluation.
-
onProgress
public final SbEventHandler<SoImageVizEngine.EventArg> onProgress
Event raised while processing is running. Nb: This event is regularly called during processing. It can be used to observe progression of the computing (e.g. to display a progress bar).
-
-
Method Detail
-
isEvaluating
public boolean isEvaluating()
Returns true if the engine evaluation is in progress.
-
abortEvaluate
public void abortEvaluate()
Abort current processing as soon as possible. If no processing is currently running, do nothing.
-
waitEvaluate
public void waitEvaluate()
Wait for the end of engine evaluation. This method blocks the current thread.
-
startEvaluate
public void startEvaluate()
Evaluate engine and dependencies in another thread without blocking the current one. EventonEndis raised when processing ends and result is available.
-
-