PRIMATTE S-100

(sparkPrimatte)

for

Autodesk Media & Entertainment

flame / flint / fire / inferno / smoke

Manual/Tutorial

Version 4.1.1

November 3, 2010

 

 

 

Distributed By:

Photron USA, Inc.

9520 Padgett Street, #110

San Diego, CA, USA 92125

Phone: 1-858-684-3555

Web Site: www.photron.com

Primatte office:

Photron USA, Inc.

3113 Woodleigh Lane

Cameron Park, CA 95682

Phone: 1-530-677-9980

FAX: 1-530-677-9981

Cell: 1-530-613-3212

E-mail: sgross@photron.com

Web Site: http://www.primatte.com

Developed By:

IMAGICA DIGIX, Inc.

Development Division

3F South Hill, 1-11-30

Nagata-cho, Chiyoda-ku

Tokyo 100-0014, Japan

Phone: +81-3-3238-2673

E-mail: sales@digix.imagica.co.jp

Web Site: www.imagica-digix.com

 

Transferring any part of or the whole of this manual without prior written permission of IMAGICA DIGIX Incorporated infringes copyright and is prohibited.

(C)2009 IMAGICA DIGIX Inc. All rights reserved.

As part of our continuing commitment to improvement the content of this manual is subject to change, without prior notice.

This manual is written based on the best knowledge of the author at the time of compilation.

Should you find any errors, please send a note to the author informing of such errors (sgross@photron.com).

 

Contents:

1. Installation Information…

1a. SGI NodeLocked Installation

1a1. After you have downloaded the spark...

1b. LINUX NodeLocked Installation:

1b1. After you have downloaded the spark...

1c. Macintosh NodeLocked Installation:

1c1. After you have downloaded the spark...

 

2. Requesting and Installing a sparkPrimatte License Key

2a. NodeLocked Licenses:

2a1. Requesting a NodeLocked sparkPrimatte license for SGI systems

2a2. Requesting a NodeLocked sparkPrimatte license for Linux systems

2a3. Installing a NodeLocked sparkPrimatte license on a Macintosh system

2a4. Installing a NodeLocked sparkPrimatte license on an SGI or a Linux system

2a5. Installing a NodeLocked sparkPrimatte license on a Macintosh system

2b. Floating Licenses:

2b1. Installing the RLM Floating License Manager and Requesting a Floating sparkPrimatte license for a LINUX, Windows or a Macintosh system:

2b1a. Downloading, Installing and Requesting a Floating License Key

2b1a1. RLM Floating License Manager Installation Steps (LINUX)

2b1a2. RLM Floating License Manager Installation Steps (Windows)

2b1a3. RLM Floating License Manager Installation Steps (Macintosh)

2b1a4. Setting up the floating license

2b1a5. Saving the floating license on a client system (Linux or Macintosh)

2b1a6. Saving the floating license on a client system (Windows)

2b1a7. Starting up the license daemon on a Linux system

2b1a8. Starting up the license daemon on a Macintosh system

2b1a9. Starting up the license daemon on a Windows system

2b1a10. Uninstalling the RLM License Server on a Linux system

2b1a11. Uninstalling the RLM License Server on a Mac system

2b1a12. Uninstalling the RLM License Server on a Windows system

3. Accessing sparkPrimatte from your Autodesk Application...

4. Basic Operation Tutorial

4a. The Auto-Compute tools...

4b. Step 1 - Select BG Color...

4c. Step 2 - Clean BG Noise...

4d. Step 3 - Clean FG Noise...

4e. Step 4 - Removing spill setup...

4e1. Spill Removal Method #1 - The Spill Sponge

4e2. Spill Removal Method #2 - Fine Tuning Sliders Method

4e3. Spill Removal Method #3 - Incremental Adjustment Method of Spill Removal

5. Repeatable Sampling Tools

5a. Effect of Spill (+/-) Repeatable Sampling

5b. Effect of Matte (+/-) Repeatable Sampling

5c. Effect of Detail (+/-) Repeatable Sampling

6. Spill Replacement Options

6a. Complemental Spill Replacement

6b. Solid Color Spill Replacement

6c. Defocus Spill Replacement

7. Inward Defocus Feature

8. External Matte Input

9. Log Space Image Support

10. Enhanced Color Correction Features

10a. Ctrl 2 - Foreground Color Correction

10b. Ctrl 3 - Background Color Correction

11. 3D Viewer

11a. 3D Viewer Button

11b. 3D Viewer Tools

11b1. Minimize

11b2. Large Surface

11b3. Middle Surface

11b4. Small Surface

11b5. Opaque

11b6. Samples

11b7. Clear BG

11b8. Sliced

11b9. Wireframe

12. sparkPrimatte Tools and Buttons Descriptions

12a. Ctrl 1 Page Tools and Buttons

12a1. Auto-Compute Tools

12a1a. Auto-Compute Button

12a1b. Auto FG Factor Slider

12a1c. Auto BG Factor Slider

12a2. Operational Mode Selector Tools

12a2a. Select BG Color

12a2b. Clean BG Noise

12a2c. Clean FG Noise

12a2d. Spill Sponge

12a2e. Matte Sponge

12a2f. Fine Tuning (Sliders)

12a2g. Spill (+)

12a2h. Spill (-)

12a2i. Matte (+)

12a2j. Matte (-)

12a2k. Detail (+)

12a2l. Detail (-)

12a2m. Make Foreground Transparent

12a2n. Restore Detail

12a3. Fine Tuning Sliders

12a3a. Large Polyhedron Slider (Spill Removal)

12a3b. Medium Polyhedron Slider (Transparency)

12a3c. Small Polyhedron Slider (Restore Lost Detail)

12a3. Miscellaneous Ctrl 1 Page Buttons

12a3a. Exit

12a3b. 3D View Monitor

12a3c. Result

12a3d. Setup

12a3e. Ctrl 1

12a3f. Ctrl 2

12a3g. Ctrl 3

12a3h. Ctrl 4

12a3i. Process

12a3j. Proc'ed FG Output

12a3k. Color Chip

12a3l. Shrink Value

12a3m. Defocus Value

12a3n. UnDo

12a3o. ReDo

12a3p. Reset

12a3q. Rectangle/Median/Snail Trail Sample

12a3q1. Median Point Sample

12a3q2. Rectangular Sample

12a3q3. Point or 'Snail Trial' Sample

12a3r. Complement/Solid/Defocus Spill Replacement

12a3r1. Complemental Replacement

12a3r2. Solid Color Replacement

12a3r4. Defocus Replacement

12a3s. Solid Color Spill Replacement Color Chip

12a3t. Linear/Log Image Colorspace

12a3u. Matte Output (On/Off)

12a3v. Suppress Rendering

12a3w. External Matte

12a3x. Invert External Matte

12a3y. Inward Defocus

4b5. Grain Tools

4b5a. Grain Size

4b5b. Grain Size Options

4b5b1. None

4b5b2. Small

4b5b3. Medium

4b5b4. Large

4b5c. Grain Tolerance Slider

4b5d. Grain Tools Tutorial

12b. Ctrl 2 Page Tools and Buttons

12b1. FG/BG Reset

12b2. FG Reset

12b3. FG-HSV Sliders

12b4. Reset FG-HSV Sliders

12b5. FG-Gain Gang Slider

12b6. FG-Gain Sliders

12b7. Reset FG-Gain Sliders

12b8. FG-Setup Gang Slider

12b9. FG-Setup Sliders

12b10. Reset FG-Setup Sliders

12b11. FG-Gamma Gang Slider

12b12. FG-Gamma Sliders

12b13. Reset FG-Gamma Sliders

12c. Ctrl 3 Page Tools and Buttons

12c1. BG Reset

12c2. BG-HSV Sliders

12c3. Reset BG-HSV Sliders

12c4. BG-Gain Gang Slider

12c5. BG-Gain Sliders

12c6. Reset BG-Gain Sliders

12c7. BG-Setup Gang Slider

12c8. BG-Setup Sliders

12c9. Reset BG-Setup Sliders

12c10. BG-Gamma Gang Slider

12c11. BG-Gamma Sliders

12c12. Reset BG-Gamma Sliders

12d. Ctrl 4 Page Tools and Buttons

12d1. Crop Sliders

12d2. Reset Crop

13. sparkPrimatte Files

13a. Essential Files

13a1. PrimatteV4.spark

13a2. prim4.txt

13a3. Prim_Manual.htm

13a4. pdraw

13b. Optional Files

13b1. /IMG

13b1a. alex-fg.tif

13b1b. alex-bg.tif

13b1c. tabako-fg.tif

13b1d. tabako-bg.tif

13b1e. water-fg.tif

13b1f. water-bg.tif

13b2. /ANIM

14. More About the Primatte Polyhedral Slicing Algorithms...

14a. How Primatte works...

14b. How Primatte RT+ works...

14c. How Primatte RT works..

15. If you have trouble…

16. Request a NodeLock License

 

Proprietary Notices:

 

Primatte is distributed and licensed by Photron USA, Inc., San Diego, CA, USA

Primatte was developed by IMAGICA Digix, Inc., Tokyo, Japan

Primatte is a trademark of IMAGICA Digix, Inc., Tokyo, Japan

 

 

1. Installation Information:

1a. SGI NodeLocked Installation:

1a1. After you have downloaded the spark from the Primatte web site:

NOTE: If you have downloaded the spark, it will have to be expanded from a compressed state.

1. Change the current directory to the download directory.

% cd /(your download directory)

2. Expand the Primatte spark application.

% gunzip Primatte4.1.1_WEB_spark_x86.tar.gz

% tar xf Primatte4.1.1_WEB_spark_x86.tar

3. Install the Primatte spark

% ./INST_PRIMATTE

4. You will be offered the choice of installing either the 32 or 64-bit version. Please choose the correct one for your system.

5. You will be offered the choice of installing NodeLocked or Floating license versions. Please choose the correct one based on the license you have requested (or will request).

NOTE: Demo licenses are almost always NodeLocked licenses.

NOTE: This operation will also load some sample images and support files.

NOTE: Primatte should end up as sparkPrimatte.spark in the/ /usr/discreet/sparks/PRIMATTE directory. The manual will be an .htm file in a folder in the /usr/local/PRIMATTE/SPARK/doc folder.

6. Proceed to Chapter 2. Getting and Installing a License Key.

Return to Contents link

 

1b. LINUX NodeLocked Installation:

1b1. After you have downloaded sparkPrimatte from the Photron web site:

NOTE: If you have downloaded the spark, it will have to be expanded from a compressed state.

1. On the Linux system, open a shell window and log in as root.

2. Copy the downloaded spark into the default spark directory on the Linux system (usually /usr/discreet/sparks).

3. Go to the default spark directory:

% cd /usr/discreet/sparks

4. Extract files from the 'Primatte for Linux' tar archive:

% gunzip Primatte4.1.1_WEB_spark_x86.tar.gz

% tar xf Primatte4.1.1_WEB_spark_x86.tar

5. 'CD' into the primatte installation directory:

% cd primatte

6. Change the file permissions of the installer.pl file:

% chmod 777 installer.pl

7. Run installer script

% ./install.pl

NOTE: You will be offered the choice of installing either the 32 or 64-bit version. Please choose the correct one for your system.

NOTE: You will be offered the choice of installing NodeLocked or Floating versions. Please choose the correct one based on the license you have requested (or will request).

NOTE: Primatte will appear as sparkPrimatte.spark in the /usr/discreet/sparks/PRIMATTE directory.

NOTE: The manual will be an .htm file in a folder in the /usr/local/PRIMATTE/SPARK/doc folder.

8. At this time you can delete the Primatte4.0.10_WEB_spark_x86.tar and the /primatte installation directory

% rm Primatte4.1.1_WEB_spark_x86.tar

% rm -rf primatte

9. Exit root user

10. Proceed to Chapter 2. Getting and Installing a License Key.

Return to Contents link

 

1c. Macintosh NodeLocked Installation:

1c1. After you have downloaded sparkPrimatte from the Photron web site:

NOTE: If you have downloaded the spark, it will have to be expanded from a compressed state.

1. Copy the downloaded spark into a known directory.

2. Double-click on the Primatte_v4.2_SmokeOSXInstaller.mpkg.zip file to unzip it.

3. Double-click on the Primatte_v4.2_SmokeOSXInstaller.mpkg file to run the install program.

4. Follow the directions on the install program.

5. Close the install program.

6. Proceed to Chapter 2. Getting and Installing a License Key.

Return to Contents link

 

2. Requesting and Installing a sparkPrimatte License Key

There are two types of licensing available for Primatte for Autodesk M&E, a NodeLocked license and a Floating license. The NodeLock license is locked to single system and the Floating license can be used by any single Autodesk system on the network (unless a multiple floating license is installed). This section of the manual describes how to install and set up the two license systems. This document also describes how to request a license key password file and instructions on how to activate the sparkPrimatte software once you have the license key.

NOTE: This version of Primatte no longer uses the FlexLM floating license technology. This version uses Reprise Floating License technology (RLM). See below for installation instructions as to how to download and install the floating license versions.

2a. NodeLocked Licenses:

2a1. Requesting a NodeLocked sparkPrimatte license for SGI systems:

NOTE: To request a floating sparkPrimatte license key from Photron, you have to determine the system id (32-bit format) of the SGI server system using the 'sysinfo -s' or the '/etc/sysinfo -s' command.

- Open a shell window in IRIX and type:

% /etc/sysinfo -s

- Send this information to Scott Gross by e-mail (sgross@photron.com) or FAX (1-530-677-9981) and he will send you a temporary license key for your system. You can also log onto the Primatte web site (http://www.primatte.com) and request a license in that manner.

 

2a2. Requesting a NodeLocked sparkPrimatte license for Linux systems:

- To request a license key from Photron, you have to determine the system's Primatte serial code.

- Go to the /usr/discreet/sparks/PRIMATTE/ directory (if you are not already there):

% cd /usr/discreet/sparks/PRIMATTE

- Execute the ./GetSerialCode program:

% ./GetSerialCode

- Send this information to Scott Gross by e-mail (sgross@photron.com) or FAX (1-530-677-9981) and he will send you a temporary license key for your system. You can also log onto the Primatte web site (http://www.primatte.com) and request a license in that manner.

 

2a3. Requesting a NodeLocked sparkPrimatte license for Macintosh systems:

- To request a license key from Photron, you have to determine the system's MacAddress.

- 'cd' to the /usr/discreet/sparks/PRIMATTE/ directory (if you are not already there):

% cd /usr/discreet/sparks/PRIMATTE

- Execute the ./PrimatteGetMac program:

% ./PrimatteGetMac

- Send this information to Scott Gross by e-mail (sgross@photron.com) or FAX (1-530-677-9981) and he will send you a temporary license key for your system. You can also log onto the Primatte web site (http://www.primatte.com) and request a license in that manner.

 

2a4. Installing a NodeLocked sparkPrimatte license on an SGI or a Linux system:

NOTE: The sparkPrimatte license key file is provided to you from Photron and may have been FAXed to you or e-mailed.

- The NodeLock license will consist of a string of twenty lowercase alpha characters.

Example: nijpgheeeediclaaxcre

- Use jot or vi to create a file named prim4.txt in the /usr/local/etc directory.

NOTE: The /usr and /local directories should already be there, but you may have to create the /etc directory using the mkdir command.

- Open permissions on the file.

- Copy the single line of text that makes up the license key into this text file. You may choose to end the file with a carriage return or not.

NOTE: Do not copy the lines above or below the license key characters. Just the twenty alpha characters.

 

2a5. Installing a NodeLocked sparkPrimatte license on a Macintosh system:

NOTE: The sparkPrimatte license key file is provided to you from Photron and may have been FAXed to you or e-mailed.

- The NodeLock license will consist of a string of twenty lowercase alpha characters.

Example: nijpgheeeediclaaxcre

- After the installation of the sparkPrimatte application, a window will open on the desktop labeled as prim4.txt.

- Paste the license you received in the window where it says "enter license here".

NOTE: Do not copy the lines above or below the license key characters. Just the twenty alpha characters.

- Save the prim4.txt file and close the window.

Return to Contents link

 

2b. Floating Licenses:

NOTE: The floating license server can be on a Linux, Windows or a Macintosh system. It will assign licenses to both SGI and Linux systems but must reside on a Linux system.

2b1. Installing the RLM Floating License Manager and Requesting a Floating sparkPrimatte license for a LINUX, Windows or a Macintosh system:

NOTE: To request a license key from Photron, it helps to have first installed the IMAGICA RLM License Manager software on a LINUX, Windows or Macintosh system along with the spark. The IMAGICA RLM License Manager is a license management system (based on Reprise License Manager) that allows you to execute IMAGICA/Photron products with a floating license.

NOTE: Superuser privileges are necessary to execute the following steps.

2b1a. Downloading, Installing and Requesting a Floating License Key

- Download the RLM floating license manager to a known location. You can download these packages from http://www/primatte.com.

- LINUX: The download file is labeled as RLM Floating License Manager (64-bit Linux version) and the file is named imagica_rlm_server.tar.bz2.

- Windows: The download file is labeled as RLM Floating License Manager (Windows version) and the file is named imagica_rlm_server_setup.exe.

- Macintosh: The download file is labeled as RLM Floating License Manager (Macintosh OSX version) and the file is named imagica_rlm_server.pkg.

 

2b1a1. RLM Floating License Manager Installation Steps (LINUX):

- Unzip and untar the file

% bunzip2 imagica_rlm_server.tar.bz2 (64-bit Linux version)

% tar –xvf imagica_rlm_server.tar (64-bit Linux version)

- Drop down into the server directory:

% cd imagica_rlm_server

- Login as root (if you are not already)

- Change permissions on the installer script by typing:

% chmod 777 imagica_rlm_server_install.sh

- Run the installer script by typing:

% sh ./imagica_rlm_server_install.sh

NOTE: This command creates the /usr/imagica and /var/rlm/imagica directories.

- Go to the RLM bin directory:

% cd /usr/imagica/bin

- Get the system's "rlmhostid":

% ./rlmhostid

NOTE: The "rlmhostid" will be a twelve digit hexadecimal number.

- Get the system's "hostname":

% hostname

NOTE: The "hostname" will be a text string.

- Exit root user

- For a Primatte license send the "hostname" and the "rlmhostid" to sgross@photron.com and they will return a license key.

 

2b1a2. RLM Floating License Manager Installation Steps (Windows):

- Double-click on the imagica_rlm_server_setup.exe file.

- Select a language.

- Select Next.

- Select Install.

- Click Finish to close the installer.

- Open a shell window and go to the RLM bin directory ({INSTALL_DIRECTORY}/bin):

% cd C:/Program Files (x86)/DIGIX/FloatingLicenseManager/bin

- Get the system's "rlmhostid":

% rlmhostid

NOTE: The "rlmhostid" will be a twelve digit hexadecimal number.

NOTE: If more than one rlmhostid is displayed, please note all of them and send them along with your floating license request.

- Get the system's "hostname":

% hostname

NOTE: The "hostname" will be a text string.

- Close the shell window.

- For a Primatte license send the "hostname" and the "rlmhostid" to sgross@photron.com and they will return a license key.

 

2b1a3. RLM Floating License Manager Installation Steps (Macintosh):

1. Copy the downloaded license manager into a known directory.

2. Double-click on the imagica_rlm_server.mpkg.zip file to unzip it.

3. Double-click on the imagica_rlm_serverr.mpkg file to run the install program.

4. Follow the directions on the install program.

5. Close the install program.

NOTE: This command creates the "/usr/local/DIGIX" directory.

6. Go to the RLM bin directory:

% cd /usr/local/DIGIX/FloatingLicenseManager/bin

7. Get the system's "rlmhostid":

% ./rlmutil rlmhostid internet

NOTE: The "rlmhostid" will be a twelve digit hexadecimal number.

8. Get the system's "hostname":

% hostname

NOTE: The "hostname" will be a text string.

9. Exit root user

11. For a Primatte license send the "hostname" and the "rlmhostid" to sgross@photron.com and they will return a license key.

 

2b1a4. Setting up the floating license

- Your license file is distributed by e-mail.

- A temporary license for Primatte will look something like this:

-----------------------------------------------------------------------------------------------

# Generated on 2010-11-18 13:20:24
# HostID(macaddress) [ 11:22:33:44:55:66 ]
# (expires on 30-nov-2010)

HOST imagica 112233445566 5053
ISV photron
LICENSE photron sparkprimatte 4.00 30-nov-2010 1 share=uh
  _ck=26d6ff8238 sig="60Q04580GC96TVWEA2TYTV8FC924NYM83YYJACUJ08AG1H2F
  7PY058C4HNCXF3YTA1K30KG48U3Y8
"

----------------------------------------------------------------------------------------------

- A permanent license for Primatte will look something like this:

-----------------------------------------------------------------------------------------------

# Generated on 2010-11-18 13:20:46
# HostID(macaddress) [ 11:22:33:44:55:66 ]
# (permanent license)

HOST imagica 112233445566 5053
ISV photron
LICENSE photron sparkprimatte 4.00 permanent 1 share=uh _ck=1dd6ffedc4
  sig="60P04513XFKA3T4ANDVN5964KSW0U11S2R6AN4R22GG9VX4HD3YD1BBQ2B1EDGW
  F3CP7UBSYUR"

----------------------------------------------------------------------------------------------

- For Linux and Macintosh, save the license text in a file named 'license.dat' in the "/var/rlm/imagica/ " directory.

- For Linux and Macintosh, open permissions on the license file:

% chmod 777 /var/rlm/imagica/license.dat

- For Windows, save the license text in a file named 'license.dat' in the "C:/Program Files (x86)/DIGIX/FloatingLicenseManager/lic" directory.

NOTE: If you have already had an RLM license file in that directory, append the Primatte license text string to the existing file (the line that starts with the word “LICENSE”. If the existing license file includes the same HOST line and the same ISV line, you can omit these lines.

NOTE: In the license file, any lines that start with the '#' character are comments and are ignored by the software that reads the license.

 

2b1a5. Accessing the floating license on a client system (Linux or Macintosh) if the server is on another system.

- Create a /var/rlm/imagica directory.

- Create a file named license.dat.

- Put this line in the license.dat file:

HOST (servername) (server ipaddress)

Example: HOST MacPro.local 192.168.0.9

...or...

HOST (server ipaddress)

NOTE: To use this format, the /etc/hosts file must have the (servername) and (server ipaddress) in it.

Example: 192.168.0.79       flare

 

2b1a6. Accessing the floating license on a client system (Windows) if the server is on another system.

- Create a C:\Program Files (x86)\DIGIX\FloatingLicenseManager\lic\ directory.

- Create a file named license.dat.

- Put this line in the license.dat file:

HOST (servername) (server ipaddress)

Example: HOST MacPro.local 192.168.0.9

...or...

HOST (server ipaddress)

 

2b1a7. Starting/Stopping the license daemon on a Linux system:

- To start the service:

% cd /usr/imagica/etc

% sh /usr/imagica/etc/imagica_rlm_start

- To stop the service, you can use a standard Linux method for stopping a service or type:

% sh /usr/imagica/etc/imagica_rlm_stop

NOTE: The service will be automatically started upon reboot.

NOTE: If the daemon does not start for Primatte, open the /var/tmp/imagica.log file and send it to sgross@photron.com.

 

2b1a8. Starting/Stopping the license daemon on a Macintosh system:

- To start the service:

% cd /usr/local/DIGIX/FloatingLicenseManager

% sh imagica_floating_license_manager_start.sh

- To stop the service, you can use a standard Linux method for stopping a service or type:

% cd /usr/local/DIGIX/FloatingLicenseManager

% sh /imagica_floating_license_manager_stop.sh

NOTE: The service will be automatically started upon reboot.

NOTE: If the daemon does not start for Primatte, open the /usr/local/DIGIX/FloatingLicenseManager/imagica_rlm_log txtfile and send it to sgross@photron.com.

 

2b1a9. Starting up the license daemon on a Windows system:

- To start or configure the service:

- Open a browser and access this URL...

http://localhost:5054/

- Click on the Reread/Restart Servers button.

- To stop the service, you can use a standard Linux method for stopping a service or type:

- Open a browser and access this URL...

http://localhost:5054/

- Click on the Shutdown button.

NOTE: The service will be automatically started upon reboot.

NOTE: If the daemon does not start for Primatte, open the C:/Program Files (x86)/DIGIX/FloatingLicenseManager/logs/license.log file and send it to sgross@photron.com.

 

2b1a10. Uninstalling the RLM License Server on a Linux system:

- To uninstall the Imagica RLM system, open a shell window (and as Superuser) type:

% /usr/imagica/etc/imagica_rlm_stop

NOTE: This command erases the chkconfig entry and removes the related files in /etc/rc[02].d.

- After executing the above command, remove the imagica_rlm_server package.

% rm -rf /usr/imagica

% rm -rf /var/rlm/imagica

 

2b1a11. Uninstalling the RLM License Server on a Mac system:

- To uninstall the Imagica RLM system, open a shell window (and as Superuser) type:

% cd /usr/local/DIGIX/FloatingLicenseManager

% sh imagica_floating_license_manager_stop.sh

NOTE: This command erases the chkconfig entry and removes the related files in /etc/rc[02].d.

- After executing the above command, remove the imagica_rlm_server package.

% rm -rf /usr/local/DIGIX/FloatingLicenseManager

% rm -rf /var/rlm/imagica

 

2b1a12. Uninstalling the RLM License Server on a Windows system:

- Double-click on the C:/Program Files (x86)/DIGIX/FloatingLicenseManager/Uninstall.exe program.

- After it has completed, delete the C:/Program Files (x86)/DIGIX directory.

Return to Contents link

 

 

3. Accessing the Primatte spark from your Autodesk application

- Start up flame/flint/fire/inferno/smoke and click on the EFFECTS button.

- If you don't see the sparkPrimatte button in the EFFECTS menu, hold down the ALT key and click on the sparks button. This will bring up an Autodesk 'file browser' window. Click on the PrimateV4.spark name (or PrimatteV4.spark_64 for 64-bit IRIX or PrimatteV4.spark__x86_64 for 64-bit Linux) to open an Autodesk 'file browser' window. Click on the sparkPrimatte.spark name (it should be located in the /usr/discreet/sparks/PRIMATTE directory) and sparkPrimatte will be registered as a spark button in the EFFECTS window.

- Click the sparkPrimatte button within the panel, and the cursor will turn to a red color.

- Use this red cursor to select a foreground clip. Put the point of the cursor to the numbers in the upper-left corner of the clip to select it.

- The cursor will then turn to a green color.

- Use this green cursor to select a background clip in the same manner as the foreground clip.

- The cursor will then turn to a blue color.

- Use this blue cursor to select a garbage matte clip in the same manner as the foreground clip. If you are not using a garbage matte, just click again on the background clip.

- After this step, the cursor will turn to a white color . Select a place to put the destination reel.

- At this point, the user should be presented with the Primatte control panel:

Note: sparkPrimatte can also be started up by using Autodesk M&E's Same Clips Shortcut.

Note: If the user gets an "Inadequate Cryptogram Error" message, then sparkPrimatte is unable to find the Primatte license file (prim4.txt) in the /usr/local/etc directory. Follow these procedures to solve the problem:

Step #1: Make sure that the license key string is in a file named prim4.txt and is located in the /usr/local/etc directory. Make sure that permissions are open on it (chmod 777 prim4.txt). Ensure that the file contains only the one line of text that was sent to you (it can end with a CR or not). Do not include the '--start key---' or '---end key---' lines.

Step #2: Make sure that there are no other files named prim4.txt on the system. sparkPrimatte first looks for a $HOME/prim4.txt file before it looks for /usr/local/etc/prim4.txt. If it finds an older expired license string it kicks out with the "inadequate cryptogram" error message and never finds the valid license.

Step #3: Make sure that you have the right spark version. Make sure it is in the /usr/discreet/sparks/PRIMATTE directory and has a .spark extension (for example: sparkPrimatte.spark or Primatte.spark). Make sure that permissions are open on it also.

Step #4: Make sure that the 'sysinfo -s' number that you sent to Photron is correct for the SGI system that you are using.

 

Return to Contents link

 

 

4. Basic Operation Tutorial

NOTE: This describes the operation of the Primatte plug-in. A more detailed explanation of how the Primatte algorithm actually works can be found in Section 13 of this manual.

NOTE: This version of Primatte has a new feature that may eliminate the first three steps of using Primatte. It is called the Auto-Compute button and may make your keying operation much easier. You can click on this button as a first step and it may automatically sense the backing screen color, eliminate it and even get rid of some of the foreground and background noise that would normally be cleaned up in Steps 2 (Clean BG Noise) and 3 (Clean FG Noise) of the Primatte operation. If you get good results then click here to jump ahead to the spill removal tools.

NOTE: The Auto-Compute button has two sliders that modify its behavior; the Auto BG Factor and the Auto FG Factor sliders. These may be moved to get better results with the Auto-Compute button.

- If you don't get the results you wanted from Auto-Compute, please continue from this point on to get the basic Primatte operation procedures...

- The basic functionality for the sparkPrimatte interface is centered around these four buttons and the image window. The top field (indicated here by the Select BG Color button) is the Operational Selector where you select which operational mode you want to use.

- There are four main steps to using the sparkPrimatte and Select BG Color is the first step and comes up as the default when the spark is first opened. The other options available from this button are shown below. This is called the Operational Mode Selector.

Note: The operation of sparkPrimatte can be executed by using either the pressure-sensitive pen or a mouse. Press down the pressure-sensitive pen and drag it around within the image or make a single pixel selection to sample the color. Release the pressure-sensitive pen slowly, and sparkPrimatte will start the keying computation. Do not release the pen too quickly or sparkPrimatte may fail to detect the weaker pressures. The right mouse button applies the equivalent of strong pen pressure and the left mouse button applies the equivalent of a weak pen pressure. Press the right button and drag the mouse to sample a color, release the button to display the sampled color and start the computation.

- Click on the Result button on the left hand side of the Monitor Selector. This will change the image in the monitor window to the Composite View.

- Ensure that the Operation Mode Selector in the pop-up menu is set to Select BG Color .

- Position the cursor in the bluescreen area (or whatever background color you are using), near the foreground object. Sample the targeted background color. Release the pressure-sensitive pen slowly, and sparkPrimatte will start the compositing process. If the foreground shot was done under ideal shooting conditions, sparkPrimatte will have done 90-95% of the composite in this one step.

NOTE: Primatte will work equally well with any color backing screen. It does not have to be a specific shade of green or blue.

TIP: If you dragged the cursor in the blue area, sparkPrimatte averages the multi-pixel sample to get a single color to adjust to. Sometimes sparkPrimatte works best when only a single pixel is sampled instead of a range of pixels. The color selected at this point in the Primatte operation is critical to the operation of the spark from this point forward. Should you have difficulties further along in the tutorial after selecting a range of blue shades, try the Select BG Color operation again with a single dark blue pixel or single light blue pixel.

TIP: If the foreground image has a shadow in it that you want to keep in the composite, do not select any of the dark blue pixels in the shadow and the shadow will come along with the rest of the foreground image.

- The second and third steps in using sparkPrimatte require viewing the Matte View in the monitor window. Click on the Matte Output button located on the top of the right-hand side column. The image displayed in the monitor window will change to a black and white `matte' view of the image.

- Change the Operational Mode Selector from Select BG Color to Clean BG Noise . If there are any white regions in the dark, `bluescreen area', it is 'noise' (or shades of blue that did not get picked up on the first sample) and should be removed. Move the cursor through these areas if using the Snail Trail sampling method (or make a box around them if using the Rectangular Sampling method) and sample these whitish noise regions. When you let up on the pen or mouse button, sparkPrimatte will process the data and eliminate the noise. Repeat this procedure as often as necessary to clear the noise from the background areas. Sometimes increasing the brightness of your monitor or the screen gamma allows you to see noise that would otherwise be invisible.

                                                     

                     Before Background noise removal               After Background noise removal

NOTE: You do not need to remove every single white pixel to get good results. Most pixels displayed as a dark color close to black in a key image will become transparent and virtually allow the background to be the final output in that area. Consequently, there is no need to eliminate all noise in the bluescreen portions of the image. In particular, if an attempt is made to meticulously remove noise around the foreground object, a smooth composite image is often difficult to generate.

TIP: When clearing noise from around loose, flying hair or any background/foreground transitional area, be careful not to select any of areas near the edge of the hair. Leave a little noise around the hair as this can be cleaned up later using the Fine Tuning (Sliders) tool.

- If there are dark regions in the middle of the mostly white foreground object, that is, if the key is not 100% in some portion of the targeted foreground, choose Clean FG Noise from the Operational Mode Selector pop-up menus. Use the same techniques as for Clean BG Noise, but this time sample the dark pixels in the foreground area until that area is as white as possible.

                                                       

                   Before Foreground Noise Removal               After Foreground Noise Removal

- These were the steps necessary to create a clean 'matte' or 'key' view of the image. With this key, the foreground can be composited onto any background image. However, if there is `spill' on the foreground object from light that was reflected off the background, a final operation is necessary to remove that background spill get a more natural looking composite.

- For the fourth step in the sparkPrimatte operation, return the Composite view to the monitor window by clicking again on the Matte Output toggle button. This will turn off the Matte Output viewing mode and the monitor window will again display the Composite view.

- The sample image below has gone through the first three steps and has examples of spill. Notice the blue fringe to her hair and a blue tint on her right cheek, arm and chest.

Spill Removal - Method #1

- There are three ways in Primatte to remove the spill color. The quickest method is to select the Spill Sponge button from the Operational Mode Selector and then sample the spill areas away. By just positioning the cursor over a bluish pixel and selecting it, the blue will disappear from the selected color region and be replaced by a more natural color. Additional spill removal should be done using the Fine Tuning (Sliders) feature or the Spill (-) feature. Both are explained further on in this manual.

Note: All spill removal/replacement operations in Primatte can be modified using the Background Spill Replacement tools. Spill can be replaced with either the complement of the background color, a solid color selected by the user or by colors brought from a defocused copy of the background. Depending on the spill conditions, one of these options should provide the results you are looking for. See the information in 7. Spill Replacement Options for more details.

Note: Primatte's spill removal tools work on 'color regions'. In the image above, samples should be made on the light flesh tones, the dark flesh tones, the light blonde hair, the dark blonde hair and the red blouse color regions. One sample in each color region will remove spill from all similar colors in the foreground image.

- If the spilled color was not been totally removed using the above procedure, a fine-tuning operation Spill (-) tool should follow for more subtle and sophisticated removal of the spilled background color.

 

Spill Removal - Method #2

- Select the Fine Tuning (Sliders) button under the Operational Mode Selector.

- Using the zoom and pan capabilities of the Autodesk M&E application, zoom into an area that has some blue edges.

- Using the cursor, sample a range of the blue pixels that you want to remove. When you let up on the pen or mouse button, sparkPrimatte will register the color selected in the Color Chip just below the Sm. Poly (Detail) slider. For most images, the Large Poly (Spill) slider is all that is required to remove any remaining bluespill. The more to the right the slider moves, the more background screen color will be removed from the sampled pixels. The more to the left the slider moves, the more the selected pixels will move toward the original foreground image's color. The sliding operation is performed by clicking on the Large Poly (Spill) button and sliding the pen or mouse left or right to change the value.

Note: When using the slider in the Fine Tuning (Sliders) mode to remove spill, spill color replacement will be replaced based on the setting of the Spill Replacement Buttons. See Spill Replacement Buttons for more information in Chapter 12. sparkPrimatte Tools and Buttons.

Note: In the Fine Tuning (Sliders) mode, re-computation of the composite image will not be accomplished if the pressure-sensitive pen is released too slowly.

TIP: It is better to make several small adjustments to the bluespill areas than a single major one.

- You can use the other two sliders in the same way for different key adjustments. The Sm. Poly (Detail) slider controls the matte softness for the color which is closest to the background color. For example, you can recover lost rarefied smoke in the foreground by selecting the Fine Tuning (Sliders) mode, clicking on the area of the image where the smoke just starts to disappear and moving the Sm. Poly (Detail) slider to the left. The Med. Poly (Trans.) slider controls the matte softness for the color which is closest to the foreground color. For example, if you have thick and opaque smoke in the foreground, you can make it semi-transparent by moving the Med. Poly (Trans.) slider to the right after selecting the pixels in the Fine Tuning (Sliders) mode.

TIP: If the foreground image changed color dramatically during the fine tuning process, you can recover the original color by selecting an area of the off-color foreground image and moving the Large Poly (Spill) slider slightly to the left. This may introduce bluespill back into that color region. Again, use the Fine Tuning (Sliders) option to suppress the blue, but make smaller adjustments this time.

 

Spill Removal - Method #3

- This method uses a new Primatte tool that is covered in the next section Chapter 6. Repeatable Sampling Tools.

NOTE: If these final 'spill suppression' operations have changed the final compositing results, you may have to return to earlier operations to clean up the matte. If the Composite view looks good, it is a good idea to go back and take a final look at the Matte View. Sometimes in the Primatte operation, a 100% foreground area will become slightly transparent. You can clean those transparent areas up by using the Matte Sponge button. After selecting the Matte Sponge operational mode, just click on the transparent pixels and they will become 100% foreground. All of the spill-suppression information will remain intact. Alternatively, you can go to the Matte view and then using the Fine Tuning (Sliders) option, select those transparent areas and move the Med. Poly (Trans.) slider slightly to the left. This will move that color region from 0-99% foreground with spill suppression to 100% foreground with spill suppression and should solve the problem. The Matte (+) tool will also work to solve this problem.

Return to Contents link

 

 

5. Repeatable Sampling Tools

Most of the Primatte operations are done using a 'mouse sampling' operation. The only exceptions are the Fine Tuning (Sliders) operational mode and its sliders. The Fine Tuning operation gives a continuous valuator for fine-tuning but some of the sliders are not often used because results are often unpredictable.

Note: Another weak point in previous versions of sparkPrimatte is the lack of functionality to attenuate and thicken the existing matte density. This version of sparkPrimatte offers a more intuitive, easy-to-use and powerful user interface called the Repeatable Sampling Operation.

In addition to the conventional sparkPrimatte operation modes, six new modes are added:

/ Spill (+)

\ Spill (-)

/ Matte (+)

\ Matte (-)

/ Detail(+)

\ Detail(-)

 

The Spill Sampling Tools

- Using the Spill (+) and Spill (-) modes, you can gradually remove or recover the spill intensity on the foreground object by sampling the referenced color region repeatedly. The conventional Spill Sponge tool removes the spill component in a single action at one level and did not allow sampling the same pixel a second time. Even though just a small amount of spill needed to be removed, the spill sponge removed a preset amount without allowing any finer adjustment.

Effect of Spill (+/-) Repeatable Sampling

- Using the zoom and pan capabilities of the Autodesk M&E application, zoom into an area that has some blue edges and click on a pixel with some spill on it. Repeated clicking will incrementally remove the spill. Continue this operation until the desired result is achieved.

 

The Matte Sampling Tools

- The Matte (+) and Matte (-) modes are used to thicken or attenuate the matte information. If you want a thinner shadow on a foreground object, you can use the Matte (-) mode as many times as you like to make it more transparent. On the other hand, you can use the Matte (+) mode to make the matte thicker in that color region.

Effect of Matte (+/-) Repeatable Sampling

 

The Detail Sampling Tools

- The Detail (+) and Detail (-) modes are a refined version of Clean BG Noise and Restore Detail. For example, when you see some dilute noise in the backing area but don't want to remove it completely because it affects some fine detail in a different area, try using Detail (-). It will attenuate the noise gradually as multiple samples are made on the pixel. You should stop the sampling when important fine details start to disappear.

Effect of Detail (+/-) Repeatable Sampling

Return to Contents link

 

6. Spill Replacement Options

The proper processing of spill on foreground objects is one of the many useful features of Primatte. There are now three spill processing methods whereas older versions of the sparkPrimatte product supported only one or two of them. The three methods are as follows:

- Complemental Spill Replacement

- Solid Color Spill Replacement

- Defocus Spill Replacement

 

Complemental Replacement Mode:

- This is the default spill replacement mode. This mode will maintain fine foreground detail and deliver the best quality results. If foreground spill is not a major problem, this mode is the one that should be used.

Complemental Replacement Mode Maintains Fine Detail.

- The Complemental Replacement mode is sensitive to foreground spill. If the spill intensity on the foreground image is rather significant, this mode may often introduce serious noise in the resultant composite.

Solid Color Replacement Mode

 

Solid Color Replacement Mode:

- In the Solid Color Replacement mode, the spill component will be replaced by a 'user defined' palette color. While the Complemental Replacement mode uses only the backing color complement to remove small amounts of spill in the original foreground, the Solid Color Replacement mode tries to assuage the noise using the 'user defined' palette color. Changing the palette color for the solid replacement, the user can apply good spill replacement that matches the composite background. Its strength is that it works fine with even serious blue spill conditions.

Smooth Spill Processing with Solid Color Replacement

- On the negative side, when using the Solid Color Replacement mode, fine detail on the foreground edge tends to be lost. The single palette color sometimes cannot make a good color tone if the background image has some high contrast color areas.

 

Defocus Replacement Mode

- The Defocus Replacement mode uses a defocused copy of the background image to determine the spill replacement colors instead of a solid palette color or just the complement color. This mode can result in good color tone on the foreground object even with a high contrast background. As in the example below, spill can even be removed from frosted glass using this feature and still retain the translucency.

- On the negative side, the Defocus Replacement mode sometimes results in the fine edge detail of the foreground objects getting lost. Another problem could occur if the user wanted to later change the size of the foreground image against the background. Since the background/foreground alignment would change, the applied color tone from the defocused image might not match the new alignment.

Blue Suppression of a Frosted Glass Object

 

Return to Contents link

 

 

7. Inward Defocus Feature

A new method of defocusing the matte has been added. This new feature only blurs inward toward the center of the foreground subject. The conventional Primatte defocus feature affected the matte edges in both directions (inward and outward) and sometimes introduced a halo artifact around the object edge in the composite view. This was most evident when using the Complemental Replacement mode. With the Inward Defocus switch ON, the matte defocus functions only in the inward direction of the foreground subject (toward the center of the white area). The final result is that it removes small and dark noise in the backing area without picking them up again in the Clean BG Noise mode and sometimes results in softer, cleaner edges on the foreground objects.

 

Return to Contents link

 

 

8. External Matte Input

sparkPrimatte now accepts a hand-drawn matte as the external matte to hide the unnecessary garbage like light arms, microphones and other undesirable foreground object. Areas that are white in the garbage matte clip will take the pixels from the background and areas that are black will be from the composite image. This External Matte can also be inverted.

 

Return to Contents link

 

 

9. Log Space Image Support

- flame/flint/fire/inferno/smoke can import Cineon 10-bit log image files but be aware that in doing so, it converts the image color space into a '12-bit linear' or '8-bit linear' format. This may cause some color quantum errors even though they work in the 12-bit color mode. On the other hand, Primatte internal calculations are calculated using '16-bit linear'. This is enough precision to accurately represent 10-bit log information. However, if it was once converted to '12-bit linear' by flame/flint/fire/inferno/smoke, Primatte cannot maintain or recover the lost data.

- sparkPrimatte Version 3.0 now supports '12-bit log' and '8-bit log' data for the IFFFE3's image buffer. Users can just import the Cineon 10-bit with a simple custom LUT that just shifts up two bits or shifts down two bits from the original 10-bit data. Primatte converts the 12-bit/8-bit log data directly to the high precision, internal 16-bit linear space, processes it and re-converts back to 12-bit/8-bit log space.

- The reference white, reference black and the soft clip levels of the log-linear conversion table can also be controlled by the user for high quality color manipulations by setting the following environmental variables:

[Reference White] PRIMLOG_REFWHITE (default=685)

[Reference Black] PRIMLOG_REFBLACK (default=95)

[Soft Clip] PRIMLOG_SOFTCLIP (default=0)

The shell command line can be used to preset the data:

Example: %setenv PRIMLOG_REFWHITE 690

- A conversion graph with soft clipping for a log space image is shown below.

Return to Contents link

 

 

10. Enhanced Color Correction Features

Ctrl 2 - Foreground Color Correction

Foreground color correction tools have been enhanced in this version of Primatte. New features include a gang slider for the Gain, Setup and Gamma controls of the RGB channels and partial reset buttons for Gain, Setup and Gamma controls. See 11. sparkPrimatte Tools and Buttons for more information about using these new features.

Ctrl 3 - Background Color Correction

Background color correction tools have also been enhanced in this version of Primatte. New features include a gang slider for the Gain, Setup and Gamma controls of the RGB channels and partial reset buttons for Gain, Setup and Gamma controls. See 11. sparkPrimatte Tools and Buttons for more information about using these new features.

 

Return to Contents link

 

 

11. 3D Viewer

3D Viewer

This button opens a window that displays the Primatte algorithms and allows the user to see what is happening as he uses the various Primatte tools. It is a passive feature that has no adjustment capabilities, it may prove useful in evaluating an image as you operate on it.

When you select it, you are presented with a window that may look similar to one of these images (depending on which Primatte algorithm you have selected)...

       

The different algorithms are described in more detail in the next section of this manual. Here is a description of the tools and features of the 3D Viewer:

3D Viewer Tools

At the top of the 3D Viewer window are three areas that can be clicked on:

1. Clicking and dragging on the blue center area allows the user to move the window around on the screen.

2. Clicking and dragging on the triangular white region in the upper right corner allows the user to scale the 3D Viewer window.

3. Clicking on the square white region in the upper left of the window displays a pop-up menu that looks like this...

NOTE: A selected feature has a solid yellow square next to it. An Unselected feature has a hollow yellow square next to it.

Minimize

This feature, when selected, make the 3D Viewer window disappear. Only the Blue bar at the top of the window remains.

Large Surface

This feature, when selected, displays the large Primatte polyhedron in the viewer window.

Middle Surface

This feature, when selected, displays the medium Primatte polyhedron in the viewer window.

Small Surface

This feature, when selected, displays the small Primatte polyhedron in the viewer window.

Opaque

This feature, when selected, makes the selected polyhedrons opaque. De-selecting it makes them semi-transparent.

Samples

This feature, when selected, allows the user to sample color regions on the image window using the 3D Sample Operation Mode and see where those regions are in relation to the polyhedron and the algorithm. The colors will be displayed as a spray of pixels in the color selected. This button only allows the user to see or clear the sampled colors.

NOTE: The 3D Sample Operation Mode must be selected for this feature to operate. Click here for details on that tool.

Clear BG

This feature changes the background color of the 3D Viewer window from black (when unselected) to transparent (when selected).

Sliced

This feature, when selected, slices open the large and medium polyhedrons so that the inner polys can be seen. When unselected, the largest polyhedron selected becomes a completely closed polyhedron and you cannot see the inner polyhedrons (unless the Opaque feature is deselected).

Wireframe

This feature, when selected, changes the polyhedrons from shaded-surface objects to wireframe objects.

Return to Contents link

 

 

12. sparkPrimatte Tools and Buttons

Ctrl 1 Page Primatte Tools and Buttons

<>

Auto-Compute Tools

The Auto-Compute tools can be used as the first step in the Primatte operation. It's purpose is to try and do the first three steps of the Primatte operation for you. It will try to automatically detect the backing screen color, remove it and do some clean-up on the foreground and background noise. If the clip was shot with an evenly lit, well saturated backing screen, the Auto-Compute button will leave you with an image that may only need some spill removal to complete your keying operation.

Auto-Compute Button

The Auto-Compute button is used to activate the Auto-Compute feature.

Auto FG Factor Slider

The Auto FG Factor slider can be used to modify how the Auto-Compute algorithm deals with foreground noise. Change the position of this slider and you can see the results of the Auto-Compute operation change.

Auto BG Factor Slider

The Auto BG Factor slider can be used to modify how the Auto-Compute algorithm deals with background noise. Change the position of this slider and you can see the results of the Auto-Compute operation change.

Operational Mode Selector Tools

Select BG Color

When this operational mode is selected, the Primatte operation will be initially computed by having the user sample the target background color within the image window. For keying operations, this is the first step and should be followed by the steps described immediately below.

Clean BG Noise

When this operational mode is selected, the user samples pixels on the image window known to be 100% background. White noisy areas in the 100% background region will become black. This is usually the second step in using Primatte.

Clean FG Noise

When this operational mode is selected, the user samples pixels on the image window known to be 100% foreground. The color of the sampled pixels will be registered by sparkPrimatte to be the same color as in the original foreground image. This will make dark gray areas in the 100% foreground region become white. This is usually the third step in using Primatte.

Spill Sponge

When this operational mode is selected, the background color component in the sampled pixels (or spill) within the image window is keyed out and removed for the color region selected. This operation can only be used once on a particular color and the amount of spill suppression applied is not adjustable. It is the fastest way to remove spill from a composite image. For more accurate spill suppression, a Fine Tuning (Sliders) or Spill (+) operation should follow or be used instead. This can usually be the fourth (and final) step in using Primatte unless additional adjustments are necessary.

Matte Sponge

When this operational mode is selected, the sampled color within the image window becomes 100% foreground. However, if the sampled color is already keyed out and removed, it leaves the current 'suppressed' color. It only affects the key or matte information. This tool is usually used to quickly remove stray transparent pixels that have appeared during the chromakeying procedure. It is a quick and easy way to make final adjustments to a composite.

Fine Tuning (Sliders)

When this operational mode is selected, the color of the sampled pixel within the image window is registered as a reference color for fine tuning. It is displayed in the Color Chip below the Sm. Poly (Detail) slider. To perform the tuning operation, sample a color region on the image, select a Fine Tuning slider and move the slider to achieve the desired effect. See the Fine Tuning Sliders tool descriptions further on in this chapter for more details on slider selection.

Spill (+)

When this operational mode is selected, color spill will be returned to the sampled pixel color (and all colors like it) in the amount of one Primatte increment. This tool can be used to move the sampled color more in the direction of the color in the original foreground image. It can be used to nullify a Spill (-) step. This tool dents the Primatte large polyhedron in the color region sampled.

Spill (-)

When this operational mode is selected, color spill will be removed from the sampled pixel color (and all colors like it) in the amount of one Primatte increment. If spill color remains, another click using this operational mode tool will remove more of the color spill. Continue using this tool until all color spill has been removed from the sampled color region. This tool expands the Primatte large polyhedron in the color region sampled.

Matte (+)

When this operational mode is selected, the matte will be made more opaque for the sampled pixel color (and all colors like it) in the amount of one Primatte increment. If the matte is still too translucent or thin, another click using this operational mode tool will make the sampled color region even more opaque. This can be used to thicken smoke or make a shadow darker to match shadows in the background imagery. It can only make these adjustments to the density of the color region on the original foreground image. It can be used to nullify a Matte (-) step. This tool dents the Primatte medium polyhedron in the color region sampled.

Matte (-)

When this operational mode is selected, the matte will be made more translucent for the sampled pixel color (and all colors like it) in the amount of one Primatte increment. If the matte is still too opaque, another click using this operational mode tool will make the sampled color region even more translucent. This can be used to thin out smoke or make a shadow thinner to match shadows in the background imagery. This tool expands the Primatte medium polyhedron in the color region sampled.

Detail (+)

When this operational mode is selected, foreground detail will become less visible for the sampled pixel color (and all colors like it) in the amount of one Primatte increment. If there is still too much detail, another click using this operational mode tool will make more of it disappear. This can be used to remove smoke or wisps of hair from the composite. Sample where is visible and it will disappear. This is for moving color regions into the 100% background region. It can be used to nullify a Detail (-) step. This tool expands the Primatte small polyhedron in the color region sampled.

Detail (-)

When this operational mode is selected, foreground detail will become more visible for the sampled pixel color (and all colors like it) in the amount of one Primatte increment. If detail is still missing, another click using this operational mode tool will make detail more visible. This can be used to restore lost smoke or wisps of hair. Sample where the smoke or hair just disappears and it will return to visibility. This is for restoring color regions that were moved into the 100% background region. It may start to bring in background noise if shooting conditions were not ideal on the foreground image. This tool dents the Primatte small polyhedron in the color region sampled.

Make Foreground Transparent

When this mode is selected, the opaque foreground color region sampled in the image window becomes slightly translucent. This operation is useful for the subtle tuning of foreground objects which are otherwise 100 percent covered with smoke or clouds. It can only be used one time on a particular color. For a more flexible way to thin out a color region and be able to make multiple samples, you should use the Matte (-) tool. It expands the medium polyhedron slightly.

Restore Detail

With this mode selected, the completely transparent background region sampled in the image window becomes translucent. This operation is useful for restoring lost hair details, thin wisps of smoke and the like. It shrinks the small polyhedron slightly.

Defocus FG

This changes the view in the viewport to the Defocused Foreground image used in the grain removal algorithm explained later in this manual.

Fine Tuning Sliders

Large Polyhedron Slider (Spill Removal)

When in the Fine Tuning (Sliders) operational mode, this slider can be used to remove spill from the registered color region. After choosing the Fine Tuning (Sliders) operational mode and selected a color region, this slider can be moved to remove spill from the registered color region. The more to the right the slider moves, the more spill will be removed. The more to the left the slider moves, the closer the color component of the selected region will be to the color in the original foreground image. If moving the slider all the way to the right does not remove all the spill, re-sample the color region and again move the slider to the right. These slider operations are additive. This result achieved by moving the slider to the right can also be achieved by clicking on the color region using the Spill (-) operational mode. This slider bulges the Primatte large polyhedron near the registered color region.

Medium Polyhedron Slider (Transparency)

When in the Fine Tuning (Sliders) operational mode, this slider can be used to make the matte more translucent in the registered color region. After choosing the Fine Tuning (Sliders) operational mode and selected a color region, moving this slider to the right makes the registered color region more transparent. Moving the slider to the left makes the matte more opaque. If moving the slider all the way to the right does not make the color region translucent enough, re-sample the color region and again move the slider to the right. These slider operations are additive. This result achieved by moving the slider to the right can also be achieved by clicking on the color region using the Matte (-) operational mode. This slider bulges the Primatte medium polyhedron near the registered color region.

Small Polyhedron Slider (Restore Lost Detail)

When in the Fine Tuning (Sliders) operational mode, this slider can be used to restore lost detail. After choosing the Fine Tuning (Sliders) operational mode and selected a color region, moving this slider to the left makes the registered color region more visible. Moving the slider to the left makes the color region less visible. If moving the slider all the way to the left does not make the color region visible enough, re-sample the color region and again move the slider to the left. These slider operations are additive. This result achieved by moving the slider to the left can also be achieved by clicking on the color region using the Detail (-) operational mode. This shrinks the small polyhedron (which contains all the blue or green background colors) and releases pixels that were close to the background color. The Small Polyhedron Slider in the Fine Tuning (Sliders) mode is useful for restoring pixels that were lost because they were so similar to the background color. This slider dents the Primatte small polyhedron near the registered color region.

 

Miscellaneous Ctrl 1 Page Buttons

Exit

This button exits the Primatte spark and returns to the Effects menu options.

3D View Monitor

This changes the view in the image window to the Original Foreground image.

Result

This changes the view in the image window to the Composite image.

Setup

Exits sparkPrimatte and changes the menu to the Setup menu. From here, the user can save and load sparkPrimatte's key parameter data as 'data sets'.

Ctrl 1

Used to display the main sparkPrimatte tool window. This where the users executes the Primate operation.

Ctrl 2

Used to access the Foreground Color Correction tools.

Ctrl 3

Used to display the Background Color Correction tools.

Ctrl 4

Used to access the 3D Viewer and Crop Window. The 3D Viewer allows the user to see the Primatte algorithm graphically. The Crop Tools allow the user to set a rectangular cropping region for garbage matting purposes.

Process

Starts the automated rendering for sequential images.

Proc'ed FG Output

This button is used to transfer sparkPrimatte information to the Autodesk M&E Action module. Perform the sparkPrimatte operation to create a final composite, create a matte by selecting the Matte Output button and the Process button. Create a Processed FG output by selecting the Proc'ed FG Output button and the Process button. These two pictures (clips) should then be imported to the Action module. You can also save the Processed Foreground image output as clip images by selecting this button. It is the color processed foreground which can be used (with the mask channel image) in Quick Composite, Compositor or Action function in the flame/flint/fire/inferno/smoke menu. The main purpose being for "Multi-layering". If the customer is using the matte and FG to composite pictures in the Action module, a bluish edge may appear in the resulting image. The customer should use the matte and processed (or blue-suppressed) foreground for the best results. Although the Proc'ed FG Output may look noisy in the image widow (depending on the spill replacement mode selected), it will be processed properly and deliver the desired results.

Color Chip

This is the display color chip that shows the color selected (or registered) by the Fine Tuning (Sliders) operational mode.

Shrink Value

Determines the degree of background penetration into the foreground around the silhouette of the foreground object.

Note: With using this feature, foreground details and smoothness of motion blur may be adversely affected. Set it to 0 for optimum results.

Defocus Value

Determines the defocusing level being applied to the matte. When using this tool, some noise may appear around the edges of the foreground object. To avoid this problem, toggle the to the Solid Color Replacement mode.

Note: With using this feature, foreground details and smoothness of motion blur may be adversely affected. Set it to 0 for optimum results.

Undo

Cancels the previous Primatte operation. Up to 2000 levels of Undo/Redo are supported.

Redo

Redoes the previous operation. Up to 2000 levels of Undo/Redo are supported.

Reset

Resets all of the Primatte key control data.

Rectangle/Median/Point/Snail Trail Sample Selector

This button allows the user to choose between a Median Point sample, an interactive Rectangular pixel selector or to sample using a Snail Trail 'click and drag' method.

Median Point Sample

The Median Point selection mode is the same as Point selection except that each point is the result of taking a 3x3 region around the point the user clicked and then applying a median filter. This can potentially reduce any noisy pixels.

Rectangular Sample

When Bounding Box is selected, the user clicks and drags to create a rectangular selection area. When using the Select BG Color, Spill +/-, Detail +/-, Matte +/- tools, the selection is then created from the average of all the pixels in the rectangular area. The rest of the operations (e.g. Clean BG Noise, Clean FG Noise, etc.), take account of all the pixels in the rectangular region.

Point or 'Snail Trail' Sample

A Point or 'Snail Trail' selection is like a trail of pixels selected as the cursor moves over the image. Point selection is similar to Bounding Box, so it is either averages or uses all the pixel information of the trail dependent on the operation.

Complement/Solid/Defocus Spill Replacement

Allows the user to choose between the three methods of color spill replacement:

Complemental Replacement - Replaces the spill color with the complement of the backing screen color.

Solid Color Replacement - Replaces the spill color with a 'user selected' solid color.

Defocus Replacement - Replaces the spill color with colors from a defocused version of the background image.

Solid Color Spill Replacement Color Chip

This color chip displays the current Solid Color Spill Replacement Color (by default, it is gray; R128, G128, B128). By clicking on this color chip, the Solid Color Replacement Color selector window is displayed in the lower right corner of the display monitor allowing the user to select a solid color to be used in replacing colorspill when using the Solid Color Replacement method.

Linear/Log Image Colorspace

Selects between Log image file or Linear image file.

Matte Output (On/Off)

This changes the image view in the main image view window to the Matte View. It should also be used to toggle back to the Composite View.

Suppress Rendering

With most sparkPrimatte operations, computation and redrawing of images are automatically executed. With this switch turned on, automatic computation and redrawing are suppressed, with the current picture remaining on the main image view window. The user can then perform several sparkPrimatte operations, but they will not be performed on the image until this button is selected again. This feature is useful for saving processing time, for example, when you are removing background noise on a pixel by pixel basis in Clean BG Noise mode.

External Matte

This activates the External Matte clip (if one has been created and attached). The white area of the third input to sparkPrimatte will be classified as 100% transparent regardless of the original FG information.

Invert External Matte

The external matte image can be inverted by clicking on the Invert Ext.Mat. button. With this button highlighted (pushed), the black area in the image of external matte input will be processed as the complete background pixel.

Inward Defocus

This feature forces the blur inward toward the center of the foreground subject. The conventional matte blur feature affected the matte edges in both directions (inward and outward) and sometimes introduced a halo artifact around the object edge in the composite view. This was most evident when using the Complemental Replacement mode. With the Inward Defocus switch ON, the matte defocus functions only in the inward direction of the foreground subject (toward the center of the white area). The final result is that it removes small and dark noise in the backing area without picking them up again in the Clean BG Noise mode and sometimes results in softer, cleaner edges on the foreground objects.

Grain Tools

The Grain Tools are used when a foreground image is highly compromised by film grain. As a result of the grain, when backing screen noise is completely removed, the edges of the foreground object often become harsh and jagged leading to a poor key. These tools were created to, hopefully, help when a compositing artist is faced with a grainy image.

Grain Size

The Grain Size selector gives the user a range of grain removal from Small to Large. The use of this tool is explained further along in this section.

When the Grain Size tool is selected, it brings up a pop-up menu that looks like this...

If the foreground image has a large amount of film grain induced pixel noise, you may loose a good edge to the foreground object when trying to clean all the grain noise with the Clean BG Noise Operation Mode. These tools allow the user t clean us the grain noise without affecting the quality of the key. A short tutorial explaining when and how to use these tools is at the end of this section. Click here to go to the tutorial.

 

None

When None is selected, the user gets the color of the exact pixel sampled.

Small

When Small is selected, the user gets the average color of a small region of the area around the sampled pixel. This should be used when the grain is very dense.

Medium

When Medium is selected, the user gets the average color of a medium-sized region of the area around the sampled pixel. This should be used when the grain is less dense.

Large

When Large is selected, the user gets the average color of a larger region of the area around the sampled pixel. This should be used when the grain is very loose.

Grain Tol.

Adjusting this slider this should increase the affect of the Clean BG Noise tool without changing the edge of the foreground object.

Grain Tools Tutorial

If you have a noisy image as in the example below...

...you will find that the matte is also noisy:

Currently you can use the Clean BG Noise Operation Mode to remove the noisy pixels, but this can also modify the edge of the foreground object in a negative manner.

Using the Grain Tools in the following way may help you clean up the image and still get a good edge on the matte:

1. Use the Clean BG Noise Operation Mode just a small mount to remove some of the white noise in the Matte View but do use it so much that you affect to the edge of the foreground object.

2. Then select the Grain Size tool and select Small as a first step to reduce the grain:

With the Grain Tol. slider set at 0, move it around some. This should increase the affect of the Clean BG Noise tool without changing the edge of the foreground object.

Sometimes this may not be enough to totally remove the grain so by adjusting the Grain Tol. slider, you can tell the Primatte algorithm what brightness of pixels you think is grain. You should try not to use too high of a value otherwise it will affect the overall matte. For an example of an 'over adjusted' image see below...

The Primatte grain algorithm uses a 'Defocused Foreground' image to compute the noise. You can see the results of the defocused foreground by changing the View Mode to Defocus FG :

NOTE: The Small, Medium and Large settings for the Grain Tool all produce defocused foregrounds that have larger blurs respectively.

NOTE: It is important to make sure that the crop settings are correctly applied otherwise when the defocus image is generated, if there is 'garbage' on the edges of the images, then that garbage will be blurred into the defocus foreground.

As a review:

1. Select the Select BG Color Operation Mode and click on a backing screen color.

2. Select the Clean BG Noise Operation Mode and use it sparingly so that it has minimum affect to the edge of the foreground object.

3. If there is still grain in the backing screen area, then use the Grain Size functionality starting at the Small setting to reduce the grain

4. If the grain is still present, then try increasing the Grain Tol. slider a little - not too much.

5. If grain is still a problem then try changing the Grain Size to Medium of Large and also changing the grain tolerance until the desired effect is achieved.

NOTE: The grain functionality does not always remove grain perfectly but is sometimes useful to minimize its effects.

Return to Contents link

 

 

Ctrl 2 Page Primatte Tools and Buttons

FG/BG Reset

Resets all Color Correction adjustments to both Foreground and Background images.

FG Reset

Resets all Color Correction adjustments to Foreground images.

FG-HSV Sliders

Allows adjustment to Hue, Saturation and Luminance values of the Foreground image.

Reset FG-HSV Sliders

Resets adjustments to Hue, Saturation and Luminance values of the Foreground image.

FG-Gain Gang Slider

Gang adjusts RGB Gain values of the Foreground image.

FG-Gain Sliders

Allows adjustment to RGB Gain values of the Foreground image.

Reset FG-Gain Sliders

Resets adjustments to RGB Gain values of the Foreground image.

FG-Setup Gang Slider

Gang adjusts RGB Setup values of the Foreground image.

FG-Setup Sliders

Allows adjustment to RGB Setup values of the Foreground image.

Reset FG-Setup Sliders

Resets adjustments to RGB Setup values of the Foreground image.

FG-Gamma Gang Slider

Gang adjusts RGB Gamma values of the Foreground image.

FG-Gamma Sliders

Allows adjustment to RGB Gamma values of the Foreground image.

Reset FG-Gamma Sliders

Resets adjustments to RGB Gamma values of the Foreground image.

Return to Contents link

 

Ctrl 3 Page Primatte Tools and Buttons

BG Reset

Resets all Color Correction adjustments to Background images.

BG-HSV Sliders

Allows adjustment to Hue, Saturation and Luminance values of the Background image.

Reset BG-HSV Sliders

Resets adjustments to Hue, Saturation and Luminance values of the Background image.

BG-Gain Gang Slider

Gang adjusts RGB Gain values of the Background image.

BG-Gain Sliders

Allows adjustment to RGB Gain values of the Background image.

Reset BG-Gain Sliders

Resets adjustments to RGB Gain values of the Background image.

BG-Setup Gang Slider

Gang adjusts RGB Setup values of the Background image.

BG-Setup Sliders

Allows adjustment to RGB Setup values of the Background image.

Reset BG-Setup Sliders

Resets adjustments to RGB Setup values of the Background image.

BG-Gamma Gang Slider

Gang adjusts RGB Gamma values of the Background image.

BG-Gamma Sliders

Allows adjustment to RGB Gamma values of the Background image.

Reset BG-Gamma Sliders

Resets adjustments to RGB Gamma values of the Background image.

Return to Contents link

 

Ctrl 4 Page Primatte Tools and Buttons

Crop Sliders

These 4 sliders are used to create a rectangular garbage matte. All pixels outside of the rectangle will be forced to 100% background pixels.

Reset Crop

Resets the crop rectangle.

  Return to Contents link

 

 

13. sparkPrimatte Files

Essential Files: These files are required for proper sparkPrimatte operation.

PrimatteV4.spark - This is the sparkPrimatte plug-in. It will be in the /usr/discreet/sparks/PRIMATTE directory.

prim4.txt - This is the NodeLock license key text file. If Photron had your system information (sysinfo -s), you should have been faxed or e-mailed a license key. If not, you must contact Photron as per in Chapter 3 Getting and Installing a License Key. The Primatte NodeLock license should always be installed in the /usr/local/etc directory.

Prim_Manual.htm - This is the document you are reading.

Optional files: These files are included on sparkPrimatte CDs, but are optional downloads on the web site.

/IMG - This is a directory with sample images. When used in conjunction with this tutorial, a working knowledge of the sparkPrimatte operation can be achieved.

alex-fg.tif - This is a foreground image of a girl against a bluescreen (640x480 pixels).

alex-bg.tif - This is a background image of a street scene (640x480 pixels).

tabako-fg.tif - This is a foreground image of cigarettes in an ashtray (640x480 pixels).

tabako-bg.tif - This is a background image of a tabletop (640x480 pixels).

water-fg.tif - This is a foreground image of a statue with water cascading (640x480 pixels).

water-bg.tif - This is a background image of a clocktower (640x480 pixels).

/ANIM - This is a sequence of images saved as alex01.rgb to alex20.rgb (640x480 pixels).

  Return to Contents link

 

 

14. More about the Primatte Polyhedral Slicing Algorithm

There are three Primatte algorithms. Here is a chart that shows the main differences between them...

For a description of the Primatte algorithm, go to Section 10a. or click here.

For a description of the Primatte RT+ algorithm, go to Section 10b. or click here.

For a description of the Primatte RT algorithm, go to Section 10c. or click here.

14a. Explanation of how Primatte works...

The Primatte chromakey algorithm is a sophisticated method of color space segmentation that can be easily explained to help a user achieve maximum effectiveness with the tool. Basically Primatte segments all the colors in the foreground image into one of four separate categories. The result is a 'spill suppressed' foreground image and a matte which is used to apply the modified foreground to a suitable background.

Primatte works in 3D RGB color space. Here is a visual representation of the Primatte algorithm after an image has been processed.

By operating the Primatte interface, the user essentially creates three concentric, multi-faceted polyhedrons. These can be pictured as three globes (or polyhedrons or polys), one within the other, which share a common center point. The creation of these polyhedrons separates all possible foreground colors into one of four regions; inside the small polyhedron (1), between the small and medium polyhedrons (2), between the medium and the large polyhedrons (3) and outside the large polyhedron (4).

 

The four regions created are described as follows:

Region 1 (inside the small polyhedron) - This region contains all of the foreground image colors that are considered 100% background. These are the green or blue or whatever colors that were used as the backing color of the foreground image.

Region 2 (between the small and medium polyhedrons) - This region contains all the foreground colors that are at the edges of the foreground object(s), in glass, glass reflections, shadows, sheets of water and other transparent and semi-transparent color regions. These color regions also have spill suppression applied to them to remove color spill from the backing screen.

Region 3 (between the medium and large polyhedrons) - This region contains all the foreground image colors that are 100% foreground but have spill suppression applied to them to remove color spill from the backing screen. Otherwise they are 100% solid foreground colors.

Region 4 (outside the large polyhedron) - This region contains all the 100% foreground image colors that are not modified from the original foreground image. There is no spill suppression applied to these colors.

 

In the first step in using Primatte (Select BG Color), the user is asked to indicate the backing color on the original foreground image. The sample should usually be taken from a 'medium shaded' area near the foreground object. By 'medium shaded' area, it is meant that if green is the backing color and the green area of the foreground image has many shades of green ranging from very pale green to almost black, a shade of green in-between these extreme ranges should be chosen. If good results are not obtained using this sample, Primatte should be reset and another sample taken using a slightly darker or lighter shade of green. The first sample of Primatte often determines the final result as the center point of all three polyhedrons is created based on this first sample.

A single pixel may be selected or a range of pixels (snail trail or rectangular sample). If a range of pixels is taken, the sample will be averaged to get a single color sample. This single pixel or averaged color sample then becomes the center of the small polyhedron. A few other shades around that color are included in the original small polyhedron.

NOTE: It is recommended that a single pixel be selected as the first sample as you then have some idea where the center point of the polyhedrons is located. If a box sample or a long snail trail sample is made. You can only guess at the average color that ends up being the center point. You can get an idea how this sample affects the algorithm by resetting the Primatte plug-in, going to the Matte View and clicking around on the green or blue screen area while in the Select BG Color Operation Mode. You can immediately see the results of the initial settings of the polyhedrons in this way.

After making a sample of the backing screen color in the first step, the result is a small golf ball-shaped poly as shown in the following image.

 

The second step in using Primatte is to clean up the backing color area by adding additional shades of green or blue to the small poly. This second step (Clean BG Noise) is usually executed while viewing the black and white Matte View.

 

   

                                          

             Before BG Noise Removal              After BG Noise Removal   

While in the Clean BG Noise sampling mode, the user samples the white milky regions as shown in the left-hand image above. As the user samples these regions, they turn to black as shown in the right-hand image above.

What is happening in the Primatte algorithm is that these new shades of green (the white milky areas) are added to the small poly where all the shades of green or blue are moved. The next two images show the new pixels sampled (white dots) in relation to the small poly and the image next to it shows how the small poly extends outward to encompass the newly sampled colors into the small poly.

 

The advantage of this technique is that the polyhedron distorts to enclose only the shades of green that are in the backing screen. Other shades of green around these colors are left undisturbed in the foreground. Other chromakeyers expand from a golf ball-sized shape to a baseball to a basketball to a beach ball. Since it expands in all directions, many shades of green are relegated to 100% background making it hard to get good edges around the foreground objects.

Now that the user has created a small polyhedron, he must shape the medium and large polys. A default medium and large poly are both automatically created and are then modified based on the next couple of Primatte operations. The third Primatte step (Clean FG Noise) is to sample and eliminate gray areas in the 100% foreground area of the image.

               

             Before FG Noise Removal              After FG Noise Removal

Again, the user makes several samples on the dark, grayish areas on the foreground object until it is solid white in color. Primatte is shaping the large polyhedron with each color region that is sampled. Care should be taken in both this and the previous steps to not sample too close to the edges of the foreground object. Getting too close to the foreground object's edges will result in hard edges around the foreground object. Primatte uses these samples to modify and shape the medium and large polys to the desired shape. At this point, the matte or key has been created and would allow the foreground objects to be composited into a new background image.

If the user changes the display mode from the black and white Matte View to the color Composite View, there is usually 'color spill' on the edges (and sometimes the center) of the foreground objects. When on the edges of the foreground object, this spill comes from where the edges of the foreground object blended into the backing color. If it is on the center of the foreground object, it usually results from reflected color from the backing screen. The next Primatte step, either Spill Sponge, Fine Tuning or Spill(-), can now be used to eliminate this spill color.

Let's take a look at what is happening in the Primatte algorithm while this next step is performed. Here is what the various tools in Primatte do to the Polyhedrons when they are used:

 

As you can see above, the Spill Sponge bulges the large polyhedron in the color region specified. A color region is specified by clicking on the image in a particular area with spill present. For example, if the user clicks on some spill on the cheek of a foreground person, Primatte goes to the section of the large polyhedron closest to that particular flesh tone and bulges the polyhedron there. As a result, the flesh tones move from outside the large poly to in-between the medium and large polys. This is Region 3 and, if you remember, is 100% foreground with spill suppression. As a result of the suppression, the spill is removed from that cheek color and all other shades of that color on the foreground. The user would then continue to sample areas of the image where spill exists and each sample would remove spill from another color region.

When all spill has been removed, the user should have a final composite. As a last step, he should go back to the Matte View and make sure that gray, transparent areas have not appeared in the foreground area. If there are any, the Matte Sponge Operation Mode should be selected and those gray pixels are sampled until they have all turned white again.

The Matte Sponge and Spill Sponge tools bulge or dent the polyhedrons a pre-selected amount. If the desired results are not achieved or the results are too extreme for the image, a manual method can be applied. The user should choose the Fine Tuning sliders, select a color region of interest and then move the appropriate slider to get the desired results.

For example, to remove spill, select a region of the composite image with spill on it. Move the spill or large poly slider to the right a little bit, the large poly will bulge and the spill should disappear. Move it a little more, if necessary. Moving this slider to the right removes spill (moves the colors from outside the large poly to between the medium and large polyhedrons) and moving it to the left, dents the large poly and moves that color region to outside the large poly.

If the user samples a foreground object shadow and then moves the Matte or medium poly slider to the right, the shadow will become more transparent. This is useful for matching composited shadows to shadows on the plate photography. It can also be used to make clouds or smoke more transparent.

If some foreground detail disappears during the composite, the user can select where the detail should be and then move the detail or small poly slider to the left. This dents the small poly in that color region and releases the detail pixels from the small poly into the visible region between the small and medium polyhedrons.

The Spill Sponge and Matte Sponge tools are 'shortcut tools' that automatically move the sliders a pre-selected amount as a timesaving step for the user. Other 'shortcut tools' include the Make FG Trans. tool and the Restore Detail tool.

 

These 'shortcut tools' are one-step operations where the user clicks on a color region of interest and Primatte performs a pre-calculated operation. Hopefully, most operations using Primatte would only require these tools, but the manual operation of the sliders is always an option.

The Spill(-) tool bulges the large poly a small amount incrementally in the color region that is clicked on and the Spill(+) tool dents it a small amount with each click. The Matte(-) and Matte(+) tools do the same to the medium poly and the Detail(-) and Detail(+) do it to the small poly.

14b. Explanation of how Primatte RT+ works...

The Primatte RT+ algorithm differs from the Primatte algorithm in that it has a six surface color separator instead of the 127-faceted polyhedrons. This makes the Primatte RT+ algorithm much simpler and, therefore, faster to calculate. The results and performance of Primatte RT+ falls in between the Primatte and Primatte RT options. Where the Primatte RT+ algorithm might not work well is with less saturated backing screen colors and it also does not support the Complement Color spill suppression method (which is the spill suppression method that delivers the best detail). For a well-lit and photographed image or clip, this algorithm will produce good results and render quickly.

Here is what a visual representation of the Primatte RT algorithm looks like after an image has been processed...

14c. Explanation of how Primatte RT works...

Primatte RT is the simplest algorithm and, therefore, the fastest. It uses only a single planar surface to separate the 3D RGB colorspace and, as a result, does not have the ability to separate out the foreground from the backing screen as carefully as the above Primatte algorithm. Like the Primatte RT+ algorithm, Primatte RT might not work well with less saturated backing screen colors and it too does not support the Complement Color spill suppression method (which is the spill suppression method that delivers the best detail).. For a well-lit and photographed image or clip, this algorithm will produce good results and render very quickly.

Here is what a visual representation of the Primatte RT algorithm looks like after an image has been processed...

  Return to Contents link

 

15. If you have trouble...

Please contact your local Photron reseller or the Photron technical support person (below):

 

Primate Technical Support:

Scott Gross

Phone: +1-530-677-9980

FAX: +1-530-677-9981

Cell: +1-530-613-3212

E-mail: sgross@photron.com

Note: Standard support times are between the hours of 7AM and 6PM (Pacific/California Time), but he will try to help you anytime, if possible. Leave a message or a return phone number at the phone number of 1-530-677-9980 and he will get back to you as soon as possible.

  Return to Contents link

 

16. Request a Primatte License Key Application Form

 

Please include the following information:

Company Name:_____________________________________________________

Company Address:__________________________________________________

City:________________________________State/Prov.:____________________

Postal Code:_____________ Country:______________________

Contact Name(s):_____________________________________________

Contact Phone Number:________________________________________

Contact FAX Number:__________________________________________

Contact E-mail Address:________________________________________

Autodesk M&E (Discreet) Product (flame, inferno, etc.):_____________________________

Autodesk M&E (Discreet) Product Version Number:_____________________________

System ID : ______________________________ (See NOTE:s below)

NOTE: To get the system id on your SGI system, please open a shell window and type 'sysinfo -s' or '/etc/sysinfo -s'.

NOTE: To get the system id on your LINUX system, please go to the /usr/discreet/sparks/PRIMATTE/ directory and type, ./GetSerialCode.

Then post this information using the e-mail link above or send it to sgross@photron.com or FAX it to Scott at 1-530-677-9981.

We will e-mail or FAX your license key back to you. Thank you.

  Return to Contents link