Loaded a 3D image in bifs_gui, ran the map with default parameters and selected "Save Current Results". Boom!
Saving Current Results
Traceback (most recent call last):
File "bifs\src\bifs_gui.py", line 432, in saveCurrent
self.mybifs.save_results()
File "C:\Users\rdboylan\Documents\Kornak\bifs\bifs\src\bifs.py", line 286, in save_results
plt.imsave(out_im,self.final_image,cmap = cm.Greys_r)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\matplotlib\pyplot.py", line 2140, in imsave
return matplotlib.image.imsave(fname, arr, **kwargs)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\matplotlib\image.py", line 1496, in imsave
rgba = sm.to_rgba(arr, bytes=True)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\matplotlib\cm.py", line 268, in to_rgba
raise ValueError("third dimension must be 3 or 4")
ValueError: third dimension must be 3 or 4
I get this running in debug mode in Visual Studio 2019 Preview and when running from the command prompt with py -3 bifs_gui.py.
Loaded a 3D image in bifs_gui, ran the map with default parameters and selected "Save Current Results". Boom!
@kyoung21b Did this ever work? Did 2d or 1d versions ever work?
I get this running in debug mode in Visual Studio 2019 Preview and when running from the command prompt with py -3 bifs_gui.py.