1

I classified my project and got an ESRI shapefile with points in it. Those points are hand made samples with the right class assigned to them. Now I need to use those samples to check my own classification via AA - but how do I use this shapefile?

Loaded it as a thematic layer but I can not interact with it in the AA section of eCognition.

4

To calculate overall accuracy assessment in eCognition using shapefiles you need to do following steps:

First, add shapefiles in to eCognition as thematic layer by modifying the project. (make sure that points has the same projected coordinates system as your classification image)

Further two steps you can find on ecognition user guide "Creating Samples Based on a Shapefile" (img_0 in attached), but instead of 'assign class' I have used 'assign class by thematic layer' (see img_1). In my shapefiles attribute table I have three attributes OID, CIT and class names (img_2). CIT has the var. '1' for all. To extract shapefiles (in my case points) in 'condition field' i have chose [CID:Thematic Layer 1 = 1] and for thematic attribute layer 'class_name'.

Next process is "classified image objects to samples" (img_3).

So from this samples i have created TTA mask and calculate accuracy assessment via error matrix (img_4), for image object level was chosen 'classification level'.

Hope it will be helpful :)

img_1:
img_0

img_2:
img_1

  • I don'y know why but i cannot add all images here, it tell me that i need 10 reputations, which i guess i don't have, so here is the link to the images and another answer that i have provided in researchgate. How to create samples from a shapefile in eCognition? - ResearchGate. Available from: researchgate.net/post/… [accessed Jun 21, 2016]. – Gulnur Khalmurzayeva Jun 21 '16 at 20:40
  • You should have sufficient reputation now... – Evil Genius Jun 22 '16 at 10:58

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.