Hi Stoyan,
There is currently no direct way to display PNG images in FSLeyes,
although it is on the TODO list.
Your approach of converting to NIFTI is probably the best way to go
for the time being.
Cheers,
Paul
On 17/03/2019, Stoyan Asenov <[log in to unmask]> wrote:
> Hello,
>
> I am working on writing a plugin for FSLeyes that would offer segmentation
> tools for images acquired by electron microscopy.
>
> These images are in PNG format and I need to load them as overlays in
> FSLeyes. Currently, I am using the NiBabel package to convert the PNG images
> into NIfTI images as FSLeyes does not load PNG files as overlays.
>
> I am able to load the NIfTI images with no problem, but it could be more
> efficient if I was able to load the PNG images without having to do a
> conversion.
>
> Is there a way to create an overlay with something like a PNG image or a
> NumPy array without having to convert it into another type of file?
>
> Also, I will make my plugin available to FSLeyes users once it is complete.
>
>
> Sincerely,
>
> Stoyan
>
> ########################################################################
>
> To unsubscribe from the FSL list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
>
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|