Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » tif image 16 bit. autolevel
Re: tif image 16 bit. autolevel [message #32233 is a reply to message #32232] Mon, 02 May 2011 14:02 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3372
Registered: August 2008
Senior Veteran
Hello Ion

In your case to pass from one histogram to the other is as easy as multiplying any pixel by a factor.

In a more complex scenario you should have to set a window of your histogram and determine which function to apply, like:

New color = F(Old color)

Remember to use function int Grayscale(const Color& c). The conversion to gray is more adequate Smile.

PD. The second histogram strange zeros seem to indicate that there is a problem in the conversion program.


Best regards
IƱaki

[Updated on: Mon, 02 May 2011 14:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Printing a Layout
Next Topic: new! ANTI VIRUS FALSE POSITIVE with Upp (GUI MT FileSel)
Goto Forum:
  


Current Time: Fri Jun 07 20:49:23 CEST 2024

Total time taken to generate the page: 0.02205 seconds