Skip to content

Cannot load tif files over 4 Gb #5

@xavpinson

Description

@xavpinson

Hi,

I am trying to do some STORM images reconstruction and I am apparently unable to load tif files over 4Gb (smaller images load without any issue). I am pretty incompentent in Matlab but from what I can understand some module responsible for loading tif files seems to be the problem.

I am copying below the output I get when I try to open a tif file over 4Gb.

Any help/idea/suggestion would be very much appreciated.

Thanks!

Xavier

main directory: D:\Home\evpinto\Desktop
settings directory: E:\Programmes\SMAP\application\settings
plugin help directory: E:\Programmes\SMAP\application\Documentation\help
D:\Home\evpinto\Desktop

err =

MException with properties:

identifier: 'MATLAB:FileIO:InvalidFid'
   message: 'Invalid file identifier. Use fopen to generate a valid file identifier.'
     cause: {}
     stack: [3x1 struct]
Correction: []

fid =

-1

could not write file E:\Programmes\SMAP\application\Documentation\pdf\SMAP_UserGuide.pdf locally.
bioformats package not found. Please select path to bioformats_package.jar in the Preferences.
you can download the Matalb toolbox for bioformats at https://www.openmicroscopy.org/bio-formats/downloads/
Error using bfGetReader (line 51)
Missing Bio-Formats library. Either add bioformats_package.jar to the static Java path or add it to the Matlab path.

Error in imageloaderOME/openi (line 18)

Error in interfaces.imageloaderSMAP/open (line 224)

Error in interfaces.imageloaderSMAP (line 37)

Error in imageloaderOME (line 14)

Error in imageloaderAll (line 42)

Error in WorkflowModules.Loaders.TifLoader/addFile (line 193)

Error in WorkflowModules.Loaders.TifLoader>loadtif_callback (line 292)
simple tiff loader loader
no description found
could not determine number of images. Directly evaluate file, might take time.
Camera not recognized. Use default
Error using bfGetReader (line 51)
Missing Bio-Formats library. Either add bioformats_package.jar to the static Java path or add it to the Matlab path.

Error in imageloaderOME/openi (line 18)

Error in interfaces.imageloaderSMAP/open (line 224)

Error in interfaces.imageloaderSMAP (line 37)

Error in imageloaderOME (line 14)

Error in imageloaderAll (line 42)

Error in getRoiTif (line 9)

Error in gettif (line 6)

Error in File.Load.Loader_tif>loadfile (line 82)

Error in File.Load.Loader_tif/load (line 15)

Error in File.Load.Loader_auto>loadfile (line 69)

Error in File.Load.Loader_auto/load (line 17)

Error in gui.GuiFile>loadfiles (line 333)

Error in gui.GuiFile/loadbutton_callback (line 145)

Error in gui.GuiFile>@(varargin)obj.loadbutton_callback(varargin{:}) (line 408)
simple tiff loader loader
could not find camera file in global settings. Using default file.
Warning: Inputs must be character vectors, cell arrays of character vectors, or string arrays.

In findsettingsfile (line 9)
In interfaces/imageloaderSMAP/getmetadatacam (line 179)
In interfaces/imageloaderSMAP/getmetadata (line 160)
In imageloaderTifSimple/openi (line 20)
In interfaces/imageloaderSMAP/open (line 224)
In interfaces/imageloaderSMAP (line 37)
In imageloaderTifSimple (line 11)
In imageloaderAll (line 47)
In getRoiTif (line 9)
In gettif (line 6)
In File.Load.Loader_tif>loadfile (line 82)
In File.Load/Loader_tif/load (line 15)
In File.Load.Loader_auto>loadfile (line 69)
In File.Load/Loader_auto/load (line 17)
In gui.GuiFile>loadfiles (line 333)
In gui/GuiFile/loadbutton_callback (line 145)
In gui.GuiFile>@(varargin)obj.loadbutton_callback(varargin{:}) (line 408)
In gui/GuiMainSMAP/makeGui (line 353)
In SMAP (line 23)

camera calibration file settings/camera.mat not found.

err =

MException with properties:

identifier: 'MATLAB:badsubscript'
   message: 'Index in position 2 exceeds array bounds.'
     cause: {}
     stack: [9x1 struct]
Correction: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions