Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Mohamed Elbeialy
Mohamed Elbeialy el 27 de Ag. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

Divya Gaddipati
Divya Gaddipati el 13 de Oct. de 2020
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));

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by