如何降低扫描图像的分辨率

发布于 2024-09-04 21:50:36 字数 19 浏览 0 评论 0原文

如何降低扫描图像的分辨率

how can reduce the resolution of scan image

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沧桑㈠ 2024-09-11 21:50:36

如果您打算调整图像大小,只需使用 Matlab 图像工具箱即可。

有一个用于此目的的函数,称为imresize

B = imresize(A, scale)

If you intend to resize an image, simply use the Matlab Image Toolbox.

There is a function for this purpose called imresize

B = imresize(A, scale)
〆一缕阳光ご 2024-09-11 21:50:36

您可以:

  • 只需对它进行下采样,沿原始图像中的每一行和每一列提取每个第 n 个像素,然后将其写入新图像;选择n以满足您的要求;
  • 将每个 n*n 像素数组替换为数组中像素值的平均值;有很多平均值的定义可供选择;再次选择 n 以满足您的要求。

You could:

  • just downsample it, take every n-th pixel along each row and column in the original image and write it to a new image; choose n to suit your requirements;
  • replace every n*n array of pixels by some average of the pixel values in the array; lots of definitions of average to choose from; again, choose n to suit your requirements.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文