New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Normalization added #503

Closed
wants to merge 1 commit into
base: develop
from

Conversation

Projects
None yet
2 participants
@rajatkapoor
Contributor

rajatkapoor commented May 1, 2013

Added Image normalization/ contrast stretching.
Read more at:
see : http://en.wikipedia.org/wiki/Normalization_(image_processing)

The results are similar to that of equalization. But this technique does not produce noise. This only stretches the current min and max of the intensity to the specified value.
The noise difference on the edges is completely visible in the logo image.

Example:

i = Image('lenna')
a = i.normalize()
b = i.equalize()

defnorm
result of normalizatino
equalize
result of hist equalization
logo_normalized
Normalization of 'logo'
logo_equalized
Equalization of 'logo'

@kscottz

This comment has been minimized.

Show comment
Hide comment
@kscottz

kscottz May 1, 2013

Contributor

This really needs a unit test before we merge it in. As soon as I see that I will test and probably merge it.

Contributor

kscottz commented May 1, 2013

This really needs a unit test before we merge it in. As soon as I see that I will test and probably merge it.

@kscottz kscottz closed this May 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment