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.

  • Steve: Kezia—Try imrotate.
  • kezia: steve, how to perform rotation of structuring element by 15 degrees. kindly answer my question. thank u kezia...
  • Steve: Tasha—I only accept comments that are relevant to the particular blog post or are questions or comments...
  • Tasha: Steve,I send you a comment here but still didn’t get any reply yet.I did not see my comment posted here...
  • Steve: Carsten—Thanks for your input.
  • Carsten: Another vote for either imtranslate.m, or at least a blurb in the imtransform help why pure translation...
  • Loren Shure: If you look towards the end of the fftfilt program, you will see that there’s a check to see if...
  • Steve: Sonja—My imwritesize submission on the MATLAB Central File Exchange might be helpful. It was posted...
  • Steve: Grant—Sorry, but it won’t be for R2010a. That development deadline has already passed.
  • Sonja: My publisher is wanting images for a new book to be 300 dpi. Only 5 of the 19 images are 300, the rest are...

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