Import a Photoshop selection into Matlab
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!