I am trying to work with (read & write) .jpx files which contain multiple layers, much like a .TIFF file.
using imread, you can read files which contain multiple images (such as a .TIFF file) like so:
img = imread('my_image_stack.tif',3);
I can confirm using imfinfo that my .jpx file contains multiple images, and when I open my file in e.g. Imaris I can see my image stack:
info = imfinfo('my_image_stack.jpx');
image_size_bytes = info.Width * info.Height * info.BitDepth / 8;
images_per_file = info.FileSize / image_size_bytes
Is there a way to get the other frames of my image using matlab, or do I need to convert all of my .jpx files to .tiffs?