Help needed (imagej) finding/ writing 3D array

imagej
plugin
roi

#1

Does anyone know of any good attempts/ templates for 3D array plugins? + which can also be used in imagej…/ can be modified to be if not?

I’m new to writing plugins and macros but currently have a macro which cycles through a file of jpegimages; thresholds + crops for ROI + measures % area. However, I also want to be able to allow the user to select the ROI (rectangle) and want the array to support this e.g. array to have (image number, threshold value, rectangle location on image).

Any suggestions or advice would be greatly appreciated,
Many thanks,

Alice Lam