Page 1 of 1

how i could remove hidden color for this image ?

Posted: 2017-09-25T17:47:33-07:00
by diegomage
this image appears normal apparently

Image

but when i apply connected components remove 200 area


appears this

Code: Select all

 convert  imaget.jpg  -define connected-components:area-threshold=200 -define connected-components:mean-color=true -connected-components 8 out.png 
Image



I expected obtain only rect images not distorted image
please help me whit this

Re: how i could remove hidden color for this image ?

Posted: 2017-09-25T18:02:13-07:00
by diegomage
I check my image and I see that using this command can solve the problem

Code: Select all

  convert   image .jpg +dither   -posterize 2       color_uniform.gif
I dont view the colors when I use erode command

Re: how i could remove hidden color for this image ?

Posted: 2017-09-25T18:52:27-07:00
by fmw42
If you are trying to remove the thin white lines using -connected-components, that will not work, since each white line is connected to the large white region and the top

Re: how i could remove hidden color for this image ?

Posted: 2017-09-25T19:28:02-07:00
by diegomage
hi I refer that i solve whit this last command I post because I dont see the color with low intensity and I change this colors with posterize


thankyou for the help