Jump to content

PixelChecksum variance


Guest FL-
 Share

Recommended Posts

I've searched the forum but couldn't find an answer to the questions I have.

Does the PixelChechsum function return a similar checksum for two scans that have approximately the same pixels?

For instance: If I was scanning a pink area and it went to light pink, would the checksum stay somewhat the same - as opposed to if the area went to black?

Also, I noticed Pixelchecksum can take 5 options but there isn't any documentation for the fifth one.

PixelChecksum ( left, top, right, bottom [, step] )

What is step?

Thanks in advance!

Edited by FL-
Link to comment
Share on other sites

  • Developers

What is the 'step' parameter on a Pixelchecksum?

<{POST_SNAPBACK}>

PixelChecksum

--------------------------------------------------------------------------------

Generates a checksum for a region of pixels.

PixelChecksum ( left, top, right, bottom [, step] )

Parameters

left left coordinate of rectangle.

top top coordinate of rectangle.

right right coordinate of rectangle.

bottom bottom coordinate of rectangle.

step (Optional) Instead of checksumming each pixel use a value larger than 1 to skip pixels (for speed). E.g. A value of 2 will only check every other pixel. Default is 1.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...