SimpleITK/Advisory Review Board: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 17: Line 17:


* '''Option 1 - Fully procedural'''
* '''Option 1 - Fully procedural'''
<source lang="cpp">
itk::simple::ImageFileReader reader;
itk::simple::Image::Pointer im = reader.execute("sample/path/to/image.jpg");
itk::simple::Gaussian filter;
im = filter.execute(im, 2);
itk::simple::ImageFileWriter writer;
writer.execute(im, "sample/path/to/output.png");
</source>
* '''Option 2 - Procedural with parameter setting'''
* '''Option 2 - Procedural with parameter setting'''
* '''Option 3 - Pipelined'''
* '''Option 3 - Pipelined'''

Revision as of 19:19, 2 September 2010

  • Harvey Cline, Kitware Inc.
  • Raghu Machiraju, The State University of Ohio
  • John Galeotti, CMU
  • Hans Johnson, University of Iowa
  • Fabrice de Chaumont, Pasteur Institute
  • New students in the UNC CISMM project (taylorr@cs.unc.edu)
  • Jesus Caban, NLM-NIH

ARB Prototype Code

Gaussian Filter

  • Pseudocode
    • Open Image
    • Blur with Gaussian using sigma = 2
    • Write out the image
  • Option 1 - Fully procedural

<source lang="cpp"> itk::simple::ImageFileReader reader; itk::simple::Image::Pointer im = reader.execute("sample/path/to/image.jpg");

itk::simple::Gaussian filter; im = filter.execute(im, 2);

itk::simple::ImageFileWriter writer; writer.execute(im, "sample/path/to/output.png"); </source>

  • Option 2 - Procedural with parameter setting
  • Option 3 - Pipelined

Image Registration

Level Set

Region Growing

Watershed

QuadEdgeMesh