Color_Exchange: Exchanging the color of the background and the foreground.

Description Usage Arguments Details Value Examples

Description

This function exchanges the color of the background and the subject for a binary image.

Usage

1

Arguments

image1

A pixel matrix of a binary image

Details

The input matrix should be a matrix of 0 and 1 only.

Value

A pixel matrix with exchanging the color of the background and subject.

Examples

1

rwang14/implant documentation built on Dec. 9, 2019, 6:36 p.m.