Home
last modified time | relevance | path

Searched refs:FileNode (Results 1 – 25 of 72) sorted by relevance

123

/external/opencv3/modules/core/include/opencv2/core/
Dpersistence.hpp292 class CV_EXPORTS FileNode; variable
385 CV_WRAP FileNode getFirstTopLevelNode() const;
392 CV_WRAP FileNode root(int streamidx=0) const;
398 FileNode operator[](const String& nodename) const;
401 CV_WRAP FileNode operator[](const char* nodename) const;
454 class CV_EXPORTS_W_SIMPLE FileNode class
480 CV_WRAP FileNode();
486 FileNode(const CvFileStorage* fs, const CvFileNode* node);
491 FileNode(const FileNode& node);
497 FileNode operator[](const String& nodename) const;
[all …]
/external/opencv3/modules/objdetect/src/
Dcascadedetect_convert.cpp119 FileNode oldroot = oldfs.getFirstTopLevelNode(); in convert()
121 FileNode sznode = oldroot[ICV_HAAR_SIZE_NAME]; in convert()
131 FileNode stages_seq = oldroot[ICV_HAAR_STAGES_NAME]; in convert()
137 FileNode stagenode = stages_seq[i]; in convert()
140 FileNode weaks_seq = stagenode[ICV_HAAR_TREES_NAME]; in convert()
147 FileNode weaknode = weaks_seq[j]; in convert()
152 FileNode nnode = weaknode[n]; in convert()
153 FileNode fnode = nnode[ICV_HAAR_FEATURE_NAME]; in convert()
158 FileNode rects_seq = fnode[ICV_HAAR_RECTS_NAME]; in convert()
163 FileNode rnode = rects_seq[k]; in convert()
[all …]
Dcascadedetect.hpp38 virtual bool read(const FileNode& node, Size origWinSize);
92 void read( const FileNode& node );
93 bool read_( const FileNode& node );
209 bool read(const FileNode &node);
337 bool read( const FileNode& node );
364 virtual bool read( const FileNode& node, Size origWinSize);
434 bool read(const FileNode& node );
451 virtual bool read( const FileNode& node, Size origWinSize );
Dcascadedetect.cpp389 bool FeatureEvaluator::read(const FileNode&, Size _origWinSize) in read() argument
573 bool HaarEvaluator::Feature :: read( const FileNode& node ) in read()
575 FileNode rnode = node[CC_RECTS]; in read()
610 bool HaarEvaluator::read(const FileNode& node, Size _origWinSize) in read()
788 bool LBPEvaluator::Feature :: read(const FileNode& node ) in read()
790 FileNode rnode = node[CC_RECT]; in read()
807 bool LBPEvaluator::read( const FileNode& node, Size _origWinSize ) in read()
950 void CascadeClassifierImpl::read(const FileNode& node) in read()
1566 bool CascadeClassifierImpl::Data::read(const FileNode &root) in read()
1595 FileNode fn = root[CC_FEATURE_PARAMS]; in read()
[all …]
/external/opencv3/modules/ml/src/
Dprecomp.hpp105 static inline TermCriteria readTermCrit(const FileNode& fn) in readTermCrit()
336 virtual void readParams( const FileNode& fn );
337 virtual int readSplit( const FileNode& fn );
338 virtual int readNode( const FileNode& fn );
339 virtual int readTree( const FileNode& fn );
340 virtual void read( const FileNode& fn );
367 static inline void readVectorOrMat(const FileNode & node, std::vector<T> & v) in readVectorOrMat()
369 if (node.type() == FileNode::MAP) in readVectorOrMat()
375 else if (node.type() == FileNode::SEQ) in readVectorOrMat()
Drtrees.cpp318 void readParams( const FileNode& fn ) in readParams()
322 FileNode tparams_node = fn["training_params"]; in readParams()
326 void read( const FileNode& fn ) in read()
339 FileNode trees_node = fn["trees"]; in read()
345 FileNode nfn = (*it)["nodes"]; in read()
395 void read( const FileNode& fn ) in read()
Dboost.cpp407 void readParams( const FileNode& fn ) in readParams()
411 FileNode tparams_node = fn["training_params"]; in readParams()
425 void read( const FileNode& fn ) in read()
432 FileNode trees_node = fn["trees"]; in read()
438 FileNode nfn = (*it)["nodes"]; in read()
485 void read( const FileNode& fn ) in read()
/external/opencv3/modules/ml/
Dprecomp.hpp105 static inline TermCriteria readTermCrit(const FileNode& fn) in readTermCrit()
336 virtual void readParams( const FileNode& fn );
337 virtual int readSplit( const FileNode& fn );
338 virtual int readNode( const FileNode& fn );
339 virtual int readTree( const FileNode& fn );
340 virtual void read( const FileNode& fn );
367 static inline void readVectorOrMat(const FileNode & node, std::vector<T> & v) in readVectorOrMat()
369 if (node.type() == FileNode::MAP) in readVectorOrMat()
375 else if (node.type() == FileNode::SEQ) in readVectorOrMat()
/external/opencv3/samples/cpp/tutorial_code/core/file_input_output/
Dfile_input_output.cpp32 void read(const FileNode& node) //Read serialization for this class in read()
49 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ in read()
115 FileNode n = fs["strings"]; // Read string sequence - Get node in main()
116 if (n.type() != FileNode::SEQ) in main()
/external/opencv3/samples/cpp/
Dfilestorage.cpp45 void read(const FileNode& node) //Read serialization for this class in read()
58 static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){ in read()
117 FileNode n = fs["images"]; in main()
118 if (n.type() != FileNode::SEQ) in main()
Dstarter_imagelist.cpp39 FileNode n = fs.getFirstTopLevelNode(); in readStringList()
40 if (n.type() != FileNode::SEQ) in readStringList()
Dselect3dobj.cpp318 FileNode all = fs["views"]; in readModelViews()
319 if( all.type() != FileNode::SEQ ) in readModelViews()
325 FileNode n = *it; in readModelViews()
327 FileNode nr = n["rect"]; in readModelViews()
329 FileNode np = n["pose"]; in readModelViews()
375 FileNode n = fs.getFirstTopLevelNode(); in readStringList()
376 if( n.type() != FileNode::SEQ ) in readStringList()
/external/opencv3/modules/photo/src/
Dtonemap.cpp90 void read(const FileNode& fn) in read()
92 FileNode n = fn["name"]; in read()
170 void read(const FileNode& fn) in read()
172 FileNode n = fn["name"]; in read()
253 void read(const FileNode& fn) in read()
255 FileNode n = fn["name"]; in read()
349 void read(const FileNode& fn) in read()
351 FileNode n = fn["name"]; in read()
455 void read(const FileNode& fn) in read()
457 FileNode n = fn["name"]; in read()
Dcalibrate.cpp150 void read(const FileNode& fn) in read()
152 FileNode n = fn["name"]; in read()
258 void read(const FileNode& fn) in read()
260 FileNode n = fn["name"]; in read()
/external/opencv3/apps/traincascade/
Dcascadeclassifier.h74 bool read( const cv::FileNode &node );
109 bool readParams( const cv::FileNode &node );
110 bool readStages( const cv::FileNode &node );
Dboost.h17 bool read( const cv::FileNode &node );
58 void read( const cv::FileNode &node, CvBoost* _ensemble, CvDTreeTrainData* _data );
74 bool read( const cv::FileNode &node, const CvFeatureEvaluator* _featureEvaluator,
Dcascadeclassifier.cpp40 bool CvCascadeParams::read( const FileNode &node ) in read()
45 FileNode rnode = node[CC_STAGE_TYPE]; in read()
375 bool CvCascadeClassifier::readParams( const FileNode &node ) in readParams()
381 FileNode rnode = node[CC_STAGE_PARAMS]; in readParams()
392 bool CvCascadeClassifier::readStages( const FileNode &node) in readStages()
394 FileNode rnode = node[CC_STAGES]; in readStages()
522 FileNode node = fs.getFirstTopLevelNode(); in load()
Dtraincascade_features.h54 virtual bool read( const cv::FileNode &node ) = 0;
69 virtual bool read( const cv::FileNode &node );
/external/opencv3/modules/core/test/
Dtest_io.cpp297 FileNode tl = fs["test_list"]; in run()
298 if( tl.type() != FileNode::SEQ || tl.size() != 6 || in run()
304 tl[5].type() != FileNode::MAP || tl[5].size() != 3 || in run()
314 FileNode tm = fs["test_map"]; in run()
315 FileNode tm_lbp = tm["lbp"]; in run()
344 if( tm.type() != FileNode::MAP || tm.size() != 5 || in run()
349 tm_lbp.type() != FileNode::SEQ || in run()
410 static inline void read(const FileNode& node, in read()
/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
99 To read from these we use the @ref cv::FileNode and the @ref cv::FileNodeIterator data
100 structures. The [] operator of the @ref cv::FileStorage class returns a @ref cv::FileNode data
104 FileNode n = fs["strings"]; // Read string sequence - Get node
105 if (n.type() != FileNode::SEQ)
142 void read(const FileNode& node) //Read serialization for this class
156 void read(const FileNode& node, MyData& x, const MyData& default_value = MyData())
/external/opencv3/modules/cudaobjdetect/src/
Dcascadeclassifier.cpp479 bool load(const FileNode &root);
634 bool LbpCascade_Impl::load(const FileNode &root) in load()
668 FileNode fn = root[CUDA_CC_FEATURE_PARAMS]; in load()
692 FileNode fns = *it; in load()
711 FileNode fnw = *it1; in load()
713 FileNode internalNodes = fnw[CUDA_CC_INTERNAL_NODES]; in load()
714 FileNode leafValues = fnw[CUDA_CC_LEAF_VALUES]; in load()
756 FileNode rect = (*f_it)[CUDA_CC_RECT]; in load()
/external/opencv3/modules/core/src/
Dpersistence.cpp5192 FileNode FileStorage::root(int streamidx) const in root()
5194 return isOpened() ? FileNode(fs, cvGetRootFileNode(fs, streamidx)) : FileNode(); in root()
5275 FileNode FileStorage::operator[](const String& nodename) const in operator []()
5277 return FileNode(fs, cvGetFileNodeByName(fs, 0, nodename.c_str())); in operator []()
5280 FileNode FileStorage::operator[](const char* nodename) const in operator []()
5282 return FileNode(fs, cvGetFileNodeByName(fs, 0, nodename)); in operator []()
5285 FileNode FileNode::operator[](const String& nodename) const in operator []()
5287 return FileNode(fs, cvGetFileNodeByName(fs, node, nodename.c_str())); in operator []()
5290 FileNode FileNode::operator[](const char* nodename) const in operator []()
5292 return FileNode(fs, cvGetFileNodeByName(fs, node, nodename)); in operator []()
[all …]
/external/opencv3/modules/shape/src/
Dhist_cost.cpp108 virtual void read(const FileNode& fn) in read()
233 virtual void read(const FileNode& fn) in read()
358 virtual void read(const FileNode& fn) in read()
474 virtual void read(const FileNode& fn) in read()
/external/opencv3/modules/features2d/src/
Dblobdetector.cpp67 virtual void read( const FileNode& fn );
117 void SimpleBlobDetector::Params::read(const cv::FileNode& fn ) in read()
180 void SimpleBlobDetectorImpl::read( const cv::FileNode& fn ) in read()
/external/opencv3/modules/calib3d/test/
Dtest_stereomatching.cpp375 void readErrors( FileNode& fn, const string& errName, vector<float>& errors );
588 FileNode fn = fs.getFirstTopLevelNode()[caseNames[caseIdx]]; in processStereoMatchingResults()
609 FileNode fn = fs.getFirstTopLevelNode(); in readDatasetsParams()
646 void CV_StereoMatchingTest::readErrors( FileNode& fn, const string& errName, vector<float>& errors ) in readErrors()
696 FileNode fn = fs.getFirstTopLevelNode(); in readRunParams()
752 FileNode fn = fs.getFirstTopLevelNode(); in readRunParams()

123