Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Common
ImageSamplers
itkImageSample.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __ImageSample_h
19
#define __ImageSample_h
20
21
#include "itkNumericTraits.h"
22
23
namespace
itk
24
{
25
33
template
<
class
TImage >
34
class
ImageSample
35
{
36
public
:
37
38
//ImageSample():m_ImageValue(0.0){};
39
ImageSample
(){}
40
~ImageSample
() {}
41
43
typedef
TImage
ImageType
;
44
typedef
typename
ImageType::PointType
PointType
;
45
typedef
typename
ImageType::PixelType PixelType;
46
typedef
typename
NumericTraits< PixelType >::RealType
RealType
;
47
49
PointType
m_ImageCoordinates
;
50
RealType
m_ImageValue
;
51
};
52
53
}
// end namespace itk
54
55
#endif
// end #ifndef __ImageSample_h
itk::ImageSample
A class that defines an image sample, which is the coordinates of a point and its value.
Definition:
itkImageSample.h:35
itk::ImageSample::RealType
NumericTraits< PixelType >::RealType RealType
Definition:
itkImageSample.h:46
itk::ImageSample::m_ImageCoordinates
PointType m_ImageCoordinates
Definition:
itkImageSample.h:49
itk::ImageSample::PointType
ImageType::PointType PointType
Definition:
itkImageSample.h:44
itk::ImageSample::ImageType
TImage ImageType
Definition:
itkImageSample.h:43
itk::ImageSample::ImageSample
ImageSample()
Definition:
itkImageSample.h:39
itk::ImageSample::m_ImageValue
RealType m_ImageValue
Definition:
itkImageSample.h:50
itk::ImageSample::~ImageSample
~ImageSample()
Definition:
itkImageSample.h:40
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4