segcomparison: Segmentation comparison

Description Usage Arguments Details Value

View source: R/segcomparison.R

Description

Displays label segmentation differences in an MR image.

Usage

1
2
3
4
5
6
7
8
9
segcomparison(
  filename_MR,
  filename_seg1,
  filename_seg2,
  Label_No,
  anatomical_plane = 3,
  rowno = 1,
  colno = 1
)

Arguments

filename_MR

A NIfTI-file of an MR image.

filename_seg1

First NIfTI-file of segmentation

filename_seg2

Second NIfTI-file of segmentation

Label_No

One label number for which region is to be displayed

anatomical_plane

1 for coronal plane, 2 for sagittal plane and 3 for transverse plane. Default is 3.

rowno

Number of rows for showing images. Default is 1.

colno

Number of columns for showing images. Default is 1.

Details

Displays label segmentation differences in an MR image for a supplied label number. Region only present in filename_seg 1 is displayed in green color. Region only present in filename_seg2 is displayed in blue color. Region present in both files is displayed in red color.

Value

Label segmentation differences in supplied MR image for supplied label number.


yupingikub/IKUB documentation built on Dec. 23, 2021, 8:20 p.m.