I am looking for a way to be able to transform .vsi images (CellSens Olympus) to PNG in a Python script, because later we plan to analyze it in that same language.
We don’t have much idea how to deal with this image format, since what we have seen is a kind of large file with different images inside.
What interests us is to be able to divide these different images, and export them to PNG.
To explain myself better, what we are specifically looking for is to export the following images:
In Windows’ File Explorer, the file looks like this:
Inside each folder, there is a file like this one:
I tried different ways to make this, for example, using Microscoper (GitHub - pskeshu/microscoper: A simple wrapper for python-bioformats to convert .vsi CellSense format to TIFF.) and also python-bioformats (GitHub - CellProfiler/python-bioformats: Read and write life sciences file formats), but the first one doesn’t work and the second has a short documentation.
I hope someone can help me.
Thank you very much in advance!
EDIT: I have said PNG, but any common format (TIFF, JPEG, etc.) will work for me, as long as it is lossless.