0

I have a georeferenced JPEG image(as shown below) enter image description here

I want to calculate the area of regions covered by red color and regions covered by blue color.

I tried maximum likelihood classification using ArcMAP. I gave training sites from blue-colored regions as class 1 and training sites from red-colored regions as class 2 and training sites from white-colored regions as class 3.

The classification output looks like below.. enter image description here

The output has only 2 classes white and (red and blue) combined.

Though i gave different training sites for blue and red, the classifier combined red and blue. Why is that?

Is there anyother way to solve this issue?

  • Try increasing the number of training sites for both red and blue (in other words add more pixels for red and blue) and make them consistent with the number of pixels of white training site. then try again ML classification. – ahmadhanb Feb 13 at 11:01
1

I tried different classification techniques with different training site. The output clas was always red and blue merged together

But surprisingly "Class probability" of ArcGIS gave the output of only blue colored regions.

So I calculated the total regions from maximum likelihood and blue colored regions from class probability. I just had to subtract both to get red colored regions.

0

If you can figure out the number of red, blue, and white pixels, maybe via an attribute table, then the layer Properties can give you the size of your pixel, and from there it's a simple multiplication task:

# of <red/blue/white> pixels * pixel with * pixel height.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.