---
name: "PasteImageIntoImage"
section: "1"
platform: "linux"
package: "ants"
version: "2.1.0-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/PasteImageIntoImage"
---

# PasteImageIntoImage(1)

part of ANTS registration suite

## NAME

PasteImageIntoImage - part of ANTS registration suite

## DESCRIPTION

PasteImageIntoImage imageDimension inputCanvasImage inputImage outputImage startIndex \[backgroundLabel=0\] \[paintOverNonBackgroundVoxels=0\] \[conflictLabel=-1\]

-

  If the current painting image voxel is nonbackground and corresponds to a background voxel in the canvas image

-

  paintOverNonBackgroundVoxels = 0 -\> leave the canvas voxel as is. paintOverNonBackgroundVoxels = 1 -\> replace canvas voxel value with painting image voxel value paintOverNonBackgroundVoxels = 2 -\> replace canvas voxel walue with conflictLabel
