Skip to content
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

Histogram Equalization (Normal and Adaptive) + Changes to VisionStack.py #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AlexanderWangY
Copy link
Collaborator

Added a histogram equalization layer which distributes pixel intensities (for a grayscale image) based on the histogram of the image pixels.

  • Increases the contrast of an image slightly allowing for better corner detection especially in blurrier environments (like underwater)
  • Balances the lighting of an image especially if lighting conditions differ

Also made some changes so that matplotlib's imshow correctly shows grayscale images in black and white!

Copy link
Contributor

@DaniParr DaniParr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reconfigure your version of vision stack and add your changes to the new version of vision stack. Then make the pull request again :)

@AlexanderWangY
Copy link
Collaborator Author

I'm a bit busy at the moment but I will reconfigure it as soon as I can if this PR is still wanted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants