eyes extract | Extract a portion of intensity ranges from a color plane. |
Creates an image with a single plane of information by extracting a portion of a source plane's information.
Inlets & Arguments: |
|
Name |
|
Description |
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
source |
|
Source plane number: 0 = blue, 1 = green, 2 = red. |
|
mask |
|
Mask to use when copying: 0x000000ff = blue. 0x0000ff00 = green 0x00ff0000 = red. |
|
shift |
|
Shift the source after applying the mask when copying. Result = (source & mask) >> shift |
Outlets: |
|
Name | Description |
|
Extracted image | An image with one plane of information from a portion of a source plane. |
Messages: |
source index source |
Determines which source image plane is used in the operation. |
shift index shift |
Determines how far the given source plane is shifted in intensity values when incorporated into the destination plane. destination #= (source & mask) >> shift |
mask index mask |
Determines a mask that is used when transferring the source plane to the destination plane. |
Example: |
See Also: |
eyes, color, regions, compact, pack, unpack |