![]() | ![]() |
![]() |
Previous Message |
Next Message Previous in Topic | Next in Topic Previous by Same Author | Next by Same Author Previous Page (December 2007) | Back to Main IMAGEJ Page | | ![]()
Reply
| Post a New Message |
Join or Leave IMAGEJ, or Change Options
|
Search | ![]()
Chronologically |
Most Recent First |
Wrap Text (Proportional Font) |
Don't Wrap Text (Non-proportional Font) | ![]() |
Approved-By: [log in to unmask] Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes References: <[log in to unmask]> <[log in to unmask]> Message-ID: <[log in to unmask]> Date: Wed, 19 Dec 2007 18:37:51 +0100 Reply-To: ImageJ Interest Group <[log in to unmask]> Sender: ImageJ Interest Group <[log in to unmask]> From: Thomas Lenoir <[log in to unmask]> Subject: Re: ZVI slices In-Reply-To: <[log in to unmask]>Thanks all for your answers, using loci.plugins.Util.openProcessor gives me what I want (6 16bit slices and not 12 8bit slices). I was using loci.plugin.browser.ImagePlusWrapper before. Thomas Le 17 déc. 07 à 17:38, Curtis Rueden a écrit : > Hi Thomas, > > Are you still using Bio-Formats to load the files? I'm surprised that > calling the API is giving you a different bit depth in the image. > Perhaps it is due to the way you are constructing your ImagePlus > object. > > I recommend using loci.plugins.Util.openProcessor to extract > ImageProcessor objects using an IFormatReader. Then you can use the > ImageJ API on the ImageProcessors however you like as usual. > > If all else fails, to analyze differences in behavior, you can step > through the source code of loci.plugins.Importer, which does most of > the setup for getting images into ImageJ via Bio-Formats. > > If you need additional assistance, I would need to see your source > code. > > -Curtis > > On Dec 16, 2007 9:37 AM, Thomas Lenoir <thomaslenoir@club- > internet.fr> wrote: >> Hello everyone, >> >> I have written code for opening zvi files, but I get 12 slices of >> 8bit >> each in place of 6 slices of 16bit, does anybody know how to merge >> them to form 16bit images? >> In ImageJ app it works as expected, when I open the zvi file it gives >> me 6 windows. >> >> Thanks, >> Thomas >> > >
![]() |
![]() Center for Information Technology National Institutes of Health Bethesda, Maryland 20892 301 594 6248 (v) 301 496 8294 (TDD) Comments and Assistance Accessibility ![]() |