antsSetPixels.Rd
Set a pixel value at an index in an 'antsImage'.
antsSetPixels(x, i = NA, j = NA, k = NA, l = NA, value)
x | Image object of S4 class 'antsImage'. |
---|---|
i | the slowest moving index to the image |
j | the next slowest moving index to the image, similar for k ( 2d ) |
k | the next slowest moving index to the image ( 3d ) |
l | the next slowest moving index to the image ( 4d ) |
value | the value to place at this location |
array of pixel values
#> antsImage #> Pixel Type : float #> Components Per Pixel: 1 #> Dimensions : 10x10 #> Voxel Spacing : 1x1 #> Origin : 0 0 #> Direction : 1 0 0 1 #>