How to extract component from vector image

来源:互联网 发布:淘宝歆曼商学院怎么样 编辑:程序博客网 时间:2024/05/18 00:21

Save to file:

itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage > Class Template Reference

Extracts the selected index of the vector that is the input pixel type.

This filter is templated over the input image type and output image type.

The filter expect the input image pixel type to be a vector and the output image pixel type to be a scalar. The only requirement on the type used for representing the vector is that it must provide an operator[].


Only read into buffer:

itk::VectorImageToImageAdaptor< TPixelType, Dimension > Class Template Reference

Presents a VectorImage and extracts a component from it into an image.

The class is expected to be templated over a pixel type and dimension. These are the pixel types and dimension of the VectorImage.

The component to extract is set with SetExtractComponentIdx() method RGBPixel type.


原创粉丝点击