beautypg.com

Photoshop and matlab (photoshop extended) – Adobe Photoshop CC 2014 v.14.xx User Manual

Page 986

background image

Photoshop and MATLAB (Photoshop Extended)

To the top

Note:

To the top

Note:

About Photoshop and MATLAB
Set up MATLAB and Photoshop
Connect/disconnect to Photoshop from MATLAB
Using MATLAB Help
MATLAB commands
Create a document in MATLAB

About Photoshop and MATLAB

MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis,
and numeric computation. With Photoshop Extended you can view MATLAB image-processing results in Photoshop, and combine MATLAB
commands with Photoshop image-editing features.

Once you connect to Photoshop from MATLAB, typing commands into the MATLAB command prompt performs operations in Photoshop. You can
run MATLAB algorithms and view the results in your image in Photoshop.

Communication between Photoshop and MATLAB uses the Photoshop JavaScript interface and the MATLAB library interface.

Set up MATLAB and Photoshop

Install Photoshop and MATLAB on your computer. Once you have installed Photoshop Extended and MATLAB, you should verify the MATLAB
integration.

For 64-bit systems, install the appropriate compiler

To use the Photoshop interface on a 64-bit system, a C compiler must be installed:

In Windows, install Microsoft Developer Studio.

In Mac OS, install XCode.

For more information, see the MATLAB Photoshop Read Me in the Photoshop application folder.

In Windows, use 64-bit Photoshop with 64-bit MATLAB, and 32-bit Photoshop with 32-bit MATLAB.

Verify MATLAB integration

1. Start Photoshop Extended and then MATLAB.

2. From MATLAB, add the path Photoshop/MATLAB, including subfolders.

3. At the MATLAB prompt, open the MATLAB folder, locate and open the Tests folder, and then type testall.

4. Photoshop and MATLAB run a series of tests to ensure integration between the two programs and display a summary report.

979

This manual is related to the following products: