Hi there,
Is there a way to switch the key property of any raster to "segmented" in ArcGis Pro 2.7?
You can use the Set Raster Properties tool to set the Segmented key to True.
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")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.