-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathutilitiesImage.h
37 lines (27 loc) · 874 Bytes
/
utilitiesImage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef utilitiesImage_h_
#define utilitiesImage_h_
// itk
#include "itkImage.h"
namespace needletracking
{
/**
* Cast image pixel type
*/
template< typename InputImageType, typename OutputImageType >
typename OutputImageType::Pointer
castItkImage( typename InputImageType::Pointer inputImage );
/**
* Compute the Vesselness image
*/
template< typename InputImageType, typename OutputImageType >
typename OutputImageType::Pointer
computerVesselnessImage( typename InputImageType::Pointer inputImage, double sigma, double alpha1 = 0.1, double alpha2 = 5.0 );
/**
* Flip image intensity
*/
template< typename ImageType >
typename ImageType::Pointer
flipImageIntensity( typename ImageType::Pointer inputImage, typename ImageType::PixelType& maxIntensity);
}// namespace needletracking
#include "utilitiesImage.hxx"
#endif