I have a raster image containing values ranging from 1 to 10 in Integer format.
I want to count the number of pixel with value = 1.
Is there any method in Arcpy which returns the pixel count if given raster and value as input?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community