Photoshop And Matlab (Photoshop Extended); About Photoshop And Matlab; Set Up Matlab And Photoshop; Connect/Disconnect To Photoshop From Matlab - Adobe Photoshop CS6 User Manual

Table of Contents

Advertisement

Photoshop and MATLAB (Photoshop Extended)

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.
Note: 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.
Note: 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.
(Optional) Set access to Photoshop from MATLAB
You can set up a path to Photoshop Extended to allow direct access to Photoshop commands from MATLAB.
1. From MATLAB, choose File > Set Path.
2. Click Add Folder and select the MATLAB folder where Photoshop Extended is installed.
3. Click Save and then Close.
4. From the MATLAB menu, choose File > Preferences.
5. In the Preferences dialog box, click the General tree (upper-left).
6. Click the Update Toolbox Path Cache button.
7. Click Apply and then OK.
Connect/disconnect to Photoshop from MATLAB
In MATLAB, do one of the following:
To launch or connect to Photoshop, type pslaunch, and then press Enter (Windows) or Return (Mac OS).
To disconnect from Photoshop and quit, type psquit and press Enter (Windows) or Return (Mac OS).
To the top
To the top
To the top

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents