Using the suckah object
Suckah can be used much like the eyedropper tool in photoshop to grab the current color value of any screen pixel. This is useful in creating color palates from images, chromakeying, color tracking, UI design, and more.
- Jitter Tutorial 10: Chromakeying, introduces the application of suckah in chromakeying. The suckah object sits on top of the pwindow displaying the source video, allowing you to click directly on the color you want to key out.
- Jitter Tutorial 25: Tracking the Position of a Color in a Movie, offers a method of combining suckah with the jit.findbounds object to track colored objects. Note that this functionality is not built in to the tutorial patch, but is in the text portion of the tutorial reference.
suckah Tips and Workarounds
- Placing suckah on top of a jit.pwindow is a useful and intuitive way to get information about the color value of a particular pixel.
- suckah can easily be used like an eyedropper tool, allowing you to quickly create palates or alter the appearance of your UI. This patch gives a simple example:
- An alternative method for getting pixel values from a matrix is to send the "getcell" message to a jit.matrix. This patch uses the mouse-over capability of the jit.pwindow object to emulate the click-to-output behavior of suckah.
- suckah defaults to outputting RGBA float values in the range 0. - 1. The compatibility attribute allows you to switch to legacy 0 - 255 integer output, while the outputalpha attribute allows you to disable alpha reporting.
Third-Party Max externals similar to the suckah object
People who looked at/used this object also looked at....
Errors or Clarifications
(please list things that you believe to be errors or omissions from the existing refpage)