Proposals:Integration with R Language: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 10: Line 10:
https://www.kitware.com/InfovisWiki/index.php/R_Titan_Integration
https://www.kitware.com/InfovisWiki/index.php/R_Titan_Integration


= Suggested Implementation =
= Suggested Implementations =


== Data Bridge ==
== Data Bridge ==
Line 43: Line 43:
** std::map
** std::map
** std::set
** std::set
== Wrapping (WrapITK) ==
Adapting the wrapping process of WrapITK in order to expose ITK functionalities from R.

Revision as of 22:32, 9 August 2009

Background

This page hosts discussions on how to integrate functionalities of ITK with R language (http://www.r-project.org/)


A reference for this effort is the integration of R in the Titan package (based on VTK).

https://www.kitware.com/InfovisWiki/index.php/R_Titan_Integration

Suggested Implementations

Data Bridge

Making some ITK data structures visible from R by converting or adapting them to R vectors. And conversely, adapting R vectors into ITK data structures.

Candidate ITK classes

  • itk::FixedArray (and derived classes)
    • itk::Point
    • itk::Vector
    • itk::Index
    • itk::Offset
    • itk::CovariantVector
    • itk::RGBPixel
    • itk::RGBAPixel
  • itk::VariableLenghtVector
  • itk::Matrix
  • itk::Containers
    • itk::VectorContainer
    • itk::MapContainer
  • itk::Image
    • itk::PixelContainer
  • itk::Sample
  • itk::KdTree

Candidate STL classes

  • STL Containers
    • std::list
    • std::queue
    • std::map
    • std::set


Wrapping (WrapITK)

Adapting the wrapping process of WrapITK in order to expose ITK functionalities from R.