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

1 view (last 30 days)
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

Answers (1)

Rik
Rik on 23 Sep 2020
doc imresize
  5 Comments
Rik
Rik on 23 Sep 2020
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.

Sign in to comment.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!