Remove auto contrast adjustment when creating Avi from Tiff image stack?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Remove auto contrast adjustment when creating Avi from Tiff image stack?

RobS
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Remove auto contrast adjustment when creating Avi from Tiff image stack?

Rasband, Wayne (NIH/NIMH) [E]
On Jan 9, 2015, at 2:47 PM, Rob Stead <[hidden email]> wrote:

>
> Dear all,
>
> I am converting a large batch of Tiff files to an avi sequence. Everything
> is working fine, except for the fact that ImageJ is optimizing the
> gain/contrast/brightness of every individual frame. Since the overall
> brightness of the tiff varies throughout the sequence I want to disable
> this, so that the final avi shows the true variation in brightness as time
> elapses. What's interesting is that, in the virtual stack, I can optimise
> the gain/contrast to that of a frame of my choice, and ImageJ displays the
> stack accordingly, so that the darker frames really do appear darker. But
> when I save as avi, yep, the darker frames have the gain cranked up to
> compensate…

I am unable to reproduce this problem. Please provide a tiff stack or test macro that reproduces the problem. The following macro works as expected.

-wayne

  newImage("Untitled", "16-bit ramp", 512, 512, 3);
  setSlice(2);
  run("Divide...", "value=2 slice");
  setSlice(3);
  run("Divide...", "value=4 slice");
  path = getDirectory("temp") + "test.avi";
  run("AVI... ", "frame=30 save=&path");
  open(path);


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Remove auto contrast adjustment when creating Avi from Tiff image stack?

RobS
In reply to this post by RobS
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Remove auto contrast adjustment when creating Avi from Tiff image stack?

RobS
In reply to this post by RobS
CONTENTS DELETED
The author has deleted this message.