Yes, but this seems to change the actual data values, if I am reading the
headers correctly. I was hoping for something that only changes the way it
appears on screen.
From: Ian Scott [mailto:ian.m.scott@...]
Sent: Tuesday, September 14, 2004 2:24 PM
To: Zelakiewicz, Scott (Research); vxl-users@...
Subject: Re: Spam:[Vxl-users] Window contrast and level
Zelakiewicz, Scott (Research) wrote:
> I am trying to get up to speed writing a simple app using vgui. After
> loading a 16-bit grayscale image, I want to control the level and
> of the displayed image. I suspect this functionality exists but I
> been able to find it. Any suggestions?
You can directly change a vil_image_view<>'s contrast and brightness using:
vil_math_scale_and_offset_values(vil_image_view<imT>& image, scale,