Minimum of two images.
function call:
[out_img1]=vsg('Minimum',in_img1,in_img2);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
in_img2
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
Description
[out_img1]=vsg('Minimum',in_img1,in_img2) Finds the minimum values from
a pixel-by-pixel comparison of the input images in_img1 and
in_img2. The output - out_img1 has dimensions that are the
minimum size to fit both of the input images. Each of the input images
are zero padded if their dimensions do not match.
Example:
img1 = openimage('baboon.jpg');
img2 = openimage('A.jpg');
[out_img1]=vsg('Minimum',img1,img2);
figure, image(uint8(out_img1));
Notes: