Dear All
Problem description: =============== I was making multi-paged Tiff image using ImageJ (using option: Image to Stack) to be analyzed by already developed script in Acapella (Opera). It does not recognize the tag file ' 50839 ' added by ImageJ [Error Message: unknown field with tag 50839 (0xc697) encountered] and hence can not proceed. On the other hand, other commercial Tiff image joiner/ merger does not add that specific tag and hence Acapella works smoothly for those images and I will be using ImageJ. Queries: ====== (1) Looking forward for solution/suggestion. (2) Is it possible have the 'Image to Stack' source code - so that I can check/modify and prepare the code for batch/auto conversion of many images. (3) Why is the tag '50839' needed? -- Thanks Tamjid |
> Dear All
> > Problem description: > =============== > I was making multi-paged Tiff image using ImageJ (using option: > Image > to Stack) to be analyzed by already developed > > script in Acapella (Opera). It does not recognize the tag file ' 50839 > ' > added by ImageJ [Error Message: unknown field with tag 50839 (0xc697) > encountered] > > and hence can not proceed. This is a bug in Acapella. TIFF readers are supposed ignore tags they do not recognize. > On the other hand, other commercial Tiff image joiner/ merger does not > add > that specific tag and hence Acapella > > works smoothly for those images and I will be using ImageJ. > > > Queries: > ====== > (1) Looking forward for solution/suggestion. Upgrade to ImageJ 1.43b, run the Image>Stacks>Images to Stack command, disable "Use Titles as Labels" in the dialog box, and tag 50839 will not be created when you save the resulting stack as a TIFF file. > (2) Is it possible have the 'Image to Stack' source code - so that I > can > check/modify and prepare the code for batch/auto conversion of many > images. The source for the ImagesToStack class is at <http://rsb.info.nih.gov/ij/source/ij/plugin/ImagesToStack.java>. The complete source for ImageJ 1.43b is at <http://rsb.info.nih.gov/ij/download/src/>. > (3) Why is the tag '50839' needed? It is the private TIFF tag used by ImageJ to save metadata, such as stack slice labels. -wayne |
Many thanks Wayne. It is a great help to me.
- Tamjid On Wed, Jun 24, 2009 at 6:22 AM, Wayne Rasband <[hidden email]> wrote: > Dear All >> >> Problem description: >> =============== >> I was making multi-paged Tiff image using ImageJ (using option: Image >> to Stack) to be analyzed by already developed >> >> script in Acapella (Opera). It does not recognize the tag file ' 50839 ' >> added by ImageJ [Error Message: unknown field with tag 50839 (0xc697) >> encountered] >> >> and hence can not proceed. >> > > This is a bug in Acapella. TIFF readers are supposed ignore tags they do > not recognize. > > On the other hand, other commercial Tiff image joiner/ merger does not add >> that specific tag and hence Acapella >> >> works smoothly for those images and I will be using ImageJ. >> >> >> Queries: >> ====== >> (1) Looking forward for solution/suggestion. >> > > Upgrade to ImageJ 1.43b, run the Image>Stacks>Images to Stack command, > disable "Use Titles as Labels" in the dialog box, and tag 50839 will not be > created when you save the resulting stack as a TIFF file. > > (2) Is it possible have the 'Image to Stack' source code - so that I can >> check/modify and prepare the code for batch/auto conversion of many >> images. >> > > The source for the ImagesToStack class is at < > http://rsb.info.nih.gov/ij/source/ij/plugin/ImagesToStack.java>. The > complete source for ImageJ 1.43b is at < > http://rsb.info.nih.gov/ij/download/src/>. > > (3) Why is the tag '50839' needed? >> > > It is the private TIFF tag used by ImageJ to save metadata, such as stack > slice labels. > > -wayne > |
In reply to this post by Wayne Rasband
Dear Wayne
the '50839' tag problem is over but Acapella is showing different error: "Data item not found in the current data block". Perhaps it is not getting the 2nd page - as I am having two image for 2 channel - channel 1 for live and channel 2 for dead thus the complete error is appearing as: >> Command line syntax incorrect or data item not found (_["image" & Dead_Channel]): Data item not found in the current datablock: _["image" & Dead_Channel] << Thanks Tamjid On Wed, Jun 24, 2009 at 6:22 AM, Wayne Rasband <[hidden email]> wrote: > Dear All >> >> Problem description: >> =============== >> I was making multi-paged Tiff image using ImageJ (using option: Image >> to Stack) to be analyzed by already developed >> >> script in Acapella (Opera). It does not recognize the tag file ' 50839 ' >> added by ImageJ [Error Message: unknown field with tag 50839 (0xc697) >> encountered] >> >> and hence can not proceed. >> > > This is a bug in Acapella. TIFF readers are supposed ignore tags they do > not recognize. > > On the other hand, other commercial Tiff image joiner/ merger does not add >> that specific tag and hence Acapella >> >> works smoothly for those images and I will be using ImageJ. >> >> >> Queries: >> ====== >> (1) Looking forward for solution/suggestion. >> > > Upgrade to ImageJ 1.43b, run the Image>Stacks>Images to Stack command, > disable "Use Titles as Labels" in the dialog box, and tag 50839 will not be > created when you save the resulting stack as a TIFF file. > > (2) Is it possible have the 'Image to Stack' source code - so that I can >> check/modify and prepare the code for batch/auto conversion of many >> images. >> > > The source for the ImagesToStack class is at < > http://rsb.info.nih.gov/ij/source/ij/plugin/ImagesToStack.java>. The > complete source for ImageJ 1.43b is at < > http://rsb.info.nih.gov/ij/download/src/>. > > (3) Why is the tag '50839' needed? >> > > It is the private TIFF tag used by ImageJ to save metadata, such as stack > slice labels. > > -wayne > |
Free forum by Nabble | Edit this page |