MATLAB: Is there any function that increases or multiplies the amount of pixels in an image

detec shapesimage processingpixel

Example: If an image contains 13 megapixel, is there a function that can double to 26 megapixels? I'm doing a project to detect tiny geometric shapes and I need to know if this function exists.

Best Answer

Yes.
bigImage = imresize(smallImage, multiplicationFactor);
or
bigImage = imresize(smallImage, [desiredRows, desiredColumns]);