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!