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.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Steve Eddins manages the Image & Geospatial development team at The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.

  • murat: Hi Steve, I have an rgb image of a kind of cream and it contains some small black particles (black dots). In...
  • Steve: Ernest—Look at setting the FaceColor property. The code for setting that is shown on the page you asked...
  • Ernest Miller: Hi Steve, Understood. However, can you explain how to change the colors? Thanks, Ernest
  • Jan: Hi Steve Very useful code, yet what if I parts of my rotated+translated object are outside the original...
  • Steve: MoHDa—It might be possible. You’ll need to use one of the options that produces closed edge...
  • MoHDa: I have one question about the ROIPOLY: I have an image with stripes, I use the “edge” command for...
  • Steve: Shahn—My November 17, 2006 post shows you how to do it.
  • Steve: Kay-Uwe—Thanks for following up. I am planning to make it easier to use test directories in a package....
  • shahn: Hello Steve Instead of superimposing a star on the image to show the centroide. How would you superimpose a...
  • Kay-Uwe: Having TestSuite.fromPackag e() would be nice to have, but so far using simple “test” subdirs...

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