Ask Your Question

Revision history [back]

click to hide/show revision 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.

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.