This is an old revision of the document!


Multiresolution Segmentation

This example shows how to perform multiple segmentation in the image, using coarse and fine resolutions. We use the three methods for segmentation currently available in InterIMAGE, namely Region Growing, Baatz and Checkerboard.

Download

Step-by-step

Create a new project called “multiresolution_segmentation”.

After that create a structure to perform segmentation. We firstly created a node called “coarse_segmentation” which applies the TerraAIDA_Region_Growing_Segmentation operator. We also created three child nodes, called “fine_segmentation”, “fine_checkerboard”, and “background” with TerraAIDA_Baatz_Segmentation, TerraAIDA_Checkerboard_segmentation and “Dummy Top Down” operators respectively. The node “background” will be associated to the remaining elements.

The segmentation parameters used were:

  • coarse_segmentation (TerraAIDA_Region_Growing_Segmenter)
    • Euclidean distance threshold: 40
    • Segments minimun size: 200
    • fine_segmentation (TerraAIDA_Baatz_Segmenter)
      • Compactness weight: 0.5
      • Color weight: 0.5
      • Scale parameter: 20
      • Decision rule:
        • mean('b1') < 240 AND mean('b2') < 240 AND mean('b3') < 240
    • fine_checkerboard (TerraAIDA_CheckerBoard)
      • Number of grid lines: 10
      • Number of grid columns: 10
      • Decision rule:
        • ratio('b1') > 0.4
    • background (Dummy TopDown)

Insert these rules in the nodes, by clicking in TopDown Decision Rule. Note: Select the option No Merge, as the Lower-level Rule for all Top Down nodes.

After running your project, the result should be as the following figure:


Navigation