plastimatch
Loading...
Searching...
No Matches
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
10template <class T>
12T
13itk_crop_by_index (T& image, const int *new_size);
14
15template <class T>
17T
18itk_crop_by_coord (T& image, const float *new_size);
19
20template <class T>
22T
23itk_crop_by_image (T& image, const UCharImageType::Pointer& bbox_image);
24
25#endif
Definition pointset.h:15
T itk_crop_by_image(T &image, const UCharImageType::Pointer &bbox_image)
Definition itk_crop.cxx:134
T itk_crop_by_coord(T &image, const float *new_size)
T itk_crop_by_index(T &image, const int *new_size)
#define PLMUTIL_API
Definition plmutil_config.h:26