filter_segmentation_xml: Filter surfaces from an XML segmentation file

View source: R/filter_segmentation_xml.R

filter_segmentation_xmlR Documentation

Filter surfaces from an XML segmentation file

Description

Filters surfaces from an XML segmentation to reduce the number of surfaces.

Usage

filter_segmentation_xml(
  xml_file,
  keep_surfaces = c(10, 20, 30, 40, 50, 60, 100, 110, 120, 140, 150),
  modifier = "heyexr"
)

Arguments

xml_file

An path or connection to an XML file or a character representation of XML.

keep_surfaces

A vector of the surface IDs to keep in the file. Use the labels specified by OCTExplorer. By default all surfaces segmented by IRA/OCTExplorer ver. 3.8.0 are retained.

Value

The filtered XML object.


barefootbiology/heyexr documentation built on July 9, 2022, 3:35 a.m.