McMeasurementsAddFeaturesAsManualMeasurements Method |
![]() |
Namespace: MediaCy.Addins.Measurements
Public Sub AddFeaturesAsManualMeasurements ( srcFeatures As McFeatures )
'measure dark objects ActiveImage.RegionFeatures.Threshold.AutoFindPhase = mcfpDarkest 'threshold image and measure all objects above the threshold ActiveImage.RegionFeatures.Threshold.Execute 'add these objects as manual measurements (Polygons) ManualMeasurements.AddFeaturesAsManualMeasurements ActiveImage.RegionFeatures