Hboni / francis

Friendly image analysis interface system
4 stars 2 forks source link

Add png/jpg read image type support #46

Open Hboni opened 3 years ago

Hboni commented 3 years ago

For now, Francis only manages nifti files, but it can be interesting to add support of more image type. I first thought about png and jpg format.

For jpg images, we can use the skimage.io.imread function. For png, I found that the imageio module can help using imageio.imread method (as described here)

Hboni commented 3 years ago

I was thinking about the display of this type of image, maybe the display will need some refactoring to be able to see RGB image? Or we can only use greyscale images in the first place?

jeaunrg commented 3 years ago

We can now visualize RGB images but we need to adapt model methods for this kind of images...