-
Notifications
You must be signed in to change notification settings - Fork 18
Adaptive Histogram Equalization #15
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
Conversation
It is used to improve contrast in images and works by performing enhancement on small 'contextual' regions or neighborhood of each pixel in the given image.
src/Graphics/Image/Processing/Ahe.hs
Outdated
| -- | ||
| -- Usage : | ||
| -- | ||
| -- >>> img <- readImageY VU "yield.jpg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "images/yield.jpg"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sir, I'll change it.
src/Graphics/Image/Processing/Ahe.hs
Outdated
| -- >>> let neighborhoodFactor = (P.read input2 :: Int) | ||
| -- >>> let aheImage :: Image VU RGB Double | ||
| -- >>> aheImage = ahe img thetaSz distSz neighborhoodFactor | ||
| -- >>> writeImage "test.png" (toImageRGB aheImage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this should be "images/yield_ahe.png", since that's what it is called in the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sir, very sorry. Will change it.
|
@khilanravani This PR looks great. It seems though that you added another copy of |
|
@lehins Thank u sir! Yes sir, I'm very sorry. I'll correct it. |
It is used to improve contrast in images and works by performing enhancement on small 'contextual' regions or neighborhood of each pixel in the given image.