Skip to content

Instantly share code, notes, and snippets.

@dahtah
Last active February 20, 2017 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dahtah/8ead764942819c5ab3dd76309d67b12c to your computer and use it in GitHub Desktop.
Save dahtah/8ead764942819c5ab3dd76309d67b12c to your computer and use it in GitHub Desktop.
problem with float-valued TIFF in CImg
#include "CImg/CImg.h"
using namespace cimg_library;
int main()
{
CImg<double> img1("float.tif");
CImg<double> img2("integer.tif");
CImgList<double> L(img1,img2);
L.display();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment