int QccIMGImageComponentCopy(QccIMGImageComponent *image_component1,
const QccIMGImageComponent *image_component2);
int QccIMGImageComponentAdd(const
QccIMGImageComponent *image_component1, const QccIMGImageComponent *image_component2,
QccIMGImageComponent *image_component3);
int QccIMGImageComponentSubtract(const
QccIMGImageComponent *image_component1, const QccIMGImageComponent *image_component2,
QccIMGImageComponent *image_component3);
QccIMGImageComponentAdd() adds image_component1 to image_component2, pixel by pixel, returning the result in image_component3. image_component3 must be allocated prior to calling QccIMGImageComponentAdd(), and image_component1, image_component2, and image_component3 must all be the same size.
QccIMGImageComponentSubtract() subtracts image_component2 from image_component1, pixel by pixel, returning the result in image_component3. image_component3 must be allocated prior to calling QccIMGImageComponentSubtract(), and image_component1, image_component2, and image_component3 must all be the same size.