image_double


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

In general, a better way to get a bigger picture is simply to use the original file, but increase the display size by stretching or rescaling. Here, we just want a simple way to make an image that will ``automatically'' display itself with doubled dimensions.

This doubling procedure may be repeated. The function image_decimate() will reverse the doubling operation.

Licensing:

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

Languages:

image_double is available in a MATLAB version and an Octave version.

Related Data and Programs:

image_double_test

image_boundary, an Octave code which reports the pixels which form the boundary between the black and white regions of a simple image.

image_components, an Octave code which seeks the connected "nonzero" or "nonblack" components of an image or integer vector, array or 3d block.

image_contrast, an Octave code which applies image processing techniques to increase the contrast in an image.

image_decimate, an Octave code which ``compresses'' a file by deleting the even rows and columns.

image_denoise, an Octave code which applies image processing techniques to remove noise from an image.

image_diffuse, an Octave code which uses diffusion to smooth out an image.

image_edge, an Octave code which demonstrates a simple procedure for edge detection in images.

image_noise, an Octave code which adds noise to an image.

image_quantization, an Octave code which demonstrates how the kmeans() algorithm can be used to reduce the number of colors or shades of gray in an image.

image_rgb_to_gray, an Octave code which makes a grayscale version of an RGB image.

image_threshold, an Octave code which makes a black and white version of a grayscale image by setting all pixels below or above a threshold value to black or white.

Source Code:


Last revised on 04 August 2024.