Home
last modified time | relevance | path

Searched refs:FileStorage (Results 1 – 25 of 104) sorted by relevance

12345

/external/opencv3/modules/core/include/opencv2/core/
Dpersistence.hpp298 class CV_EXPORTS_W FileStorage class
327 CV_WRAP FileStorage();
339 CV_WRAP FileStorage(const String& source, int flags, const String& encoding=String());
342 FileStorage(CvFileStorage* fs, bool owning=true);
345 virtual ~FileStorage();
656 CV_EXPORTS void write( FileStorage& fs, const String& name, int value );
657 CV_EXPORTS void write( FileStorage& fs, const String& name, float value );
658 CV_EXPORTS void write( FileStorage& fs, const String& name, double value );
659 CV_EXPORTS void write( FileStorage& fs, const String& name, const String& value );
660 CV_EXPORTS void write( FileStorage& fs, const String& name, const Mat& value );
[all …]
/external/opencv3/samples/cpp/
Dfilestorage.cpp41 void write(FileStorage& fs) const //Write serialization for this class in write()
55 static void write(FileStorage& fs, const std::string&, const MyData& x){ in write()
83 FileStorage fs(filename, FileStorage::WRITE); in main()
108 FileStorage fs(filename, FileStorage::READ); in main()
165 FileStorage fs(dataString, FileStorage::READ | FileStorage::MEMORY); in main()
175 FileStorage fs(filename, FileStorage::WRITE | FileStorage::MEMORY | FileStorage::FORMAT_YAML); in main()
Dimagelist_creator.cpp41 FileStorage fs(outputname, FileStorage::WRITE); in main()
/external/opencv3/samples/cpp/tutorial_code/core/file_input_output/
Dfile_input_output.cpp28 void write(FileStorage& fs) const //Write serialization for this class in write()
45 static void write(FileStorage& fs, const std::string&, const MyData& x) in write()
79 FileStorage fs(filename, FileStorage::WRITE); in main()
101 FileStorage fs; in main()
102 fs.open(filename, FileStorage::READ); in main()
/external/opencv3/apps/traincascade/
Dcascadeclassifier.cpp25 void CvCascadeParams::write( FileStorage &fs ) const in write()
242 FileStorage fs( paramsFilename, FileStorage::WRITE); in train()
249 fs << FileStorage::getDefaultObjectName(paramsFilename) << "{"; in train()
257 FileStorage fs( stageFilename, FileStorage::WRITE ); in train()
264 fs << FileStorage::getDefaultObjectName(stageFilename) << "{"; in train()
346 void CvCascadeClassifier::writeParams( FileStorage &fs ) const in writeParams()
353 void CvCascadeClassifier::writeFeatures( FileStorage &fs, const Mat& featureMap ) const in writeFeatures()
358 void CvCascadeClassifier::writeStages( FileStorage &fs, const Mat& featureMap ) const in writeStages()
427 FileStorage fs( filename, FileStorage::WRITE ); in save()
432 fs << FileStorage::getDefaultObjectName(filename) << "{"; in save()
[all …]
Dcascadeclassifier.h73 void write( cv::FileStorage &fs ) const;
106 void writeParams( cv::FileStorage &fs ) const;
107 void writeStages( cv::FileStorage &fs, const cv::Mat& featureMap ) const;
108 void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const;
Dhaarfeatures.h21 virtual void write( cv::FileStorage &fs ) const;
38 virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const;
39 void writeFeature( cv::FileStorage &fs, int fi ) const; // for old file fornat
52 void write( cv::FileStorage &fs ) const;
Dtraincascade_features.h33 void _writeFeatures( const std::vector<Feature> features, cv::FileStorage &fs, const cv::Mat& featu… in _writeFeatures()
53 virtual void write( cv::FileStorage &fs ) const = 0;
68 virtual void write( cv::FileStorage &fs ) const;
82 virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const = 0;
DHOGfeatures.h26 virtual void writeFeatures( cv::FileStorage &fs, const cv::Mat& featureMap ) const;
36 void write( cv::FileStorage &fs ) const;
37 void write( cv::FileStorage &fs, int varIdx ) const;
Dboost.h16 void write( cv::FileStorage &fs ) const;
57 void write( cv::FileStorage &fs, const cv::Mat& featureMap );
73 void write( cv::FileStorage &fs, const cv::Mat& featureMap ) const;
/external/opencv3/modules/features2d/misc/java/src/cpp/
Dfeatures2d_manual.hpp164 FileStorage fs(fileName, FileStorage::WRITE); in CV_EXPORTS_AS()
170 FileStorage fs(fileName, FileStorage::READ); in CV_EXPORTS_AS()
278 FileStorage fs(fileName, FileStorage::WRITE);
284 FileStorage fs(fileName, FileStorage::READ);
383 FileStorage fs(fileName, FileStorage::WRITE);
389 FileStorage fs(fileName, FileStorage::READ);
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DModel.cpp51 cv::FileStorage storage(path, cv::FileStorage::WRITE); in save()
65 cv::FileStorage storage(path, cv::FileStorage::READ); in load()
/external/opencv3/modules/calib3d/test/
Dtest_fisheye.cpp244 cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); in TEST_F()
250 cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); in TEST_F()
279 cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); in TEST_F()
285 cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); in TEST_F()
340 cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); in TEST_F()
346 cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); in TEST_F()
452 cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); in TEST_F()
458 cv::FileStorage fs_right(combine(folder, "right.xml"), cv::FileStorage::READ); in TEST_F()
464 cv::FileStorage fs_object(combine(folder, "object.xml"), cv::FileStorage::READ); in TEST_F()
520 cv::FileStorage fs_left(combine(folder, "left.xml"), cv::FileStorage::READ); in TEST_F()
[all …]
Dtest_stereomatching.cpp372 int readDatasetsParams( FileStorage& fs );
373 virtual int readRunParams( FileStorage& fs );
374 void writeErrors( const string& errName, const vector<float>& errors, FileStorage* fs = 0 );
378 int processStereoMatchingResults( FileStorage& fs, int caseIdx, bool isWrite,
411 FileStorage datasetsFS( dataPath + DATASETS_DIR + DATASETS_FILE, FileStorage::READ ); in run()
418FileStorage runParamsFS( dataPath + ALGORITHMS_DIR + algorithmName + RUN_PARAMS_FILE, FileStorage:… in run()
427 FileStorage resFS( fullResultFilename, FileStorage::READ ); in run()
433 resFS.open( fullResultFilename, FileStorage::WRITE ); in run()
540 int CV_StereoMatchingTest::processStereoMatchingResults( FileStorage& fs, int caseIdx, bool isWrite, in processStereoMatchingResults()
601 int CV_StereoMatchingTest::readDatasetsParams( FileStorage& fs ) in readDatasetsParams()
[all …]
/external/opencv3/modules/features2d/test/
Dtest_agast.cpp97 FileStorage fs(xml, FileStorage::READ); in run()
100 fs.open(xml, FileStorage::WRITE); in run()
109 fs.open(xml, FileStorage::READ); in run()
Dtest_fast.cpp97 FileStorage fs(xml, FileStorage::READ); in run()
100 fs.open(xml, FileStorage::WRITE); in run()
109 fs.open(xml, FileStorage::READ); in run()
/external/opencv3/modules/ml/
Dprecomp.hpp97 static inline void writeTermCrit(FileStorage& fs, const TermCriteria& termCrit) in writeTermCrit()
329 virtual void writeTrainingParams( FileStorage& fs ) const;
330 virtual void writeParams( FileStorage& fs ) const;
331 virtual void writeSplit( FileStorage& fs, int splitidx ) const;
332 virtual void writeNode( FileStorage& fs, int nidx, int depth ) const;
333 virtual void writeTree( FileStorage& fs, int root ) const;
334 virtual void write( FileStorage& fs ) const;
/external/opencv3/modules/ml/src/
Dprecomp.hpp97 static inline void writeTermCrit(FileStorage& fs, const TermCriteria& termCrit) in writeTermCrit()
329 virtual void writeTrainingParams( FileStorage& fs ) const;
330 virtual void writeParams( FileStorage& fs ) const;
331 virtual void writeSplit( FileStorage& fs, int splitidx ) const;
332 virtual void writeNode( FileStorage& fs, int nidx, int depth ) const;
333 virtual void writeTree( FileStorage& fs, int root ) const;
334 virtual void write( FileStorage& fs ) const;
/external/opencv3/modules/core/test/
Dtest_io.cpp108 FileStorage fs(filename, FileStorage::WRITE + (mem ? FileStorage::MEMORY : 0)); in run()
193 … if(!fs.open(mem ? content : filename, FileStorage::READ + (mem ? FileStorage::MEMORY : 0))) in run()
403 static inline void write(FileStorage &fs, in write()
455 FileStorage fs(fname, FileStorage::WRITE); in run()
473 fs.open(fname, FileStorage::READ); in run()
560 TEST(Core_InputOutput, FileStorage) in TEST() argument
563 cv::FileStorage f(file, cv::FileStorage::WRITE); in TEST()
/external/opencv3/modules/core/src/
Dalgorithm.cpp58 FileStorage fs(filename, FileStorage::WRITE); in save()
/external/opencv3/modules/imgproc/test/
Dtest_houghLines.cpp169 FileStorage fs(xml, FileStorage::READ); in run_test()
174 fs.open(xml, FileStorage::APPEND); in run_test()
178 fs.open(xml, FileStorage::READ); in run_test()
/external/opencv3/doc/tutorials/core/file_input_output_with_xml_yml/
Dfile_input_output_with_xml_yml.markdown12 - Usage of OpenCV data structures such as @ref cv::FileStorage , @ref cv::FileNode or @ref
37 and at the end to close it. The XML/YAML data structure in OpenCV is @ref cv::FileStorage . To
42 FileStorage fs(filename, FileStorage::WRITE);
44 fs.open(filename, FileStorage::READ);
51 The file automatically closes when the @ref cv::FileStorage objects is destroyed. However, you
100 structures. The [] operator of the @ref cv::FileStorage class returns a @ref cv::FileNode data
137 void write(FileStorage& fs) const //Write serialization for this class
151 void write(FileStorage& fs, const std::string&, const MyData& x)
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/
Dcamera_calibration.cpp35 void write(FileStorage& fs) const //Write serialization for this class in write()
165 FileStorage fs(filename, FileStorage::READ); in readStringList()
214 static inline void write(FileStorage& fs, const String&, const Settings& s ) in write()
231 FileStorage fs(inputSettingsFile, FileStorage::READ); // Read the settings in main()
492 FileStorage fs( s.outputFileName, FileStorage::WRITE ); in saveCameraParams()
/external/opencv3/modules/objdetect/src/
Dcascadedetect_convert.cpp116 FileStorage oldfs(oldcascade, FileStorage::READ); in convert()
197 FileStorage newfs(newcascade, FileStorage::WRITE); in convert()
/external/opencv3/modules/cudaimgproc/test/
Dtest_mean_shift.cpp99 cv::FileStorage fs; in CUDA_TEST_P()
101 …n(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage::READ); in CUDA_TEST_P()
103 …::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileStorage::READ); in CUDA_TEST_P()

12345