segmentation in the feature space

  • Asked
  • Active
  • Viewed 6738 times
0

A question received via email:

I used the oft-cluster.bash and oft-clump on two sets of images: 1973 and 2014. The results for 1973 did not look good. For 2014, the results were superb except for one thing. The very tiny polygons. How to remove them?

0

Accepted answer

There are at least two nice ways to accomplish this. First, you can use oft-seg, pass the output of the oft-clump to the program using the -um option and give a desired minimum size in pixels. Second, you can use the gdal_sieve.py. The difference between the two is that whereas oft-seg merges the small segments with the most similar neighboring segment gdal_sieve.py merges them with the largest neighboring polygon.

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.