[vtkusers] gamma-correction on output image (vtkImageWriter)?

Chen, Elvis anisotropic7 at yahoo.ca
Tue May 21 10:09:35 EDT 2002


--- Robert Belleman <robbel at science.uva.nl> wrote:
> On Mon, May 20, 2002 at 01:00:56PM -0400, Chen,
> Elvis wrote:
> [...] 
> > My question is, can I perform gamma-correction in
> vtk
> > before the bitmap files are generated?  My
> mkdir new
> for i in *.bmp
> do
>   bmptoppm $i | pnmgamma 1.7 | ppmtobmp > new/$i


hi Robert,

thx.  I also find that "mogrify" does what I want.

now, only if I can use "convert" to convert all the
.bmp files into one .avi :)

thx again,

______________________________________________________________________ 
Find, Connect, Date! http://personals.yahoo.ca



More information about the vtkusers mailing list