how can i use function imresize(a,[x y ]) (this function of 2D),with matrix 3D [x y z]
1 view (last 30 days)
Show older comments
i have tow matrix 3d need to find rmse(root mean squre error) and single to noise SNR between this tow matrix first muste be tow matrix have same dimention how can resize matrix 3d from 128*100*360 to 64*64*64
0 Comments
Accepted Answer
Jan
on 24 Aug 2014
This seems to be a problem for interp3().
m = 128;
n = 100;
p = 360;
v = rand(m, n, p); % test data
[x, y, z] = meshgrid(linspace(1, m, 64), linspace(1, n, 64), linspace(1, p, 64));
vi = interp3(v, y, x, z)
I'm still puzzled about the order of inputs for interp3. Please check this again.
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!