how can I identify the presence or absence of regular stripes of different colors, but ranging from very very very very light pink to black inside of a scanned image (bitmap 200x200dpi 24-bit). Carry a few examples.
Example 1
Example 2 (the lines are in all the columns except 7 in the second row of the last column)
For now try to identify (using python language) whether or not there is at least 5-10 pixels for the presence of different color from white to each strip, however, does not always work because the scanned image is not of high quality and the strip changes color very similar to color that surrounds it.
Thanks.
Roman Stripe Roman stripes are B-O-L-D multicolor stripes of contrasting widths and they are usually placed vertically. This stripe is known for its use of bright/neon colors.
A stripe pattern consists of seamless, continual lines or bands in either a horizontal, vertical or diagonal direction.
There are two types of stripes (1) C balanced or even, and (2) unbalanced or uneven. A balanced stripe repeats the pattern as the most dominant stripe from left to right and above and below a center bar. An unbalanced stripe varies in spacing or color from left to right and/or above and below a center bar.
A bengal stripe is a particular sort of striped dress shirt fabric, most often featuring an even 1/4″ alternating stripe. It can either be a color and white or color and color stripe and sits on the bolder end of the stripe spectrum.
This looks to me a connected component labeling in an image to identify discrete regions of certain color range. You can have a look to cvBlobLib. Some pre-processing would be required to merge the pixels if there are holes or small variations between neighbors.
Not going to happen. The human visual system is far better than any image processing system, and I don't see anything in the 2nd row of #3. #1 and #5 are also debatable.
You need to find some way to increase the optical quality of your input.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With