After changing the RGB image into a YUV image, we try to continue the simplification in order to get a binary image. We attempt to find the threshold value in 4 method.
The result is not good because there are many interferential parts around the edge of two patterns.
Otsu method is used widely to binarize an image.But for our project, it is not good enough because we want a binary image which contains two patterns but Otsu method can only show one.
Bad results are ignored.
1. I used 4
methods to make the original image binary, shown as following:
① average intensity
value, we calculate the average threshold value equals to 0.517. The binary image is as following:
② Otsu method is to calculate the between-class variance of image to binarize an image. The binarized image is shown as following:
③ KittlerMet method.
No comments:
Post a Comment