matthiaskoenig / zonation-image-analysis

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Write analysis results in pyramidales format (OME-TIF) #2

Open matthiaskoenig opened 1 year ago

matthiaskoenig commented 1 year ago

putting back into whole-slide formats import pyvips https://libvips.github.io/pyvips/ https://www.libvips.org/

=> build pyramid image https://github.com/libvips/pyvips/issues/157 https://github.com/libvips/pyvips/issues/170

libvips is a demand-driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. libvips is licensed under the LGPL 2.1+.

It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others. It supports a large range of numeric formats, from 8-bit int to 128-bit complex. Images can have any number of bands. It supports a good range of image formats, including JPEG, TIFF, PNG, WebP, FITS, Matlab, OpenEXR, PDF, SVG, HDR, PPM, CSV, GIF, Analyze, NIfTI, DeepZoom, and OpenSlide. It can also load images via ImageMagick or GraphicsMagick, letting it load formats like DICOM.

matthiaskoenig commented 1 year ago

This could be a good library for writing the OME-TIFF: https://github.com/cgohlke/tifffile