开发者

how can reduce the resolution of scan image

开发者 https://www.devze.com 2023-01-02 12:12 出处:网络
how can reduce the resolu开发者_如何学编程tion of scan image If you intend to resize an image,simply use the Matlab Image Toolbox.

how can reduce the resolu开发者_如何学编程tion of scan image


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)


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.
0

精彩评论

暂无评论...
验证码 换一张
取 消