Image value to value conversion
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
How can I convert an image of value(64*64*3 double) to another value(128*128*3 double) ?
댓글 수: 5
Walter Roberson
2019년 8월 8일
Suppose we call the 64*64*3 Old, and call the 128*128*3 New. Then for any given Row R and Column C and Pane P, how do you calculate New(R,C,P) from Old ?
Alex Mcaulley
2019년 8월 8일
imresize (and think about Walter's comment)
Walter Roberson
2019년 8월 8일
There are a number of ways to double the size of an array, but most of them are likely not going to give you the output you want. For example, you could take the 64 * 64 * 3 image, A, and copy it twice in each direction, getting
A A
A A
This would be 128 x 128 x 3. Is it what you want? Or do you want
A zeros
zeros zeros
where zeros is 64 x 64 x 3 ? Or do you want something else?
OLUFEMI SONEYE
2019년 8월 8일
Walter Roberson
2019년 8월 8일
Your wr_HH1 has to end up the same size as wm_HH1 so that you can do the idwt2() properly. You do not want to convert the 64*64*3 to 128*128*3: you want to convert the 128*128*3 to 64*64*3
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!