DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

ImageAssimilate

Inherit properties of another image

SYNOPSIS

dip_Error dip_ImageAssimilate( example, target )

FUNCTION

Give the target image the same properties ( type, data type, etc... ) as the example image. The example image may be either "raw" or "forged". The target image is forged.

If the target was forged before calling this function, and it exactly matches the example, nothing happens. If it doesn't match the example, it is stripped before the properties are copied.

ARGUMENTS

Data typeNameDescription
dip_ImageexampleAn example image
dip_ImagetargetThe target image

SEE ALSO

ImageCopyProperties, ChangeDataType, ChangeTo0d