plastimatch
Loading...
Searching...
No Matches
src
util
itk_crop.h
Go to the documentation of this file.
1
/* -----------------------------------------------------------------------
2
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3
----------------------------------------------------------------------- */
4
#ifndef _itk_crop_h_
5
#define _itk_crop_h_
6
7
#include "
plmutil_config.h
"
8
#include "
itk_image.h
"
9
10
template
<
class
T>
11
PLMUTIL_API
12
T
13
itk_crop_by_index
(
T
& image,
const
int
*
new_size
);
14
15
template
<
class
T>
16
PLMUTIL_API
17
T
18
itk_crop_by_coord
(
T
& image,
const
float
*
new_size
);
19
20
template
<
class
T>
21
PLMUTIL_API
22
T
23
itk_crop_by_image
(
T
& image,
const
UCharImageType::Pointer&
bbox_image
);
24
25
#endif
Point
Definition
pointset.h:15
itk_crop_by_image
T itk_crop_by_image(T &image, const UCharImageType::Pointer &bbox_image)
Definition
itk_crop.cxx:134
itk_crop_by_coord
T itk_crop_by_coord(T &image, const float *new_size)
itk_crop_by_index
T itk_crop_by_index(T &image, const int *new_size)
itk_image.h
plmutil_config.h
PLMUTIL_API
#define PLMUTIL_API
Definition
plmutil_config.h:26
Generated on Thu Apr 11 2024 17:38:24 for plastimatch by
1.9.8