필터 지우기
필터 지우기

Adding a set of images in a variable

조회 수: 1 (최근 30일)
prashant singh
prashant singh 2016년 7월 10일
댓글: Image Analyst 2016년 7월 10일
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.

채택된 답변

Image Analyst
Image Analyst 2016년 7월 10일
편집: Image Analyst 2016년 7월 10일
ca has the patches in it already so you can just use that immediately. You can save it or whatever....
  댓글 수: 2
prashant singh
prashant singh 2016년 7월 10일
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 2016년 7월 10일
Then just save the (badly-named) x. But index x.
x{xIndex} = .....
xIndex = xIndex + 1;
Set xIndex = 1 before the loop starts.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by