image_double_test


image_double_test, an Octave code which calls image_double(), which modifies 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.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

image_double, an Octave code 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 04 August 2024.