|
|
|
Preproceesing |
|
|
|
|
|
Pre-processing to remove noise and improve image brightness in the work such as Edge, Blob, and Template Matching |
|
|
|
Ex) Noise removal, brightness improvement, morphology, and edge accentuation |
|
|
|
|
Morphology |
|
|
|
|
|
Morphological Approaching Method |
|
|
|
Basic idea: Extraction of intended parts from the image with reflection of the information on the target object of which
the geometrical shape is known
- Erosion operation: Reduction of the boundary part
- Dilation operation: Extension of boundary part
- Opening: Dilation after erosion / Closing: Erosion after dilation |
|
|
|
|
Binarize |
|
|
|
; |
|
Original image: The brightness of the image pixels uniformly exists between 0~255. |
|
|
|
Binary coded image: The brightness of image pixel is one of binary values, zero (0) or 255. |
|
|
|
|
Threshold |
|
|
|
|
|
Binary threshold value: Constant value (T) selected for binary coding of image
|
|
|
|
Intensity |
|
|
|
|
|
Brightness of image is in the range of 0~255 (gray scale):
The darkest value is zero (0) and the brightest value is 255. Blob
▶ Labelin: Same numbers (labels) are attached to all the “adjacent-connected” pixels and other numbers are attached to other connected pixels.
1. What is the meaning of Blob in image processing? Distinguishing the background and subjects in the image with separation based on specific brightness
2. General method of Blob – The image should be binary coded using specific bright values and the background and subjects should be separated in the binary coded image by image processing called labeling.
3. Labeling (Description of current homepage)
4. Geometrical feature extracted by labeling
- Area : Number of pixels forming an area
- Center of an object : Position of an object in the image
- Length of boundary (surrounding length) : The boundary length is obtained in the number of pixels by tracking the boundary of a binary-coded area.
- Roundness : The scale to express how much an image is close to a circle; an ideal circle has “1”; the farther from
an ideal circle, the less the value is.
|
|
|
|
Edge |
|
|
|
|
The part showing large difference in the brightness is highlighted to extract the boundary of an object |
|
|
|
Feature |
|
|
|
|
Edge is used; The part having similar intensity between an Edge and another Edge is extracted. |
|
|
|
Measurement |
|
|
|
|
Using Edges:
- Distance between Edges,
- Edge Line,
- Circle Size, and
- Distance between Edges may be obtained. |
|
|
|
Template Matching |
|
|
|
|
When an image is given for inspection, similar image patterns are extracted in the image for inspection, using the given template image; where, the template is a kind of a model. |
|
|
|
|