Description: Help
Open this example use the directory pic in the picture, then click the button "turn", "1", "2", "3", "4" and "5", you can achieve precise positioning plate.
Concrete steps
1.24 True Color-> 256-color grayscale.
2. Preconditioning: median filter.
3. Binarization: with an initial threshold T on the binary image A by binary image B.
Determine the initial threshold T, is: Select threshold T = Gmax-(Gmax-Gmin)/3, Gmax and Gmin are the highest, lowest gray value.
The threshold for different license certain adaptability, able to guarantee the basic background is set to 0, to highlight the license area.
4. Weaken the background interference. The image B to do a simple subtraction of gray value of adjacent pixels to obtain a new image G, which Gi, j = | Pi, j-Pi, j-1 | i = 0,1, ..., 439 j = 0 , 1, ..., 639Gi, 0 = Pi, 0, left edge of the direct assignment, will not affect the overall results.
5. With a custom template median filter
Regional gray f
To Search:
File list (Check if you may need any files):
chap12
......\readme.txt
......\车牌定位
......\........\ChildFrm.cpp
......\........\ChildFrm.h
......\........\ColorTable.h
......\........\Debug
......\........\DIBAPI.CPP
......\........\DIBAPI.H
......\........\edgecontour.cpp
......\........\edgecontour.h
......\........\MainFrm.cpp
......\........\MainFrm.h
......\........\pic
......\........\...\Img10_24.bmp
......\........\...\Img1_24.bmp
......\........\...\Thumbs.db
......\........\ReadMe.txt
......\........\res
......\........\Resource.h
......\........\res\Toolbar.bmp
......\........\...\TypeRec.ico
......\........\...\TypeRec.rc2
......\........\...\TypeRecDoc.ico
......\........\StdAfx.cpp
......\........\StdAfx.h
......\........\suanfa1.cpp
......\........\suanfa1.h
......\........\TemplateTrans.cpp
......\........\TemplateTrans.h
......\........\TypeRec.aps
......\........\TypeRec.clw
......\........\TypeRec.cpp
......\........\TypeRec.dsp
......\........\TypeRec.dsw
......\........\TypeRec.h
......\........\TypeRec.ncb
......\........\TypeRec.opt
......\........\TypeRec.plg
......\........\TypeRec.rc
......\........\TypeRecDoc.cpp
......\........\TypeRecDoc.h
......\........\TypeRecView.cpp
......\........\TypeRecView.h