Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to noise dataimage store with a specific portion of an external image?

1 回表示 (過去 30 日間)
Mohamed Elbeialy
Mohamed Elbeialy 2020 年 8 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a dataimage store and want to noise its images by an external image. However, not use the whole new image, instead use various portions of it

回答 (1 件)

Divya Gaddipati
Divya Gaddipati 2020 年 10 月 13 日
You can use tranform datastore function for this purpose. This allows you to write a custom function specifying how you would like to modify your data.
dsnew = transform(imds, @(inp) custom_fcn(inp, external_image));

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by