Hmm - I’ll have to test again. I use ImagePlus.resize() from within a Java plugin and didn’t see the Calubration change.
I’ll try again. Question - how did you change the dimensions? From the GUI? -Kenneth Sloan On Fri, Aug 16, 2024 at 07:19 Straatman, Kees (Dr.) <[email protected]> wrote: > Hi Kenneth, > > Not sure what you mean. If I open Confocal Series I see > pixel_width=0.0544550 pixel_height=0.0544550. If I change the image size > from 400 pixels to 200 pixels I get pixel_width=0.1089100 > pixel_height=0.1089100, so the calibration has been adjusted. > > Best wishes > Kees > > Advanced Imaging Facility (RRID: SCR_020967) > > University of Leicester > > www.le.ac.uk/advanced-imaging-facility< > http://www.le.ac.uk/advanced-imaging-facility> > > > ________________________________ > From: Kenneth Sloan <[email protected]> > Sent: 15 August 2024 02:16 > To: [email protected] <[email protected]> > Subject: Calibration feature request > > ***CAUTION:*** This email was sent from an EXTERNAL source. Think before > clicking links or opening attachments. > > I have been making more and more use of the Calibration feature to > establish custom coordinate systems for images. I note that when an image > is re-sized (and presumably cropped, although I haven't tested this yet), > the Calibration remains the same. > > Is it possible for operations such as "resize" to update the Calibration, > if one is attached to an image? It seems obvious to me (perhaps it's not > obvious?) that xOrigin, yOrigin, pixelHeight, pixelWidth can all be > modified in a straightforward way. > > -- > Kenneth Sloan > [email protected] > Vision is the art of seeing what is invisible to others. > > -- > ImageJ mailing list: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&data=05%7C02%7Ckrs5%40leicester.ac.uk%7C26981c16b67f4e2817db08dcbcc8242b%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C638592815007963204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=RNFdp%2BxtNCBEHNcnN2UXEg8Oc4Xp3qe43ypXbxSIkzU%3D&reserved=0 > <http://imagej.nih.gov/ij/list.html> > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
