Binary Images
A Binary Image is one whose pixels take on a value of 0 or 1 (or some
other 2 valued set of numbers....like 0 and 255).
Why Binary Images?
- Analysis: Use to separate objects from the background. E.g. OCR, Object Recognition by Silhouette Tracing.
- Art.
- Reduced Storage and faster calculations
How to Create a Binary Image
|
||||
Thresholding an Image
|
||||
Example
|
||||
How to pick T?Want T such that only pixels belonging to object you want to highlight are
greater than T.
|
||||
Pick T Threshold using Histogram
What about a Color Image? Color image: f(r,c) = (red,green,blue) e.g. f(r,c) = (255,255,255)= white color f(r,c) = (0, 0, 0) = black color
greyscale value = f'(r,c) = (red + green + blue)/ Example: Find the coin
|