Forum

Author Topic: Reclassify Objects by Bordering Class  (Read 1047 times)

Ashura

  • Newbie
  • *
  • Posts: 10
    • View Profile
Reclassify Objects by Bordering Class
« on: July 21, 2018, 06:47:01 PM »
Hi all,

Apologies if there is already a question on this, but I cannot seem to find one.

I have two classes of objects. I would like to reclassify individual objects of ClassA to Class B, if the ClassA objects are surrounded on 4 sides by objects of ClassB. So basically, filling in gaps of stand-alone ClassA objects.

I have been trying a few different things - in particular relative border ClassB ... however I cannot seem to get ideal results. The units as well for these things have no descriptions in most cases so its just been a bunch of random trial and error. 

Can anyone recommend the proper approach? Much appreciated,

Alex.

Ashura

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Reclassify Objects by Bordering Class
« Reply #1 on: July 22, 2018, 10:14:21 PM »
Im gonna answer my own question here - hopefully this will help those in the future who stumble across this post.

I ended up using Class Related Features -> Relations to Neighboring Objects -> 'Number of' which allows for a unit in object numbers. That works well, not perfect, but well enough.