invertStack | R Documentation |
Inverts all the pixel values in an image stack, creating a negative of the images.
invertStack(Stack)
Stack |
an image stack object |
An array of the same dimensions as Stack
with inverted pixel values.
Alessio Veneziano
#Invert pixel values of binary volume and plot 2D image data(exampleStack) invStack<-invertStack(exampleStack) image(exampleStack[,,20]) image(invStack[,,20])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.