image_double_test, a MATLAB program which calls image_double() to modify an image file by doubling the number of rows and columns. When displayed, this should result in an image that appears twice as wide and high, with 4 times as many pixels.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

image_double, a MATLAB library which doubles the height and width of an image by repeating each row and column.

Source Code:

casablanca8 is a grayscale image from a movie, which has been decimated (cut in half) 3 times. As an amusing indication of software idiocy, ImageMagick's convert() program is unable to handle the ASCII PGM files output by Matlab...because there is no final carriage return! Software failure caused by one missing carriage return! Maybe next century we'll get it right.

Last revised on 03 February 2019.