Resize the given image breadthwise by pixel deletion. The output is required to have half as many columns as the input
1 次查看(过去 30 天)
显示 更早的评论
Resize the given image breadthwise by pixel deletion. The output is required to have half as many columns as the input
(Do not use builtin functions for the same)
.
0 个评论
回答(2 个)
Image Analyst
2021-11-24
Sounds like homework.
Hint:
columnIndexes = 1 : 16
out = columnIndexes(1 : 2 : end)
That should be a good enough hint for you to do your homework.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!