Steve on Image Processing

April 5th, 2007

Photoshop CS3 Extended – and MATLAB

[Here's a quick note for you, composed and delivered from the lovely confines of Boston's Logan International Airport. Don't worry, I'll get back to my connected components and upslope area topics real soon now.]

Adobe recently announced the new release of Photoshop, called Photoshop CS3. At the same time, they announced an additional Photoshop product, called Photoshop CS3 Extended. According to its product page, Photoshop CS3 Extended "enables you to edit 3D and motion-based content and perform image analysis."

Why should I mention this in a blog about image processing in MATLAB? Because Photoshop CS3 Extended offers a MATLAB interface. Here's how Adobe's John Nack describes it in his blog:

MATLAB integration: It's possible to access Photoshop CS3 Extended directly from the MATLAB command prompt in order to grab image data from Photoshop, use MATLAB to run different image processing routines, and then return the image data to Photoshop to view the results.

8 Responses to “Photoshop CS3 Extended – and MATLAB”

  1. Horia replied on :

    I installed Photoshop Extended CS3 10 after Matlab (which installed itself in c:\MATLAB7).
    There is no Photoshop Extended folder in Matlab.
    How can I perform the integration?

  2. Steve replied on :

    Horia—The MATLAB – Photoshop CS3 Extended interface is part of Photoshop, not MATLAB. You’ll need to look in the Photoshop documentation for more information.

  3. Horia replied on :

    1. In Photoshop’s “Help” it is written “Click Add Folder and select the Matlab folder where Photoshop Extended is installed”.
    2.Despite this indication, one has to select “Add folder with subfolders”, otherwise it doesn’t work.
    3.Before doing this, I had to install xtools v1.5 (this was suggested in a n-th link from this very page of yours).
    4.After performing all of this, it works.

    Thank you, however.

  4. Horia replied on :

    “2″ should be read as:
    2.Despite this indication, you should understand that you should read “…select the folder where Photoshop is installed” by going in Matlab at “File/SetPath/Add with subfolders” and select “C:\…\Adobe Photoship CS3″. Otherwise it doesn’t work.

  5. Pablo replied on :

    why do I get this message when executing following command?
    better_be_4 = psjavascriptu(’2+2′)
    ??? Error using ==> psjavascriptu
    MATLAB is not enabled

    Thanks

  6. Steve replied on :

    Pablo—It’s an Adobe product, so you’ll need to ask them.

  7. H.Mohammed Soukath Ali replied on :

    Can we access Photoshop commands from MATLAB ? Can we convert a 2D facial image into 3D model ?

  8. Steve replied on :

    Mohammed—You might want to look at the Adobe product that I mentioned in this blog post, except that it’s probably Adobe CS4 Extended now.


MathWorks
Steve Eddins is a software development manager in the MATLAB and image processing areas at MathWorks. Steve coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.