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.

  • Sana: hi steve, could you explain to me how i would be able to use the dir function, to do a loop through a directory...
  • Nishtha: Sir, I have preprocessed the image in following steps: [1] adaptive histogram equalization [2] thresholding...
  • Kristof: I also strongly support the idea. I have just recently bumped into the problem that im2single was not...
  • Steve: David—I’ m glad you found it useful!
  • David Lalejini: I found your example very useful for finding connected nodes in a large set of input pairs. I start...
  • tommy: Dear Steve, I have a question,please if you are kind to help me regarding the accumulator array dimensions of...
  • Steve: Abc—I don’t know how to distinguish the faces. You might try posting your question in the MATLAB...
  • Manju: well if we have a few ovals within each other like in a cell how do we measure the distance from the center...
  • Steve: Manju—What do you mean? How is each region defined?
  • Manju: if we have 2-3 regions within each other how do we measure the regions of each one?

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