Skip to content

Histogram#19

Open
michalkielan wants to merge 7 commits into
masterfrom
distribution
Open

Histogram#19
michalkielan wants to merge 7 commits into
masterfrom
distribution

Conversation

@michalkielan

@michalkielan michalkielan commented Jun 6, 2019

Copy link
Copy Markdown
Owner

Example:

$ python3 colorscope.py -hist colorchecker.jpg

Screen Shot 2019-06-07 at 10 12 07 AM

Comment thread ip/colormeter.py Outdated


def plot_hist(img):
hist, bins = np.histogram(img.flatten(), 256,[0, 256])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this 0-256? Should not be 1-256 or 0-255?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

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.

2 participants