plastimatch
Loading...
Searching...
No Matches
ss_img_extract.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _ss_img_extract_h_
5#define _ss_img_extract_h_
6
7#include "plmbase_config.h"
8#include "itk_image_type.h"
9#include "plm_image.h"
10
11PLMBASE_API UCharImageType::Pointer ss_img_extract_bit (
12 const Plm_image::Pointer& image,
13 unsigned int bit
14);
15PLMBASE_API UCharImageType::Pointer ss_img_extract_bit (
16 UInt32ImageType::Pointer image,
17 unsigned int bit
18);
19PLMBASE_API UCharImageType::Pointer ss_img_extract_bit (
20 UCharVecImageType::Pointer image,
21 unsigned int bit
22);
23template<class T> PLMBASE_API typename itk::Image<typename T::ObjectType::IOPixelType, T::ObjectType::ImageDimension>::Pointer
24ss_img_extract_uchar (T im_in, unsigned int uchar_no);
25
27 UCharVecImageType::Pointer vec_img,
28 UCharImageType::Pointer uchar_img,
29 unsigned int uchar_no
30);
31
32#endif
Definition pointset.h:15
#define PLMBASE_API
Definition plmbase_config.h:19
void ss_img_insert_uchar(UCharVecImageType::Pointer vec_img, UCharImageType::Pointer uchar_img, unsigned int uchar_no)
Definition ss_img_extract.cxx:143
itk::Image< typenameT::ObjectType::IOPixelType, T::ObjectType::ImageDimension >::Pointer ss_img_extract_uchar(T im_in, unsigned int uchar_no)
Definition ss_img_extract.cxx:101
UCharImageType::Pointer ss_img_extract_bit(const Plm_image::Pointer &image, unsigned int bit)
Definition ss_img_extract.cxx:80