We have no idea what that function does because you didn't supply its code. I don't see how adding an extra dimension would help. I also don't know if it's okay that the input image is smaller than the weights or indices arrays - seems like that might cause problems if not handled properly.
imresize using bicubic interpolation
1 次查看(过去 30 天)
显示 更早的评论
I had a doubt in the resizing of an image using bicubic interpolation... In matlab, at a stage, they have used a function
resizeColumnsCore(double(in), weights', indices');
in this, the matrix im is my input image, say its size is 6x6. This input is permuted and the new size is 6x1x6.
The size of weights comes out to be 3x8 and the size of indices is also coming to be 3x8.
The output of this function gives a matrix of size 3x1x6.
Can u tell me how this function works?
Thanking you in advance
-Utkarsh
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!