• Home
  • Raw
  • Download

Lines Matching refs:deg2rad

183 l_float32  angle, conf, deg2rad;  in pixFindSkewAndDeskew()  local
195 deg2rad = 3.1415926535 / 180.; in pixFindSkewAndDeskew()
210 if ((pixd = pixRotateShear(pixs, 0, 0, deg2rad * angle, L_BRING_IN_WHITE)) in pixFindSkewAndDeskew()
283 l_float32 deg2rad, theta; in pixFindSkewSweep() local
300 deg2rad = 3.1415926535 / 180.; in pixFindSkewSweep()
337 pixVShearCorner(pixt, pix, deg2rad * theta, L_BRING_IN_WHITE); in pixFindSkewSweep()
531 l_float32 deg2rad, theta, delta; in pixFindSkewSweepAndSearchScorePivot() local
562 deg2rad = 3.1415926535 / 180.; in pixFindSkewSweepAndSearchScorePivot()
624 pixVShearCorner(pixt1, pixsw, deg2rad * theta, L_BRING_IN_WHITE); in pixFindSkewSweepAndSearchScorePivot()
626 pixVShearCenter(pixt1, pixsw, deg2rad * theta, L_BRING_IN_WHITE); in pixFindSkewSweepAndSearchScorePivot()
678 pixVShearCorner(pixt2, pixsch, deg2rad * centerangle, L_BRING_IN_WHITE); in pixFindSkewSweepAndSearchScorePivot()
680 pixVShearCorner(pixt2, pixsch, deg2rad * (centerangle - sweepdelta), in pixFindSkewSweepAndSearchScorePivot()
683 pixVShearCorner(pixt2, pixsch, deg2rad * (centerangle + sweepdelta), in pixFindSkewSweepAndSearchScorePivot()
688 pixVShearCenter(pixt2, pixsch, deg2rad * centerangle, L_BRING_IN_WHITE); in pixFindSkewSweepAndSearchScorePivot()
690 pixVShearCenter(pixt2, pixsch, deg2rad * (centerangle - sweepdelta), in pixFindSkewSweepAndSearchScorePivot()
693 pixVShearCenter(pixt2, pixsch, deg2rad * (centerangle + sweepdelta), in pixFindSkewSweepAndSearchScorePivot()
712 pixVShearCorner(pixt2, pixsch, deg2rad * leftcenterangle, in pixFindSkewSweepAndSearchScorePivot()
715 pixVShearCenter(pixt2, pixsch, deg2rad * leftcenterangle, in pixFindSkewSweepAndSearchScorePivot()
724 pixVShearCorner(pixt2, pixsch, deg2rad * rightcenterangle, in pixFindSkewSweepAndSearchScorePivot()
727 pixVShearCenter(pixt2, pixsch, deg2rad * rightcenterangle, in pixFindSkewSweepAndSearchScorePivot()