49 ContourVector &validatedContours_;
50 const ContourVector &contours_;
52 const CCITransformer *lpTransform_;
64 double approxGlassCenter[3];
65 double approxGlassCenterB[3];
66 double approxGlassRad;
75 bool getMinMaxLengthAng( std::vector<double>& min,
76 std::vector<double>& max,
77 std::vector<double>& length,
const cv::Mat angle);
79 std::vector<std::vector< bool> > combinations;
81 std::vector<double> relResiduals;
84 std::vector<double> maxDists;
86 std::vector<cv::Mat> coordsInSplineSpace;
101 std::vector< cv::Vec3d >** alignedContoursVec;
104 std::vector< cv::Vec3d >* interpolatedContours;
112 int approxPol (cv::Mat& coeffs,
const std::vector< cv::Vec3d >& halfContour);
124 int alignToClampSys ( std::vector< cv::Vec3d >**& alignedContours
125 ,
const ContourVector& contours);
127 void contour3dToCMat( cv::Mat& xy,
const std::vector<cv::Vec3d >* cont )
const;
128 void contourMToContour3d( std::vector<cv::Vec3d >& cont ,
const cv::Mat* xy )
const;
131 int evalInterpolation ( std::vector< cv::Vec3d >& interpContour_B
132 ,
const double interval[2],
const cv::Vec3d polCoeffs);
134 int interpolationToIm (Contour& interpContourIm, std::vector< cv::Vec3d >
const interpContour_B);
137 int filterHorizAndVerts( std::vector<bool>& markVec
138 ,
const size_t nrAligned
139 , std::vector< cv::Vec3d >*& alignedContours);
141 size_t getMax(std::vector< cv::Vec3d >* vec,
const size_t i)
const;
143 std::vector< cv::Point > F__R;
146 bool constructorSubstitute ();
147 void validateApproximations();
150 CombinationsValidator (ContourVector &validatedContours,
const ContourVector &contours,
const RoiRect &rRoi,
const CCITransformer *lpTransform);
Definition: CombinationsValidator.h:45