[Insight-users] how to combine the C# (.Net) +ITK

Dan Mueller dan.muel at gmail.com
Fri Aug 31 17:35:33 EDT 2007


Hi,

Take a look at the ManagedITK Insight Journal article:
   http://insight-journal.org/dspace/handle/1926/501

This project generates .NET wrappers for many ITK classes (I have
appended a list of currently supported classes below). The source-code
for generating or customizing the wrappers is provided with the
article. Pre-compiled assemblies (x86, VS SP1) are also provided for
quick start (simply ensure your computer has the prerequisites, add
the desired assemblies to your project, and hey presto!). The
ManagedITK assemblies can be used with any .NET language on the
Windows platform, including: C#, VB.NET, C++/CLI, IronPython, F#,
Ruby, Chrome (Object Pascal), etc. (I predominately use C# with
IronPython for scripting).

I just added a new version (3.2.0.5) with a number of improvements,
including: simplified assembly names, improved memory management, and
extended coverage. I plan to add pre-compiled x64 assemblies in the
near future.

When you download the source code you'll find a number of examples,
including the "itk.Examples.Images.ReadDicom1" project which
demonstrates how to read an image from a DICOM directory using a C#
console application.

If you find ManagedITK helpful, please add a review to the Insight
Journal article. If you don't find it helpful, add a review to the
Insight Journal article anyway explaining why! :P

Cheers, Dan
dan dot muel at gmail dot com

========================================
Coverage: ManagedITK 3.2.0.5: 2007/09/01
========================================

ManagedITK.Calculators
	itkImageMomentsCalculator
	itkMinimumMaximumImageCalculator

ManagedITK.CastFilters
	itkCastImageFilter
	itkVectorCastImageFilter

ManagedITK.Common
	itkArray`1
	itkContinuousIndex
	itkCostFunction
	itkDataObject
	itkDataObjectWithReadWrite
	itkDimension
	itkExceptionObject
	itkFiniteDifferenceImageFilter
	itkFlatStructuringElement
	itkImage
	itkImageBase
	itkImageConstIterator
	itkImageConstIteratorWithIndex
	itkImageFunction
	itkImageInformation
	itkImageIterator
	itkImageIteratorWithIndex
	itkImageRegion
	itkImageSource
	itkImageToImageFilter
	itkImageToImageMetric
	itkImageToPathFilter
	itkIndex
	itkInvalidWrappedTypeException
	itkLevelSetNode
	itkMatrix
	itkMatrixOffsetTransform
	itkMultiThreader
	itkNeighborhood
	itkNeighborhoodOperator
	itkNonLinearOptimizer
	itkNoSmartPointerObject
	itkObject
	itkObjectHandler
	itkOffset
	itkOptimizer
	itkParametricPath
	itkPathSource
	itkPipeline
	itkPixel
	itkPixelArrayEnum
	itkPixelType
	itkPixelTypeEnum
	itkPoint
	itkProcessObject
	itkProgressHandler
	itkQuaternion
	itkRadius
	itkSegmentationLevelSetImageFilter
	itkSingleValuedCostFunction
	itkSingleValuedNonLinearOptimizer
	itkSize
	itkSpacing
	itkSpatialObjectBase
	itkSpatialOrientationEnum
	itkTimedEventHandler
	itkTransform
	itkVector
	itkVersor

ManagedITK.ComposeFilters
	itkCheckerBoardImageFilter
	itkCompose2DCovariantVectorImageFilter
	itkCompose2DVectorImageFilter
	itkCompose3DCovariantVectorImageFilter
	itkCompose3DVectorImageFilter
	itkComposeRGBAImageFilter
	itkComposeRGBImageFilter
	itkPasteImageFilter
	itkRGBToLuminanceImageFilter
	itkTileImageFilter
	itkVectorIndexSelectionCastImageFilter

ManagedITK.DistanceMaps
	itkApproximateSignedDistanceMapImageFilter
	itkDanielssonDistanceMapImageFilter
	itkSignedDanielssonDistanceMapImageFilter
	itkSignedMaurerDistanceMapImageFilter

ManagedITK.EdgeFilters
	itkCannyEdgeDetectionImageFilter
	itkSobelEdgeDetectionImageFilter
	itkZeroCrossingBasedEdgeDetectionImageFilter
	itkZeroCrossingImageFilter

ManagedITK.FastMorphologicalFilters
	itkGrayscaleDilateImageFilter
	itkGrayscaleErodeImageFilter
	itkGrayscaleMorphologicalClosingImageFilter
	itkGrayscaleMorphologicalOpeningImageFilter

ManagedITK.GradientFilters
	itkDerivativeImageFilter
	itkGradientImageFilter
	itkGradientMagnitudeImageFilter
	itkGradientMagnitudeRecursiveGaussianImageFilter
	itkGradientRecursiveGaussianImageFilter
	itkLaplacianImageFilter
	itkLaplacianRecursiveGaussianImageFilter
	itkLaplacianSharpeningImageFilter

ManagedITK.IntensityFilters
	itkAdaptiveHistogramEqualizationImageFilter
	itkGenerateMaskImageFilter
	itkIntensityWindowingImageFilter
	itkInvertIntensityImageFilter
	itkLocalMaximaImageFilter
	itkNormalizeImageFilter
	itkRegionalMaximaImageFilter
	itkRegionalMinimaImageFilter
	itkRescaleIntensityImageFilter
	itkShiftScaleImageFilter
	itkSigmoidImageFilter
	itkVectorRescaleIntensityImageFilter
	itkVectorShiftScaleImageFilter

ManagedITK.Interpolators
	itkBSplineInterpolateImageFunction
	itkCosineWindowedSincInterpolateImageFunction
	itkHammingWindowedSincInterpolateImageFunction
	itkLanczosWindowedSincInterpolateImageFunction
	itkLinearInterpolateImageFunction
	itkNearestNeighborInterpolateImageFunction
	itkWelchWindowedSincInterpolateImageFunction

ManagedITK.IO
	itkImageFileReader
	itkImageFileWriter
	itkImageSeriesReader
	itkImageSeriesWriter

ManagedITK.Iterators
	itkImageLinearConstIteratorWithIndex
	itkImageLinearIteratorWithIndex
	itkImageRandomConstIteratorWithIndex
	itkImageRandomIteratorWithIndex
	itkImageRandomNonRepeatingConstIteratorWithIndex
	itkImageRandomNonRepeatingIteratorWithIndex
	itkImageRegionConstIterator
	itkImageRegionConstIteratorWithIndex
	itkImageRegionExclusionConstIteratorWithIndex
	itkImageRegionExclusionIteratorWithIndex
	itkImageRegionIterator
	itkImageRegionIteratorWithIndex
	itkImageSliceConstIteratorWithIndex
	itkImageSliceIteratorWithIndex

ManagedITK.LevelSetFilters
	itkCannySegmentationLevelSetImageFilter
	itkCurvesLevelSetImageFilter
	itkFastMarchingImageFilter
	itkGeodesicActiveContourLevelSetImageFilter
	itkLaplacianSegmentationLevelSetImageFilter
	itkLevelSetSpeedImageFilter
	itkShapeDetectionLevelSetImageFilter
	itkThresholdSegmentationLevelSetImageFilter

ManagedITK.MorphologicalFilters
	itkBinaryClosingImageFilter
	itkBinaryDilateImageFilter
	itkBinaryErodeImageFilter
	itkBinaryOpeningImageFilter
	itkClosingByReconstructionImageFilter
	itkGrayscaleDilateImageFilter
	itkGrayscaleErodeImageFilter
	itkGrayscaleMorphologicalClosingImageFilter
	itkGrayscaleMorphologicalOpeningImageFilter
	itkHConcaveImageFilter
	itkHConvexImageFilter
	itkHMaximaImageFilter
	itkHMinimaImageFilter
	itkMorphologicalGradientImageFilter
	itkOpeningByReconstructionImageFilter
	itkReconstructionByDilationImageFilter
	itkReconstructionByErosionImageFilter
	itkWatershedImageFilter

ManagedITK.NoiseFilters
	itkAdditiveGaussianNoiseImageFilter
	itkBilateralImageFilter
	itkBinaryMinMaxCurvatureFlowImageFilter
	itkCurvatureAnisotropicDiffusionImageFilter
	itkCurvatureFlowImageFilter
	itkDiscreteGaussianImageFilter
	itkGradientAnisotropicDiffusionImageFilter
	itkImpulseNoiseImageFilter
	itkMeanImageFilter
	itkMedianImageFilter
	itkMinMaxCurvatureFlowImageFilter
	itkNoiseImageFilter
	itkSmoothingRecursiveGaussianImageFilter

ManagedITK.Optimizers
	itkAmoebaOptimizer
	itkConjugateGradientOptimizer
	itkFRPROptimizer
	itkGradientDescentOptimizer
	itkIterateNeighborhoodOptimizer
	itkLBFGSOptimizer
	itkOnePlusOneEvolutionaryOptimizer
	itkQuaternionRigidTransformGradientDescentOptimizer
	itkRegularStepGradientDescentOptimizer
	itkSPSAOptimizer
	itkVersorRigid3DTransformOptimizer
	itkVersorTransformOptimizer

ManagedITK.Paths
	itkPathInfo
	itkPathToImageFilter
	itkPolyLineParametricPath
	itkSingleImageCostFunction
	itkSpeedFunctionToPathFilter

ManagedITK.PixelMathFilters
	itkAbsImageFilter
	itkAddImageFilter
	itkAndImageFilter
	itkDivideImageFilter
	itkExpImageFilter
	itkLogImageFilter
	itkMaskImageFilter
	itkMaximumImageFilter
	itkMinimumImageFilter
	itkMultiplyImageFilter
	itkNaryAddImageFilter
	itkNaryMaximumImageFilter
	itkNegateImageFilter
	itkNotImageFilter
	itkOrImageFilter
	itkPowerImageFilter
	itkSqrtImageFilter
	itkSquaredDifferenceImageFilter
	itkSquareImageFilter
	itkSubtractImageFilter
	itkXorImageFilter

ManagedITK.ProjectionFilters
	itkBinaryProjectionImageFilter
	itkMaximumProjectionImageFilter
	itkMeanProjectionImageFilter
	itkMedianProjectionImageFilter
	itkMinimumProjectionImageFilter
	itkStandardDeviationProjectionImageFilter
	itkSumProjectionImageFilter

ManagedITK.Registration
	itkGradientDifferenceImageToImageMetric
	itkImageRegistrationMethod
	itkKappaStatisticImageToImageMetric
	itkMatchCardinalityImageToImageMetric
	itkMattesMutualInformationImageToImageMetric
	itkMeanReciprocalSquareDifferenceImageToImageMetric
	itkMeanSquaresImageToImageMetric
	itkMutualInformationImageToImageMetric
	itkNormalizedCorrelationImageToImageMetric

ManagedITK.ResizeFilters
	itkConstantPadImageFilter
	itkExtractImageFilter

ManagedITK.SpatialObjects
	itkBoxSpatialObject
	itkEllipseSpatialObject
	itkGroupSpatialObject
	itkPlaneSpatialObject
	itkSceneSpatialObject
	itkSpatialObject
	itkSpatialObjectReader
	itkSpatialObjectWriter
	itkTubeSpatialObject
	itkTubeSpatialObjectPoint

ManagedITK.Statistics
	itkJointHistogramImageFilter

ManagedITK.ThresholdFilters
	itkBinaryThresholdImageFilter
	itkConfidenceConnectedImageFilter
	itkConnectedComponentImageFilter
	itkConnectedThresholdImageFilter
	itkNeighborhoodConnectedImageFilter
	itkRelabelComponentImageFilter
	itkThresholdImageFilter

ManagedITK.Topology
	itkChamferDistanceTransformImageFilter
	itkSkeletonizeImageFilter

ManagedITK.Transforms
	itkAffineTransform
	itkCenteredAffineTransform
	itkCenteredEuler3DTransform
	itkCenteredRigid2DTransform
	itkCenteredSimilarity2DTransform
	itkEuler2DTransform
	itkEuler3DTransform
	itkFlipImageFilter
	itkIdentityTransform
	itkOrientImageFilter
	itkPermuteAxesImageFilter
	itkQuaternionRigidTransform
	itkResampleImageFilter
	itkRigid2DTransform
	itkRigid3DTransform
	itkScalableAffineTransform
	itkScaleLogarithmicTransform
	itkScaleSkewVersor3DTransform
	itkScaleTransform
	itkSimilarity2DTransform
	itkSimilarity3DTransform
	itkTranslationTransform
	itkVersorRigid3DTransform
	itkVersorTransform


On 31/08/2007, Subbu <subbu.iitb at gmail.com> wrote:
>
> Hi,
>
>
> Does any one know how to combine c# (.Net) programming + itk to read DICOm
> images
>
> thanks
>
> K. Subburaj
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list