ITK/Examples: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
Daviddoria (talk | contribs) |
Daviddoria (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
Please add examples in your areas of expertise! | Please add examples in your areas of expertise! | ||
=Simple Operations= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 22: | Line 22: | ||
|} | |} | ||
=Input/Output (IO)= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 32: | Line 32: | ||
|} | |} | ||
=Image Basics= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 38: | Line 38: | ||
|} | |} | ||
=Image Basics= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 98: | Line 98: | ||
|} | |} | ||
=Iterating Over (Traversing) An Image= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 116: | Line 116: | ||
|} | |} | ||
=Image Edges, Gradients, and Derivatives= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 134: | Line 134: | ||
|} | |} | ||
=Smoothing= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 148: | Line 148: | ||
|} | |} | ||
=Morphology= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
Line 162: | Line 162: | ||
|} | |} | ||
= | |||
=Spectral Analysis= | |||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |||
| [[ITK/Examples/Images/VnlFFTRealToComplexConjugateImageFilter | Compute the FFT of an image]] || {{ITKDoxygenURL|VnlFFTRealToComplexConjugateImageFilter}} || | |||
|} | |||
=Statistics= | |||
{{ITKExamplesTable}} | |||
|- | |||
| [[ITK/Examples/Statistics/ListSample | Create a list of sample measurements]] || {{ITKDoxygenURL|ListSample}} || | |||
|- | |||
| [[ITK/Examples/Statistics/ImageToListSampleAdaptor | Create a list of samples from an image without duplicating the data]] || {{ITKDoxygenURL|ImageToListSampleAdaptor}} || | |||
|- | |||
| [[ITK/Examples/Statistics/MembershipSample | Create a list of samples with associated class IDs]] || {{ITKDoxygenURL|MembershipSample}} || | |||
|- | |||
| [[ITK/Examples/Statistics/ExpectationMaximizationMixtureModelEstimator_2D | 2D Gaussian Mixture Model Expectation Maximization]] || {{ITKDoxygenURL|ExpectationMaximizationMixtureModelEstimator}} || EM | |||
|- | |||
| [[ITK/Examples/Statistics/KdTreeBasedKMeansClustering_1D | 1D KMeans Clustering]] || {{ITKDoxygenURL|KdTreeBasedKMeansClustering}} || | |||
|- | |||
| [[ITK/Examples/Statistics/KdTreeBasedKMeansClustering_2D | 2D KMeans Clustering]] || {{ITKDoxygenURL|KdTreeBasedKMeansClustering}} || | |||
|- | |||
| [[ITK/Examples/Statistics/ScalarImageKmeansImageFilter | Cluster the pixels in a greyscale image]] || {{ITKDoxygenURL|ScalarImageKmeansImageFilter}} || | |||
|} | |} | ||
== | ==Developer Examples== | ||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
|- | |- | ||
| [[ITK/Examples/ | | [[ITK/Examples/Developer/ImageSource | Produce an image with a filter]] || {{ITKDoxygenURL|ImageSource}} || | ||
|} | |||
=Wish List= | |||
{{ITKExamplesTable}} | |||
|} | |} | ||
=Problems= | |||
==Small Problems== | ==Small Problems== | ||
{{ITKExamplesTable}} | {{ITKExamplesTable}} | ||
Line 219: | Line 246: | ||
| [[ITK/Examples/Broken/Images/GradientImageFilter | Compute and display the gradient of an image]] || {{ITKDoxygenURL|GradientImageFilter}} || Blank output. | | [[ITK/Examples/Broken/Images/GradientImageFilter | Compute and display the gradient of an image]] || {{ITKDoxygenURL|GradientImageFilter}} || Blank output. | ||
|} | |} | ||
Revision as of 01:43, 18 November 2010
These are fully independent, compilable examples. There is significant overlap in the examples, but they are each intended to illustrate a different concept and be fully stand alone compilable. Please add examples in your areas of expertise!
Simple Operations
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Distance between two points | Point | |
Create a vector | Vector | |
Create a covariant vector | CovariantVector | |
Variable length vector | VariableLengthVector | main() works properly, but neither conversion seems to work. |
Get the name/type/class of an object | GetNameOfClass() | |
An object which holds the index of a pixel | Index | |
An object which holds the size of an image | Size | |
An object which holds the index (start) and size of a region of an image | ImageRegion |
Input/Output (IO)
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Write an image | ImageFileWriter | |
Read an image | ImageFileReader | |
Write a TIFF image | TIFFImageIO | This is a general demonstration of how to use a specific writer rather than relying on the ImageFileWriter to choose for you. |
Image Basics
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Assign contiguous labels to connected regions of an image | RelabelComponentImageFilter |
Image Basics
Iterating Over (Traversing) An Image
Image Edges, Gradients, and Derivatives
Smoothing
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Mean filter an image | MeanImageFilter | Replace each pixel by the mean of its neighborhood |
Median filter an image | MedianImageFilter | Replace each pixel by the median of its neighborhood |
Smooth an image with a discrete Gaussian filter | DiscreteGaussianImageFilter | |
Blur an image | BinomialBlurImageFilter | |
Bilateral filter an image | BilateralImageFilter | Edge preserving smoothing. |
Morphology
Spectral Analysis
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Compute the FFT of an image | VnlFFTRealToComplexConjugateImageFilter |
Statistics
Developer Examples
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Produce an image with a filter | ImageSource |
Wish List
Example Name | ITK Classes Demonstrated | Description |
---|
Problems
Small Problems
Big Problems
Example Name | ITK Classes Demonstrated | Description |
---|---|---|
Join images, stacking their components | JoinImageFilter | How to convert the vector image produced by the joinFilter to a standard image? |
Find the best position of the moving image in the fixed image. | MeanSquaresImageToImageMetric | Output (0,0) is incorrect. |
Translate an image | TranslationTransform, ResampleImageFilter | This example currently freezes. |
Compute and display the gradient of an image | GradientImageFilter | Blank output. |