![]() |
| eyes compact | Create a one color plane image. |
Creates an image with a single plane of information from an image with multiple planes of information.
| Inlets & Arguments: |
|
|
Name |
|
Description |
|
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
|
number of input layers |
|
Number of planes to combin into one. Messages below determine which planes are used in the operation. |
|
|
type |
|
Type of combining of layers to perform: 0 = largest value in the n planes 1 = average of the n planes 2 = sum of the pixel intensities in the n planes. |
| Outlets: |
|
|
Name | Description |
|
|
Compacted image | Image with only one plane of information. |
| 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, extract,pack,unpack |