GrayValueAnalysisResults
Results for gray value analyses (mask or surface based).
Import
import ScriptingApi as api
# Access the class
# GrayValueAnalysisResults is available via api.GrayValueAnalysisResults
Properties
type
Analysis category indicating the gray value variant (mask or surface based). Use api.AnalysisType.GrayValueMask
Type: AnalysisType
analysis_name
Name of the analysis entry.
Type: str
actual_object_name
Name of the object on which gray values will be sampled. It can be a mask or surface.
Type: str
volume_object_name
Name of the volume object used to sample gray values.
Type: str
range
Accepted gray value range [min, max] used for statistics.
Type: list
mask_preview_quality
Mesh quality preset used to generate preview geometry for mask inputs. Use api.MaskPreviewQuality.Optimal
Type: MaskPreviewQuality
statistics
Summary statistics for the computed gray value distribution. Use api.GrayValueAnalysisStatistics()
Type: GrayValueAnalysisStatistics
samples
Individual sampled gray value measurements collected during analysis. A list of api.GrayValueSample()
Type: list