i have large image file (single band) not fit in ram. wan read numpy array (data) , plot using matplotlib, possibly using imshow(data). know how small-sized image. how can large file? ofcourse, okay resample (possibly scipy zoom) before plotting. how can resample before reading numpy arrray because reading of large file memory not possible.
maybe better display tiff external viewer https://superuser.com/questions/254677/what-software-works-well-for-viewing-massive-tiff-images-on-windows-7 .
otherwise try convert tiff in hdf5 file first (ftp://ftp.hdfgroup.org/hdf/contrib/salem/tiffutils.c) , , load part of matrix want display.
Comments
Post a Comment