im am very new to ImageJ and need some help.
I am currently doing an experiment where a camera is taking dark exposures in a light sealed box for capturing cosmic rays and natural background radiation. The radiation shows up as dots and lines in the pictures (see images).
I collected already a few hundert hours of data (thousand of pictures).
Fortunately I found now ImageJ with the “Analyze Particle” function that works great for finding the cosmic rays automatically in the images.
In the past time I opened every image manually in Photoshop and searched for the particles, than cropped it and saved them. This worked well, but was an extremely time consuming process.
My hopes are now to do this process all automatically in batch process.
the images from the camera are stored in daily folders like so:
I want now, that ImageJ opens the images, finds the particles (cosmic rays an radiation) and saves the findings as a *.tiff file.
The program should create a bounding box around the ROI with about 30px larger, than crop the RIO, scaling the large side of the ROI to 1000px (interpolation: “none”) and finally saving the particle as a *.jpeg file. The important thing is, that it should do that with every particle in the image.
if ImageJ finds 5 cosmic rays in a photo, it should save them as 5 individual .jpeg files.
I tried it already with macros, but didn’t got it to work, especially for saving the RIO individually.
finding particles was not an issue:
Here are my steps in ImageJ, got good results with that:
run("Duplicate...", " "); run("Find Edges"); run("Smooth"); run("Smooth"); run("Smooth"); run("Enhance Contrast...", "saturated=0.1"); run("8-bit"); setAutoThreshold("MaxEntropy"); //run("Threshold..."); //setThreshold(0, 124); setOption("BlackBackground", false); run("Convert to Mask"); run("Invert"); run("Analyze Particles...", "size=110-Infinity pixel show=Outlines add");
Many thanks in advance!