Opencv Write an image with two channel -


how write cv::mat type cv_32fc2.

is possible write 2 channels in tiff file ? or write each channel separately ?

if can live (large!) textfile, use filestorage:

mat m; // cv_32fc2  filestorage fs("my.yml",filestorage::write); fs << "mat1" << m;  // key, value store fs.release();       // flush.  filestorage fs1("my.yml",filestorage::read); fs1["mat1"] >> m;     

Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -