magnification row axis image

1 view (last 30 days)
Luis Isaac
Luis Isaac on 16 Aug 2021
Answered: Simon Chan on 16 Aug 2021
I have a (58,28000) integer matrix
I would like to visualice so the 58 rows have the same size as the 28000 colums, i.e. I would like to enlarge the image a factor 28000/58 only in row direction
I think the best to visualize the image is using imshow but this function, as far as I know, do no perimt to enlarge an image only in on dimension.
Is there any other quick function to make this
Thanks in advance,

Answers (1)

Simon Chan
Simon Chan on 16 Aug 2021
B = imresize(A,[28000 28000])
But I am thinking the image will be highly distorted.....

Community Treasure Hunt

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

Start Hunting!