Flags

Flag that indicates the color space used in the segmentation. Possible values are:

Value

Meaning

SGM_RGB

[1] Comparison done on red, green and blue difference.

SGM_Y

[2] Comparison done on Y channel difference of YUV space.

SGM_U

[3] Comparison done on U channel difference of YUV space.

SGM_V

[4] Comparison done on V channel difference of YUV space.

SGM_UV

[5] Comparison done on U and V channels difference of YUV space.