Hi there,
Is there a way to switch the key property of any raster to "segmented" in ArcGis Pro 2.7?
Hi,
You may write a small python script to compute segment attributes in ArcGIS Pro.
Refer example of Compute Segment Attributes script.
import arcpy from arcpy.sa import * compute_att = ComputeSegmentAttributes( "c:/test/moncton_seg.tif", "c:/test/moncton.tif", "COLOR;MEAN;STD;COUNT;COMPACTNESS;RECTANGULARITY") compute_att.save("c:/test/moncton_computeseg.tif")
You can use the Set Raster Properties tool to set the Segmented key to True.