Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to noise dataimage store with a specific portion of an external image?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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));
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!