retistruct.read.markup: Read the markup data

Description Usage Arguments Details Value Author(s)

View source: R/retistruct.R

Description

Read the markup data contained in the files ‘markup.csv’, ‘P.csv’ and ‘T.csv’ in the directory ‘dataset’, which is specified in the reconstruction object r.

Usage

1

Arguments

a

Dataset object, containing dataset path

error

Function to run on error, by default stop()

Details

The tear information is contained in the files ‘P.csv’ and ‘T.csv’. The first file contains the locations of outline points that the tears were marked up on. The second file contains the indices of the apex and backward and forward vertices of each tear. It is necessary to have the file of points just in case the algorithm that determines P in retistruct.read.dataset has changed since the markup of the tears.

The remaining information is contained in the file ‘markup.csv’.

If DVflip is specified, the locations of points P flipped in the y-direction. This operation also requires the swapping of gf and gb and VF and VB.

Value

o RetinalDataset object

V0

Indices in P of apices of tears

VB

Indices in P of backward vertices of tears

VF

Indices in P of backward vertices of tears

iN

Index in P of nasal point, or NA if not marked

iD

Index in P of dorsal point, or NA if not marked

iOD

Index in Ss of optic disc

phi0

Angle of rim in degrees

DVflip

Boolean variable indicating if dorsoventral (DV) axis has been flipped

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.