ScratchData LogoScratchData
Back to chooper-beta's profile

Complex Thresholding

CHchooper-beta•Created September 6, 2015
Complex Thresholding
20
8
169 views
View on Scratch

Instructions

Click the green flag.

Description

Thanks to @PullJosh for the original framework Thanks to @BookOwl for the inspiration / basic idea How it works: 1) It gets the weighted brightness of each pixel using @BookOwl's formula 2) It reduces the brightness information by dividing by 255 and multiplying by the length of the thresholds list and rounding that value. 3) We then lookup the new brightness in the thresholds list * 4) Using my HSB to RGB converter, we take a predefined hue (13) and the new brightness as well as a saturation of 1 to create the new color. * which means that this can be used to create weighted brightness values in the end image too

Project Details

Project ID75499188
CreatedSeptember 6, 2015
Last ModifiedSeptember 8, 2015
SharedSeptember 6, 2015
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root