中文说明:function [tilteAngle,maxAreaStart,maxAreaEnd] = radonTransform(plateGray,radonDebug)输入灰度图在与x轴夹角+-45度范围内进行radon变换分析求各个角度上的投影的方差找到最大方差所在的角度,作为倾斜检测结果这种方法比找最长直线更为稳定
English Description:
function [tilteAngle,maxAreaStart,maxAreaEnd] = radonTransform(plateGray,radonDebug)Input grayscale imageIn the angle between the x axis within +-45 radon transform analysisSeeking all the variance of perspective projectionFind the point of maximum variance, skew detection resultsThis way more stable than the longest line