Ask Your Question
0

How can I filter white color from simmilar background?

asked 2020-02-02 19:13:21 -0600

Nivash_Hashim gravatar image

Hi, I have some problems with segmentation of white colour Lego brackets. They are simmilar to background. image description

I've changed my input image to hsv, then with trackbars and inRange function I was trying to find only white brackets. Result was awful. I've tried to use histogram equalization, CLAHE but it doesn't really help. What could you suggest me? I'm using opencv Python.

edit retag flag offensive close merge delete

Comments

1

white or black are no real "colors" in hsv, there is no specific hue value for it.

rather try inRange() from plain bgr here.

berak gravatar imageberak ( 2020-02-03 05:01:59 -0600 )edit

They are not similar to background. The background is light white, light grey white, etc

supra56 gravatar imagesupra56 ( 2020-02-03 22:13:56 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-02-03 14:14:04 -0600

LBerger gravatar image

I like kmeans : image description

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-02-02 19:13:21 -0600

Seen: 926 times

Last updated: Feb 03 '20