Help me please ^^ .I need to check pen's color on image

1 visualización (últimos 30 días)
Saroj Boonprom
Saroj Boonprom el 20 de Oct. de 2014
Comentada: Image Analyst el 21 de Oct. de 2014
Excute me, I need your help. Anyone can give me some algorithm or some idea for check blue color of pen on this image? I need to check blue color cross that name on this image.if that name crossed by blue's pen color I provide that name is absences ^^

Respuesta aceptada

Image Analyst
Image Analyst el 20 de Oct. de 2014
It should be an easy adaptation of one of the color segmentation demos in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
I don't know what "I provide that name is absences" means but I guess you just need to see if some name, presumably written black, has blue ink on top of it. A simple way would be to just convert to hsv color space and look for any pixels with a hue in the blue range. Post your image. Also let us know why you're doing this, for example it's a class assignment, needed for your Ph.D. work or your company, or whatever.
  3 comentarios
Saroj Boonprom
Saroj Boonprom el 21 de Oct. de 2014
I make HSV Picture :) and create black line =-=
Image Analyst
Image Analyst el 21 de Oct. de 2014
My code will find them. You just need to combine the channels. You need hue in a certain range, and probably high saturation values and low "value image" values. That will get just the pen marks and not include white pixels that are blue hue, like pixels with RGB values of [230, 230, 232] which is evidently what you're picking up in the white areas. My demo goes into how you can combine channels to carve out exactly the part of the 3D color gamut that you need.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modify Image Colors en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by