Description: Based on the YCgCr and YCbCr color spaces, the parallelogram model and the ellipse model are established respectively. The image is pretreated by the light compensation method, so as to avoid the error caused by the uneven illumination.
To Search:
File list (Check if you may need any files):
YCgCr_detect\1.png
............\2.png
............\3.png
............\4.png
............\5.png
............\6.png
............\7.png
............\YCgCr_detect.m
YCgCr_detect