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

1 visualizzazione (ultimi 30 giorni)
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 ^^

Risposta accettata

Image Analyst
Image Analyst il 20 Ott 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 Commenti
Saroj Boonprom
Saroj Boonprom il 21 Ott 2014
I make HSV Picture :) and create black line =-=
Image Analyst
Image Analyst il 21 Ott 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by