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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -