flexconn_normalize_image: Normalize Image

Description Usage Arguments Value Examples

View source: R/flexconn_normalize_image.R

Description

Normalize Image

Usage

1
2
3
4
flexconn_normalize_image(image, contrast = c("T1", "T2", "FLAIR", "PD",
  "FL"))

flexconn_get_peak(image, contrast = c("T1", "T2", "FLAIR", "PD", "FL"))

Arguments

image

Object of class nifti or filename

contrast

Type of imaging modality.

Value

An list of object of class nifti and the peak used to norm.

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(reticulate)
use_python("/Library/Frameworks/Python.framework/Versions/3.5/bin/python3")

flair = system.file("extdata", "FLAIR.nii.gz", package = "flexconnr")
norm_flair = flexconn_normalize_image(flair, "FLAIR")

## End(Not run)

muschellij2/flexconnr documentation built on May 14, 2019, 11:13 a.m.