Lines Matching refs:fs
179 FileStorage fs( filename, FileStorage::WRITE );
187 fs << "calibration_time" << buf;
190 fs << "nframes" << (int)std::max(rvecs.size(), reprojErrs.size());
191 fs << "image_width" << imageSize.width;
192 fs << "image_height" << imageSize.height;
193 fs << "board_width" << boardSize.width;
194 fs << "board_height" << boardSize.height;
195 fs << "square_size" << squareSize;
198 fs << "aspectRatio" << aspectRatio;
207 //cvWriteComment( *fs, buf, 0 );
210 fs << "flags" << flags;
212 fs << "camera_matrix" << cameraMatrix;
213 fs << "distortion_coefficients" << distCoeffs;
215 fs << "avg_reprojection_error" << totalAvgErr;
217 fs << "per_view_reprojection_errors" << Mat(reprojErrs);
234 //cvWriteComment( *fs, "a set of 6-tuples (rotation vector + translation vector) for each view", 0 );
235 fs << "extrinsic_parameters" << bigmat;
247 fs << "image_points" << imagePtMat;
254 FileStorage fs(filename, FileStorage::READ);
255 if( !fs.isOpened() )
257 FileNode n = fs.getFirstTopLevelNode();