|
a |
|
b/src/mergeChannels.h |
|
|
1 |
#include <nanobind/nanobind.h> |
|
|
2 |
#include <nanobind/stl/vector.h> |
|
|
3 |
#include <nanobind/stl/string.h> |
|
|
4 |
#include <nanobind/stl/tuple.h> |
|
|
5 |
#include <nanobind/ndarray.h> |
|
|
6 |
|
|
|
7 |
#include <exception> |
|
|
8 |
#include <vector> |
|
|
9 |
#include <string> |
|
|
10 |
|
|
|
11 |
#include "itkImage.h" |
|
|
12 |
#include "itkVectorImage.h" |
|
|
13 |
#include "itkImageRegionIteratorWithIndex.h" |
|
|
14 |
|
|
|
15 |
#include "antsImage.h" |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
template< class VectorImageType, class ImageType> |
|
|
19 |
std::vector<AntsImage<ImageType>> splitChannels( AntsImage<VectorImageType> & antsimage ); |
|
|
20 |
|
|
|
21 |
template< class ImageType, class VectorImageType > |
|
|
22 |
AntsImage<VectorImageType> mergeChannels( std::vector<AntsImage<ImageType>> imageList ); |
|
|
23 |
|
|
|
24 |
template< class ImageType, class VectorImageType > |
|
|
25 |
typename VectorImageType::Pointer mergeChannels2( std::vector<AntsImage<ImageType>> imageList ); |
|
|
26 |
|
|
|
27 |
template< class ImageType, class VectorImageType > |
|
|
28 |
typename VectorImageType::Pointer mergeChannels3( std::vector<AntsImage<ImageType>> imageList ); |