2
$\begingroup$

I was wondering is there a way(some code or functions) to convert an image with specific number of pixels into a picture with more pixels in matlab(enlarging the size or the number of the picture)?

$\endgroup$
  • 1
    $\begingroup$ Welcome to DSP.SE! This question is basically an RTFM question, which is off topic for this forum. $\endgroup$ – Peter K. Nov 4 '15 at 17:09
0
$\begingroup$

If you have the Image Processing Toolbox then you might want to use the imresize function. It allows you to choose various interpolation algorithms. Help is very clear on that.

| improve this answer | |
$\endgroup$
0
$\begingroup$

Yes, you can use imread to get the image values, interp2 for the interpolation, and imwrite to make a new file. Pay attention to data format and scaling. Read the docs for these 3 functions and you should be ok

| improve this answer | |
$\endgroup$
  • $\begingroup$ @jojek good point $\endgroup$ – johnnymopo Nov 4 '15 at 17:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.