.nd2 format images. How to open in macro image j language?

I need to open a bunch of .nd2 images and I wrote a macro image code to open all images that are in a folder. The problem is that bio-formats import options is pop up for each image and I need to press ok to open the image and this happens for each image in that folder. Is there any way to get rid of it ?

Hey @Zeynab_Mousavi,

one trick is using the macro extensions of BioFormats.

Your questions (and some example code) has been discussed earlier here:
http://imagej.1557.x6.nabble.com/macro-using-bio-formats-to-open-ND2-files-with-image-series-td5020942.html

Cheers,
Robert

2 Likes