Import a Photoshop selection into Matlab

2 vues (au cours des 30 derniers jours)
KAE
KAE le 17 Sep 2019
Modifié(e) : KAE le 18 Sep 2019
Let's say I have an image that I open in Photoshop, and I make a selection of a region, for example with the lasso tool. I would like to import the x,y locations of the selected pixels into Matlab. I know you can run Photoshop from Matlab, and read and write PSD files from within Matlab, and in Photoshop you can save a selection to a (unfortunately smaller) PNG file. But I am not sure how to combine these to get the selected pixels' location into Matlab. What might work? (For this task I must do the selection in Photoshop. I am asking a narrower version of this question to the Photoshop community here, and here I ask about one approach I am trying in Matlab).

Réponses (0)

Catégories

En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by