In the folder Code the function 'Test_Project2' calculates the adaptive histogram equalization of an input image. 

In more detail, given in input the image called 'prova'it would print:

-the adaptive equalized image:

		The function AHE riceveid in input the image I, the grayscale level n, and the windowsize.
				function [ out ] = AHE(I, n, windowsize)
		The value used for the windowsize are the following:
				i=[3 6 12 24 99 198].
		If the windowsize is not specified it is fixed to the 10% of the input image size. 


-the clipping level adaptive equalized image which is obtained by a simple correction in the simple AHE code.


In the folder called 'Results' there are some image generated using this technique.
'Paper ahe' is the one used.