If you are willing to click on the center of the object of interest in each of 
the 400 slices, then it is simple to write a macro that with each click, the XY 
coordinates are saved and the macro progresses to the next slice automatically, 
and at the end all images are repositioned to center on the XY locations.

Or you could try one of the registration tools such as 
https://bigwww.epfl.ch/thevenaz/stackreg/

Cheers-


Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory
NYU Langone Health, 540 First Avenue, New York, NY  10016
Office: RB (formerly Skirball) 4-102  -- call if door is locked (phone near 
elevators)
Office: 646-501-0567 Cell (voice only, not text): 914-309-3270  
[email protected]  
http://nyulmc.org/micros  http://microscopynotes.com/ 
Scheduling the time you want is far more reliable by phone call.  Why not 
provide your phone number?

 


-----Original Message-----
From: AR.M. AlHinnawi <[email protected]> 
Sent: Wednesday, August 6, 2025 3:24 PM
To: [email protected]
Subject: Registering objects to a rectangular area

[EXTERNAL]

Dear ImageJ

I have a stack of 400 images. They all show the same objects but at different 
settings, resulting in irregular displacements.

The interested objects can be confined in a rectangular area in the first slice 
(a rectangular area that can be drawn manually).

I aim to make similar objects in all remaining slices to fit in the rectangle. 
For example, I attached the first and last slice.

It doesn't seem easy.

Please, can you advise?

Thank you

*Abdel-Razzak Al-Hinnawi, (Full Prof.)  (B.Sc., M.Sc., Ph.D. Medical Imaging  
Sciences & Digital Image Processing & Biomedical Engineering)* *Faculty of 
Allied Medical Sciences* *ISRA University* *11622, Amman, **JORDAN*
*phone: +962 780515199*
*e-mail:   [email protected] <[email protected]>
 [email protected] <[email protected]>*

--
ImageJ mailing list: 
https://urldefense.com/v3/__http://imagej.nih.gov/ij/list.html__;!!MXfaZl3l!em9oCMotdAaa5j-SbsTMB-ZWu34WIAd_fy6C67JpL9IgdWpDzuwUu-MP7Yr2sNczfZBafYBV6blHF0a6lRQew8i9qjp6B_U$

------------------------------------------------------------
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain information that is proprietary, 
confidential, and exempt from disclosure under applicable law. Any unauthorized 
review, use, disclosure, or distribution is prohibited. If you have received 
this email in error please notify the sender by return email and delete the 
original message. Please note, the recipient should check this email and any 
attachments for the presence of viruses. The organization accepts no liability 
for any damage caused by any virus transmitted by this email.
=================================


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to