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    | 
		 
		
			
				
				
				  | 
					
						  
						koldo
						 Messages: 3453 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  . 
 
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  
 |  
	| 
		
	 | 
 
 
 |  
  
 
	
	  | 
	 | 
	
		tif image 16 bit. autolevel
		By:  tojocky on Fri, 29 April 2011 08:54  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Fri, 29 April 2011 10:12  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Fri, 29 April 2011 11:28  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Fri, 29 April 2011 11:52  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Fri, 29 April 2011 11:35  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  mirek on Fri, 29 April 2011 20:13  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Sat, 30 April 2011 09:33  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Sat, 30 April 2011 18:07  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Sat, 30 April 2011 18:21  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Sun, 01 May 2011 15:50  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Mon, 02 May 2011 09:30  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Mon, 02 May 2011 10:17  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Mon, 02 May 2011 10:30  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Mon, 02 May 2011 12:03  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Mon, 02 May 2011 14:02  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Mon, 02 May 2011 16:21  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Mon, 02 May 2011 17:37  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Thu, 05 May 2011 20:10  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Thu, 05 May 2011 20:15  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  koldo on Thu, 05 May 2011 21:28  
	 | 
 
	  | 
	 | 
	
		Re: tif image 16 bit. autolevel
		By:  tojocky on Fri, 06 May 2011 13:25  
	 | 
  
Goto Forum:
 
 Current Time: Tue Nov 04 15:33:00 CET 2025 
 Total time taken to generate the page: 0.06990 seconds 
 |