How to export the data corresponding to the new pixel size?

1 次查看(过去 30 天)
Hi,
I have image data with 100*100 (pixel x pixel) and the pixel size is 10. Each pixel has a resulted value e.g., temperature
Now I would like to change the pixel size to 5 and still keep the same size of the image.
I wonder how to get the new image data (X, Y, and temperature) corresponding to the pixel size 5.
I really appreciate your help.
Thanks

回答(1 个)

Rik
Rik 2020-9-23
doc imresize
  5 个评论
Rik
Rik 2020-9-23
Then you don't actually have an image, but gridded (or scattered) X,Y,Z data. You can either interpolate with the normal interpolation tools, or convert your coordinates to a grid of integer positions and use that to fill a matrix so you can use imresize.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by