c++ - How to open ECW file with GDAL in OpenCV 3.0 -


as know, gdal added opencv version 3. have satellite ecw image , want read , show it. try use opencv sample named : gdal-image.cpp. has line reading input image:

  cv::mat image = cv::imread(argv[1], cv::imread_load_gdal | cv::imread_color ); 

my problem : set ecw image argv[1] doesnt work. should convert image before? way read ecw using gdal?

ecw file has own drivers built gdal may should test supported driver in opencv. if author didnt add support of ecw, may have youself. here page gdal in opencv:http://code.opencv.org/issues/3725


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -