3. The method of claim 1 , wherein the energy function is: E ⁡ ( x 1 , … ⁢ , x n ) = ⁢ ∑ i ⁢ - λ 1 +  I i + x i  + ⁢ ∑ i < j ⁢ ( α ( j - i ) 11 ⁢ x i ⁢ x j + α ( j - i ) 10 ⁢ x i ⁡ ( 1 - x j ) + ⁢ α ( j - i ) 01 ⁡ ( 1 - x i ) ⁢ x j + α ( j - i ) 00 ⁡ ( 1 - x i ) ⁢ ( 1 - x j ) ( 12 ) wherein λ is a free parameter imposing the strength of the intensity values of the given Image; I is an input image; α is a learned co-occurrence; x is an intensity value of an output image.
3. The method of claim 1 , wherein the energy function is: E ⁡ ( x 1 , … ⁢ , x n ) = ⁢ ∑ i ⁢ - λ 1 +  I i + x i  + ⁢ ∑ i < j ⁢ ( α ( j - i ) 11 ⁢ x i ⁢ x j + α ( j - i ) 10 ⁢ x i ⁡ ( 1 - x j ) + ⁢ α ( j - i ) 01 ⁡ ( 1 - x i ) ⁢ x j + α ( j - i ) 00 ⁡ ( 1 - x i ) ⁢ ( 1 - x j ) ( 12 ) wherein λ is a free parameter imposing the strength of the intensity values of the given Image; I is an input image; α is a learned co-occurrence; x is an intensity value of an output image. 5. The claim of claim 3 , wherein one or more of the learned co-occurrence terms in the energy function are dropped if the first probability is greater than the second probability.