Lines Matching refs:r_point
442 float l_point[3], r_point[3], epiline[3]; in icvGetStartEnd1() local
457 r_point[0] = (float) width; in icvGetStartEnd1()
458 r_point[1] = 0; in icvGetStartEnd1()
459 r_point[2] = 1; in icvGetStartEnd1()
461 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd1()
472 r_start_end[0] = r_point[0]; in icvGetStartEnd1()
473 r_start_end[1] = r_point[1]; in icvGetStartEnd1()
487 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd1()
490 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd1()
495 r_start_end[0] = r_point[0]; in icvGetStartEnd1()
496 r_start_end[1] = r_point[1]; in icvGetStartEnd1()
510 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd1()
513 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd1()
519 r_start_end[0] = r_point[0]; in icvGetStartEnd1()
520 r_start_end[1] = r_point[1]; in icvGetStartEnd1()
528 r_point[0] = 0; in icvGetStartEnd1()
529 r_point[1] = (float) height; in icvGetStartEnd1()
530 r_point[2] = 1; in icvGetStartEnd1()
532 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd1()
542 r_start_end[2] = r_point[0]; in icvGetStartEnd1()
543 r_start_end[3] = r_point[1]; in icvGetStartEnd1()
557 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd1()
560 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd1()
566 r_start_end[2] = r_point[0]; in icvGetStartEnd1()
567 r_start_end[3] = r_point[1]; in icvGetStartEnd1()
581 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd1()
584 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd1()
590 r_start_end[2] = r_point[0]; in icvGetStartEnd1()
591 r_start_end[3] = r_point[1]; in icvGetStartEnd1()
612 float l_point[3], r_point[3], epiline[3]; in icvGetStartEnd2() local
628 r_point[0] = 0; in icvGetStartEnd2()
629 r_point[1] = 0; in icvGetStartEnd2()
630 r_point[2] = 1; in icvGetStartEnd2()
632 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd2()
644 r_start_end[0] = r_point[0]; in icvGetStartEnd2()
645 r_start_end[1] = r_point[1]; in icvGetStartEnd2()
659 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd2()
663 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd2()
669 r_start_end[0] = r_point[0]; in icvGetStartEnd2()
670 r_start_end[1] = r_point[1]; in icvGetStartEnd2()
684 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd2()
687 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd2()
693 r_start_end[0] = r_point[0]; in icvGetStartEnd2()
694 r_start_end[1] = r_point[1]; in icvGetStartEnd2()
701 r_point[0] = (float) width; in icvGetStartEnd2()
702 r_point[1] = (float) height; in icvGetStartEnd2()
703 r_point[2] = 1; in icvGetStartEnd2()
705 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd2()
715 r_start_end[2] = r_point[0]; in icvGetStartEnd2()
716 r_start_end[3] = r_point[1]; in icvGetStartEnd2()
730 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd2()
733 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd2()
739 r_start_end[2] = r_point[0]; in icvGetStartEnd2()
740 r_start_end[3] = r_point[1]; in icvGetStartEnd2()
754 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd2()
757 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd2()
763 r_start_end[2] = r_point[0]; in icvGetStartEnd2()
764 r_start_end[3] = r_point[1]; in icvGetStartEnd2()
784 float l_point[3], r_point[3], epiline[3]; in icvGetStartEnd3() local
800 r_point[0] = 0; in icvGetStartEnd3()
801 r_point[1] = 0; in icvGetStartEnd3()
802 r_point[2] = 1; in icvGetStartEnd3()
804 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd3()
816 r_start_end[0] = r_point[0]; in icvGetStartEnd3()
817 r_start_end[1] = r_point[1]; in icvGetStartEnd3()
831 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd3()
834 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd3()
840 r_start_end[0] = r_point[0]; in icvGetStartEnd3()
841 r_start_end[1] = r_point[1]; in icvGetStartEnd3()
855 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd3()
858 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd3()
864 r_start_end[0] = r_point[0]; in icvGetStartEnd3()
865 r_start_end[1] = r_point[1]; in icvGetStartEnd3()
872 r_point[0] = (float) width; in icvGetStartEnd3()
873 r_point[1] = (float) height; in icvGetStartEnd3()
874 r_point[2] = 1; in icvGetStartEnd3()
876 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd3()
886 r_start_end[2] = r_point[0]; in icvGetStartEnd3()
887 r_start_end[3] = r_point[1]; in icvGetStartEnd3()
902 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd3()
906 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd3()
912 r_start_end[2] = r_point[0]; in icvGetStartEnd3()
913 r_start_end[3] = r_point[1]; in icvGetStartEnd3()
928 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd3()
932 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd3()
938 r_start_end[2] = r_point[0]; in icvGetStartEnd3()
939 r_start_end[3] = r_point[1]; in icvGetStartEnd3()
958 float l_point[3], r_point[3], epiline[3]; in icvGetStartEnd4() local
974 r_point[0] = 0; in icvGetStartEnd4()
975 r_point[1] = 0; in icvGetStartEnd4()
976 r_point[2] = 1; in icvGetStartEnd4()
978 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd4()
990 r_start_end[0] = r_point[0]; in icvGetStartEnd4()
991 r_start_end[1] = r_point[1]; in icvGetStartEnd4()
1005 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd4()
1008 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd4()
1014 r_start_end[0] = r_point[0]; in icvGetStartEnd4()
1015 r_start_end[1] = r_point[1]; in icvGetStartEnd4()
1029 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd4()
1032 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd4()
1038 r_start_end[0] = r_point[0]; in icvGetStartEnd4()
1039 r_start_end[1] = r_point[1]; in icvGetStartEnd4()
1046 r_point[0] = (float) width; in icvGetStartEnd4()
1047 r_point[1] = (float) height; in icvGetStartEnd4()
1048 r_point[2] = 1; in icvGetStartEnd4()
1050 icvMultMatrixVector3( F, r_point, epiline ); in icvGetStartEnd4()
1060 r_start_end[2] = r_point[0]; in icvGetStartEnd4()
1061 r_start_end[3] = r_point[1]; in icvGetStartEnd4()
1075 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd4()
1078 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd4()
1084 r_start_end[2] = r_point[0]; in icvGetStartEnd4()
1085 r_start_end[3] = r_point[1]; in icvGetStartEnd4()
1099 error = icvCrossLines( r_diagonal, epiline, r_point ); in icvGetStartEnd4()
1102 if( r_point[0] >= 0 && r_point[0] <= width ) in icvGetStartEnd4()
1108 r_start_end[2] = r_point[0]; in icvGetStartEnd4()
1109 r_start_end[3] = r_point[1]; in icvGetStartEnd4()
1128 float r_point[3]; in icvBuildScanlineLeft() local
1186 r_point[0] = -(float) (*(scanlines_2 + offset)); in icvBuildScanlineLeft()
1187 r_point[1] = -(float) (*(scanlines_2 + offset + 1)); in icvBuildScanlineLeft()
1188 r_point[2] = -1; in icvBuildScanlineLeft()
1190 icvMultMatrixVector3( F, r_point, epiline ); in icvBuildScanlineLeft()
1214 float r_point[3]; in icvBuildScanlineRight() local
1238 r_point[2] = 1; in icvBuildScanlineRight()
1257 r_point[0] = r_start_end[0] + i * delta_x; in icvBuildScanlineRight()
1258 r_point[1] = r_start_end[1] + i * delta_y; in icvBuildScanlineRight()
1260 icvMultMatrixVector3( F, r_point, epiline ); in icvBuildScanlineRight()
1399 float r_point[3], l_point[3]; in icvGetCoefficientStereo() local
1577 r_point[0] = r_start_end[0]; in icvGetCoefficientStereo()
1578 r_point[1] = r_start_end[1]; in icvGetCoefficientStereo()
1579 r_point[2] = 1; in icvGetCoefficientStereo()
1581 icvMultMatrixVector3( F, r_point, l_epiline ); in icvGetCoefficientStereo()
1589 r_angle[0] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
1626 r_point[0] = r_start_end[2]; in icvGetCoefficientStereo()
1627 r_point[1] = r_start_end[3]; in icvGetCoefficientStereo()
1628 r_point[2] = 1; in icvGetCoefficientStereo()
1630 icvMultMatrixVector3( F, r_point, l_epiline ); in icvGetCoefficientStereo()
1638 r_angle[1] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
1829 float r_point[3]; in icvBuildScanlineRightStereo() local
1849 r_point[2] = 1; in icvBuildScanlineRightStereo()
1864 r_point[0] = r_epipole[0] + r_radius * (float) cos( angle ); in icvBuildScanlineRightStereo()
1865 r_point[1] = r_epipole[1] + r_radius * (float) sin( angle ); in icvBuildScanlineRightStereo()
1867 icvMultMatrixVector3( F, r_point, l_epiline ); in icvBuildScanlineRightStereo()
1876 r_epiline[0] = r_point[1] - r_epipole[1]; in icvBuildScanlineRightStereo()
1877 r_epiline[1] = r_epipole[0] - r_point[0]; in icvBuildScanlineRightStereo()
1878 r_epiline[2] = r_point[0] * r_epipole[1] - r_point[1] * r_epipole[0]; in icvBuildScanlineRightStereo()