# This is a simplified version of this file type.
# For the complete documentation check the file project_example.txt

CONTEXT_START
  CONTEXT_NAME "Context Name 1"
  RESOURCE_URI "raster resource 1" "file://../../data/cbers_rgb342_crop1.tif"
  RESOURCE_URI "raster resource 2" "file://../../data/cbers_rgb342_crop2.tif"
CONTEXT_END

GRAPH_START
  GRAPH_NAME "Graph Name 1"

  VERTICE_START
    VERTICE_NAME "Regions"
    VERTICE_TYPE "SEGMENTER"
    VERTICE_2ND_PASS "YES"
    VERTICE_RESOURCE "raster resource 1" "IMAGE"
    VERTICE_PARAM "STRATEGY" "MEAN"
    VERTICE_PARAM "MIN_SEGMENT_SIZE" "100"
    VERTICE_PARAM "SEGMENTS_SIMILARITY_THRESHOLD" "0.04"
  VERTICE_END

  VERTICE_START
    VERTICE_NAME "Arithmetic Regions"
    VERTICE_TYPE "ARITHMETIC"
    VERTICE_2ND_PASS "YES"
    VERTICE_CONNECTION "Regions" "Regions"
    VERTICE_RESOURCE "raster resource 2" "IMAGE"
    VERTICE_PARAM "ARITHMETIC_STRING" "( IMAGE:1 - IMAGE:0 ) / ( IMAGE:1 + IMAGE:0 )"
    VERTICE_PARAM "THRESHOLD_RANGES" "0.5>999"
  VERTICE_END
GRAPH_END

PROJECT_START
  PROJECT_NAME "Sample Project Name 1"
  ANALYSIS "Analysys Name 1" "Context Name 1" "Graph Name 1"
PROJECT_END

