can I resize an image with factors 15.5 or only just integer number?

3 views (last 30 days)
can I resize an image with factors 15.5 or only just integer number? I tried imresize code but gives me errors, if anyone has another solution could you plz help me.

Answers (2)

Image Analyst
Image Analyst on 26 Jan 2014
You can do fractional amounts, as well as specify the number of output rows and columns. Show us your code and the error message (ALL the red text, not just some of it).

Walter Roberson
Walter Roberson on 26 Jan 2014
imresize() will accept a non-integer scale; you could also use the scale to calculate the desired number of rows and columns and pass that into imresize()
What error do you encounter?

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!