Borrar filtros
Borrar filtros

Adding a set of images in a variable

1 visualización (últimos 30 días)
prashant singh
prashant singh el 10 de Jul. de 2016
Comentada: Image Analyst el 10 de Jul. de 2016
i have a program which produces patches from a given image. i want store the patches in a variable and then once the program finish the patches. i want utilise that variable to write those patches. Please find my code attached.

Respuesta aceptada

Image Analyst
Image Analyst el 10 de Jul. de 2016
Editada: Image Analyst el 10 de Jul. de 2016
ca has the patches in it already so you can just use that immediately. You can save it or whatever....
  2 comentarios
prashant singh
prashant singh el 10 de Jul. de 2016
i am trying to store the value of ca whose mean2(rgbBlock)<7. But at the end it stores all the patches. Code attached
Image Analyst
Image Analyst el 10 de Jul. de 2016
Then just save the (badly-named) x. But index x.
x{xIndex} = .....
xIndex = xIndex + 1;
Set xIndex = 1 before the loop starts.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by