BioFormat for matlab and svs images

3 views (last 30 days)
Elena Casiraghi
Elena Casiraghi on 1 Oct 2018
Commented: Elena Casiraghi on 2 Oct 2018

Dear all

does anyone know how can i open an svs image by using bioformat?

My images have 4 planes:

  • image at the maximum resolution
  • image at the mid resolution
  • image at 1/8 resolution (or even less)
  • image with the original resolution bar.

When trying to open an image to get the second plane, I use the following commands:


when issued, this command raises this error:

log4j:WARN No appenders could be found for logger (loci.formats.ClassList).
log4j:WARN Please initialize the log4j system properly.

if I further proceed with the bfGetPlane instruction:


I get the following error:

Error using bfGetPlane (line 78)
Java exception occurred:
java.lang.IllegalArgumentException: Array size too large: 89488 x 74009 x 1
	at loci.common.DataTools.safeMultiply32(
	at loci.common.DataTools.allocate(
	at loci.formats.ChannelSeparator.openBytes(

Please, help me!

Elena Casiraghi
Elena Casiraghi on 2 Oct 2018
bpp=1 fp logical 0 sgn logical 0 I used also bfGetPlane but it gave the same error

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!