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

Add histogram-diff command #33

Closed
wants to merge 1 commit into from
Closed

Add histogram-diff command #33

wants to merge 1 commit into from

Conversation

emiln
Copy link
Owner

@emiln emiln commented Oct 18, 2015

There's now a rudimentary :histogram-diff command. It takes two histograms
and a maximum difference (between 0 and 1) and evaluates to true if the
histograms are no further apart than that. There's a :histogram (for literal
histogram strings) and :histogram-at (take x, y, width, and height,
generating the histogram from on-screen pixels.)

I'm not 100% done, but pushing to work on another computer.

Accepting this closes #32.

There's now a rudimentary :histogram-diff command. It takes two histograms
and a maximum difference (between 0 and 1) and evaluates to true if the
histograms are no further apart than that. There's a :histogram (for literal
histogram strings) and :histogram-at (take x, y, width, and height,
generating the histogram from on-screen pixels.)

I'm not 100% done, but pushing to work on another computer.
@emiln
Copy link
Owner Author

emiln commented Oct 18, 2015

I'll just make a new one with a recent version of master.

@emiln emiln closed this Oct 18, 2015
@emiln emiln deleted the compare-histogram branch October 18, 2015 21:10
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.

Compare area on screen to histogram
1 participant