Page 211
Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>


Image and Mask Exchange Script Commands

In the context of a script, it is often very useful to be able to convert from action images to masks and vice-versa. Masks are always the same size as the action image, which makes this work very well without requiring scaling or other non-exact procedures.

Since WinImages F/x maintains separate image and mask stacks as described on the previous two pages, the natural place for a script to do this is using those stacks. The following commands provide a powerful set of tools for tasks that utilize masks and images in multiple roles.

PUSHIAM (Mnemonic: Push Image As Mask)

This pushes the current image as a mask onto the mask stack. White is 100% selected, black is not selected. Values in between black and white represent partially selected pixels.

See also:

  • PUSHMAI
  • PULLIAM
  • PULLMAI

PUSHMAI (Mnemonic: Push Mask As Image)

This pushes the current mask as an image, to the image stack. 100% selected comes out as white, not selected comes out as black. Values in between black and white represent partially selected pixels.

See also:

  • PUSHIAM
  • PULLIAM
  • PULLMAI

POPMAI and PULLMAI (Mnemonic: Pull Mask as Image)

This pulls the from the mask stack to the current image. 100% selected comes out as white, not selected comes out as black. Values in between black and white represent partially selected pixels.

See also:

  • PUSHMAI
  • PUSHIAM
  • PULLIAM and POPIAM

POPIAM and PULLIAM (Mnemonic: Pull Image as Mask)

This pulls the from the image stack to the mask. white comes out as 100% selected, black comes out as not selected. Values in between black and white represent partially selected pixels.

See also:

  • PUSHMAI
  • PUSHIAM
  • PULLMAI and POPMAI


Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>
Page 211

WinImages F/x, WinImages Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions

WinImages F/x Manual Version 7, Revision 5, Level B

HTML Documentation Management System © 1992-2007 Black Belt Systems