.php xmlns="http://www.w3.org/1999/.php"> - k-Wave MATLAB Toolbox
k-Wave Toolbox

loadImage

Load an image file.

Syntax

im = loadImage()
im = loadImage(filename)

Description

loadImage loads an external image file using imread and returns a two-dimensional image matrix scaled between 0 and 1. If a colour image is loaded, the colour channels are summed before scaling. If no input is given for filename, a selection dialog is invoked.

Optional Inputs

filename filename (and pathname if not in the same directory) of the image to load

Outputs

im scaled image matrix

Examples

See Also

resize
<.php>