Importing a RAW RGB48 Image

I’m trying to write a small plugin to import a RAW image then use the Make Montage feature to stitch all of the slices together.

The file I’m working with has the potential to hold either a single channel 16 bit image or a 3 channel RGB. I’ve got the plugin working for the 16 bit image. Which was relatively easy since imageJ already has an option to import those as raw.
The 3 channel image is proving much more dificult however, and I’m not an imaging or programming expert yet.

Does anyone have advice, tips or ideas on how to use the import Raw function to import a 3 channel RGB?

Hello @Ben,

Can you post here an example of the RGB48 image you’re trying to import as raw?