0
0 Comments

Hello everyone,

I’m a student working on wing data, but I’m very new to the world of ImageJ/micaToolbox and macro coding. I’ve been using the “Generate Multispectral Image” function to create .mspec files. However, I’ve run into a few predicaments.

  1. I have several hundred images that I need to get through, and from what I’ve seen online so far there is no means of batch processing my RAW image files to produce .mspec files.  Is there a method to do so?
  2. If it is not possible to batch process, would it be possible to somehow set an ROI over the grey standard during the “Select _% standard” pop-up, for each time I open a new image. I ask since, all the RAW images have the grey standard in the exact same position. I’ve tried creating an ROI shortcut, but it does not appear to work.
  3. Finally, I was also wondering if there was some way to edit the code (or utilize any existing functions) to ensure the .mspec file is named the same as the RAW image used to create it. I have to keep copy-pasting the name of the image into the “Image Name” dialogue box every single time. Normally this works, however this time I have quite a lot of images.

Apologies if these questions are quite silly or if I am asking for too much. If there are any solutions to these problems, a breakdown would be greatly appreciated.

Thank you! =)

Generate Multispectral Image – editing the macro
Cedric van den Berg Changed status to publish January 7, 2025