checkXrayLungOrientation: Check x-ray lung orientation.

View source: R/chexnet.R

checkXrayLungOrientationR Documentation

Check x-ray lung orientation.

Description

Check the correctness of image orientation, i.e., flipped left-right, up-down, or both. If True, attempts to correct before returning corrected image. Otherwise it returns NULL.

Usage

checkXrayLungOrientation(image, antsxnetCacheDirectory = NULL, verbose = FALSE)

Arguments

image

input 3-D lung image.

antsxnetCacheDirectory

destination directory for storing the downloaded template and model weights. Since these can be resused, if is.null(antsxnetCacheDirectory), these data will be downloaded to the subdirectory ~/.keras/ANTsXNet/.

verbose

print progress.

Value

segmentation and probability images

Author(s)

Tustison NJ

Examples

## Not run: 
library( ANTsRNet )

## End(Not run)

ANTsX/ANTsRNet documentation built on April 23, 2024, 1:24 p.m.