Skip to content

mshams/cvColorSelectorGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cvColorSelectorGUI

An opensource project to find and test color range thresholds on color images for openCV.

Sometimes you need to test many color ranges to find propper range for your threshold ad filtering. It's realy hard to use openCV commands by just try and error. So having an easy GUI is good solution.

How to use:

  1. Open your image file.
  2. Select start color by LEFT-Click.
  3. Select end color by RIGHT-Click.
  4. Modify the range by numeric UpDown or trackbar.
  5. Save the range by Add Range button.
  6. If you want to add another color range, you can use Union or Subtract. So find the range values by mouse Left and Right and add the range. To see the instant change, select the new range in range list and click EditRow button to change the values by live view. After modification, turn off EditRow.

Note:

Samples: Selecting the hand: Screenshot

Selecting the hand and blue ball: Screenshot

Selecting the blue and green: Screenshot

Selecting the blue and white: Screenshot

Selecting the yellow and white Screenshot

Selecting the red and orange: Screenshot