Help me with imwrite
显示 更早的评论
i have divided an image to blocks using reshape and i had performed some functions on it and i want to reconstruct the image with the changed blocks.can any body plz help me with it.
a=imread()
b=reshape(a,8,8,[])
X=a
for i=1:n
....
end
imwrite(b,X)
this is what i have tried
1 个评论
Rik
2019-1-15
Your code is a bit too vague to tell for sure, but can't you use reshape again to return to your normal image?
You could also consider using the blockproc function instead of that loop.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Neighborhood and Block Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!