1 | initial version |
when you decide to use hsv color space then drawing histogram and use color bars as Haris Moonamkunnu says(try in error to get the value). Remember that the in each color space min, & max. threshold value may fail in 0<=min<=max<=255 or 0~min & max~255. Finally you use morphology like erode,dilate,region filling etc,and get the shape you want.
2 | No.2 Revision |
when you decide to use hsv color space then drawing histogram and use color bars as Haris Moonamkunnu says(try try in error to get the value). threshold value Remember that the in each color space min, & max. threshold value may fail in 0<=min<=max<=255 or 0~min & max~255. Finally you use morphology like erode,dilate,region filling etc,and get the shape you want.