Posted by
CARL Philippe (LBP) on
Aug 12, 2020; 8:19pm
URL: http://imagej.273.s1.nabble.com/Meta-lost-on-concatenation-tp5023842p5023845.html
Dear Fred,
I could simply do something like:
selectWindow("window1");
data = getMetadata("Info");
selectWindow("window2");
setMetadata("Info", data);
But for me the MetaData should be saved given especially that they are identical within the three pictures.
My best regards,
Philippe
----- Mail original -----
De: "Fred Damen" <
[hidden email]>
À: "imagej" <
[hidden email]>
Envoyé: Mercredi 12 Août 2020 19:14:20
Objet: Re: Meta lost on concatenation
Greetings,
I have faced this issue in the past(/currently). There is a method,
copyAttributes(ImagePlus) in ImagePlus.java that copies this information,
albeit, it refuses to perform said action when the source ImagePlus has a
current ImageWindow. I have resorted to copying the guts of this method
into my code when this information is important to me.
Is there a problem with the source ImagePlus being displayed when copying
the Meta data?
Enjoy,
Fred
On Wed, August 12, 2020 8:52 am, CARL Philippe (LBP) wrote:
> Dear all,
> Given that I perform a "quite big" acquisition protocol, my tif pictures
> got split into three single files by the used acquisition software.
> It is of course easy to stick again these 3 pictures together using the
> Image>Stacks>Tools>Concatenete... tool.
> Nevertheless, when I do so all the "nice meta data" I had within these
> pictures get erased.
> And given that I want later on the information stored within the meta
> data, this is a kind of pity.
> Thus is it obvious for you that the meta data get lost upon a
> concatenation process or should they rather be saved ?
> My best regards,
> Philippe
>
>
> Philippe CARL
> Laboratoire de Bioimagerie et Pathologies
> UMR 7021 CNRS - Université de Strasbourg
> Faculté de Pharmacie
> 74 route du Rhin
> 67401 ILLKIRCH
> Tel : +33(0)3 68 85 42 89
>
> --
> ImageJ mailing list:
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