retistruct0.8.1 package

Retinal Reconstruction Program

compute.kernel.estimate

Kernel estimate over grid

E

The deformation energy function

Ecart

The deformation energy function

f

Piecewise smooth function used in area penalty

Fcart

The deformation energy gradient function

Fragment

Construct an outline object. This sanitises the input points P, as d...

identity.transform

The identity transformation

idt.read.dataset

Read one of the Thompson lab's retinal datasets

ijroi.read.dataset

Read a retinal dataset in IJROI format

ijroimulti.read.dataset

Read a retinal dataset in IJROI format

interpolate.image

Interpolate values in image

invert.sphere

Invert sphere about its centre

invert.sphere.to.hemisphere

Invert sphere to hemisphere

karcher.mean.sphere

Karcher mean on the sphere

kde.compute.concentration

Find the optimal concentration for a set of data

kde.fhat.cart

Kernel density estimate on sphere using Fisherian density with Cartesi...

kde.fhat

Kernel density estimate on sphere using Fisherian density with polar c...

kde.L

Estimate of the log likelihood of the points mu given a particular val...

kr.compute.concentration

Find the optimal concentration for a set of data

kr.sscv

Cross validation estimate of the least squares error of the points mu ...

kr.yhat.cart

Kernel regression on sphere using Fisherian density with Cartesian coo...

kr.yhat

Kernel regression on sphere using Fisherian density with polar coordin...

PathOutline

Add point fullcuts to the outline

read.datacounts

Read data counts in CSV format

read.datapoints

Read data points in CSV format

ReconstructedCountSet

Class containing functions and data to map CountSet s to Reconstructed...

sinusoidal

Sinusoidal projection

sphere.cart.to.sphere.dualwedge

Convert from Cartesian to dual-wedge coordinates

sphere.cart.to.sphere.spherical

Convert from Cartesian to spherical coordinates

sphere.cart.to.sphere.wedge

Convert from Cartesian to 'wedge' coordinates

sphere.spherical.to.polar.cart

Convert spherical coordinates on sphere to polar projection in Cartesi...

sphere.spherical.to.sphere.cart

Convert from spherical to Cartesian coordinates

sphere.tri.area

Area of triangles on a sphere

sphere.wedge.to.sphere.cart

Convert from 'wedge' to Cartesian coordinates

spherical.to.polar.area

Convert latitude on sphere to radial variable in area-preserving proje...

sphericalplot

Spherical plot of reconstructed outline

sphericalplot.ReconstructedOutline

Spherical plot of reconstructed outline

StitchedOutline

Class containing functions and data relating to Stitching outlines

strain.colours

Generate colours for strain plots

stretchMesh

Stretch mesh

tri.area

Area of triangles on a plane

tri.area.signed

"Signed area" of triangles on a plane

TriangulatedFragment

Class to triangulate Fragment s

TriangulatedOutline

Class containing functions and data relating to Triangulation

ui

Retistruct UI

vecnorm

Vector norm

flatplot.TriangulatedOutline

Plot flat TriangulatedOutline.

flipped.triangles.cart

Determine indices of triangles that are flipped

azimuthal.equalarea

Lambert azimuthal equal area projection

azimuthal.equidistant

Azimuthal equidistant projection

simplifyOutline

Simplify an outline object by removing short edges

bary.to.sphere.cart

Convert barycentric coordinates of points in mesh on sphere to cartesi...

central.angle

Central angle between two points on a sphere

checkDatadir

Check the whether directory contains valid data

circle

Return points on the unit circle

flipped.triangles

Determine indices of triangles that are flipped

fp

Piecewise smooth function used in area penalty

OutlineCommon

Class containing functionality common to flat and reconstructed outlin...

panlabel

Ancillary function to place labels

parabola.arclength

Arc length of a parabola y=x^2/4f

parabola.invarclength

Inverse arc length of a parabola y=x^2/4f

parse.dependencies

Parse dependencies

Rcart

Restore points to spherical manifold

retistruct.batch.summary

Extract summary data for a batch of reconstructions

retistruct.check.markup

Retistruct check markup

retistruct.cli.figure

Print a figure to file

retistruct.cli.process

Process a dataset, saving results to disk

retistruct.cli

Process a dataset with a time limit

retistruct.export.matlab

Save reconstruction data in MATLAB format

retistruct

Start the Retistruct GUI

compute.intersections.sphere

Find the intersection of a plane with edges of triangles on a sphere

AnnotatedOutline

Class containing functions and data relating to annotating outlines

azel.to.sphere.colatitude

Convert azimuth-elevation coordinates to spherical coordinates

azimuthal.conformal

Azimuthal conformal or stereographic or Wulff projection

CountSet

Subclass of FeatureSet to represent counts centred on points

create.polar.cart.grid

Create grid on projection of hemisphere onto plane

csv.read.dataset

Read a retinal dataset in CSV format

dE

The deformation energy gradient function

depthplot3D

Draw the "flat" outline in 3D with depth information

directories

File system directories used by shinyFiles

flatplot.ReconstructedOutline

Flat plot of reconstructed outline

FeatureSet

Superclass containing functions and data relating to sets of features ...

FeatureSetCommon

Class containing functionality common to FeatureSets and `Reconstruc...

fire

The FIRE algorithm

flatplot.AnnotatedOutline

Flat plot of AnnotatedOutline

flatplot.Outline

Flat plot of outline

flatplot

Plot "flat" (unreconstructed) representation of outline

flatplot.StitchedOutline

Flat plot of AnnotatedOutline

LandmarkSet

Subclass of FeatureSet to represent points

line.line.intersection

Determine intersection between two lines

list_to_R6

Convert an list created by R6_to_list() into an R6 object.

list.datasets

List datasets underneath a directory

lvsLplot

Plot the fractional change in length of mesh edges

morph.dataset.to.parabola

Morph a flat dataset to a parabola for testing purposes

name.list

Return a new version of the list in which any unnamed elements have be...

normalise.angle

Bring angle into range

orthographic

Orthographic projection

Outline

Class containing basic information about flat outlines

PointSet

Subclass of FeatureSet to represent points

polar.cart.to.sphere.spherical

Convert polar projection in Cartesian coordinates to spherical coordin...

polartext

Put text on the polar plot

projection

Plot projection of a reconstructed outline

projection.ReconstructedOutline

Projection of a reconstructed outline

projection.RetinalReconstructedOutline

Plot projection of reconstructed dataset

R6_to_list

Convert an R6 object into a list, ignoring functions and environments

ReconstructedFeatureSet

Class containing functions and data to map FeatureSet s to Reconstruct...

ReconstructedLandmarkSet

Class containing functions and data to map LandmarkSet s to Reconstruc...

ReconstructedOutline

Class containing functions to reconstruct StitchedOutline s and store ...

ReconstructedPointSet

Class containing functions and data to map PointSet s to Reconstructed...

remove.identical.consecutive.rows

Remove identical consecutive rows from a matrix

remove.intersections

Remove intersections between adjacent segments in a closed path

report

Reporting utility function

retistruct.read.dataset

Read a retinal dataset

RetinalOutline

Class containing functions and data relating to retinal outlines

RetinalReconstructedOutline

A version of ReconstructedOutline that is specific to retinal datasets

retistruct.batch.export.matlab

Export data from reconstruction data files to MATLAB

retistruct.batch.figures

Plot figures for a batch of reconstructions

retistruct.batch.get.titrations

Get titrations from a directory of reconstructions

retistruct.batch.plot.titrations

Plot titrations

retistruct.batch

Batch operation using the parallel package

retistruct.read.markup

Read the markup data

retistruct.read.recdata

Read the reconstruction data from file

retistruct.reconstruct

Reconstruct a retina

retistruct.save.markup

Save markup

retistruct.save.recdata

Save reconstruction data

rotate.axis

Rotate axis of sphere

server

Retistruct Shiny Server

simplifyFragment

Simplify an outline object by removing short edges

Reconstructs retinae by morphing a flat surface with cuts (a dissected flat-mount retina) onto a curvilinear surface (the standard retinal shape). It can estimate the position of a point on the intact adult retina to within 8 degrees of arc (3.6% of nasotemporal axis). The coordinates in reconstructed retinae can be transformed to visuotopic coordinates. For more details see Sterratt, D. C., Lyngholm, D., Willshaw, D. J. and Thompson, I. D. (2013) <doi:10.1371/journal.pcbi.1002921>.

  • Maintainer: David C. Sterratt
  • License: CC BY-NC-SA 4.0
  • Last published: 2025-06-08