Import a Photoshop selection into Matlab

1 次查看(过去 30 天)
KAE
KAE 2019-9-17
编辑: KAE 2019-9-18
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).

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Large Files and Big Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by