LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Classes | |
struct | SPoint2 |
Simple 2D point (suitable for use on a GPU) More... | |
struct | SVec2 |
Simple 2D vector (suitable for use on a GPU) More... | |
struct | SBox2I |
defines a 2D range of integer values begX <= x < endX, begY <= y < endY More... | |
struct | LinearInterp |
struct | BilinearInterp |
struct | PixelIVM |
defines a pixel having image, variance and mask planes More... | |
struct | ImageDataPtr |
defines memory region containing image data More... | |
Typedefs | |
typedef lsst::afw::image::VariancePixel | VarPixel |
typedef lsst::afw::image::MaskPixel | MskPixel |
Enumerations | |
enum | KernelType { KERNEL_TYPE_LANCZOS, KERNEL_TYPE_BILINEAR, KERNEL_TYPE_NEAREST_NEIGHBOR } |
Functions | |
SVec2 | VecAdd (SVec2 a, SVec2 b) |
SVec2 | VecSub (SVec2 a, SVec2 b) |
SVec2 | VecMul (SVec2 v, double m) |
SPoint2 | MovePoint (SPoint2 p, SVec2 v) |
template<typename DestPixelT , typename SrcPixelT > | |
void | WarpImageGpuCallKernel (bool isMaskedImage, ImageDataPtr< DestPixelT > destImageGpu, ImageDataPtr< SrcPixelT > srcImageGpu, int mainKernelSize, KernelType maskKernelType, int maskKernelSize, SBox2I srcGoodBox, PixelIVM< DestPixelT > edgePixel, BilinearInterp *srcPosInterp, int interpLength) |
Calls the GPU kernel for lanczos resampling. More... | |
Variables | |
const int | maxGpuSfCount =100 |
int const | SIZE_X_WARPING_BLOCK =16 |
int const | SIZE_Y_WARPING_BLOCK =16 |
int const | SIZE_MAX_WARPING_KERNEL =100 |
Definition at line 49 of file CudaLanczos.h.
Definition at line 48 of file CudaLanczos.h.
Enumerator | |
---|---|
KERNEL_TYPE_LANCZOS | |
KERNEL_TYPE_BILINEAR | |
KERNEL_TYPE_NEAREST_NEIGHBOR |
Definition at line 188 of file CudaLanczos.h.
|
inline |
Definition at line 94 of file CudaLanczos.h.
|
inline |
Definition at line 82 of file CudaLanczos.h.
|
inline |
Definition at line 90 of file CudaLanczos.h.
|
inline |
Definition at line 86 of file CudaLanczos.h.
void lsst::afw::math::detail::gpu::WarpImageGpuCallKernel | ( | bool | isMaskedImage, |
ImageDataPtr< DestPixelT > | destImageGpu, | ||
ImageDataPtr< SrcPixelT > | srcImageGpu, | ||
int | mainKernelSize, | ||
KernelType | maskKernelType, | ||
int | maskKernelSize, | ||
SBox2I | srcGoodBox, | ||
PixelIVM< DestPixelT > | edgePixel, | ||
BilinearInterp * | srcPosInterp, | ||
int | interpLength | ||
) |
Calls the GPU kernel for lanczos resampling.
const int lsst::afw::math::detail::gpu::maxGpuSfCount =100 |
Definition at line 50 of file convCUDA.h.
int const lsst::afw::math::detail::gpu::SIZE_MAX_WARPING_KERNEL =100 |
Definition at line 53 of file CudaLanczos.h.
int const lsst::afw::math::detail::gpu::SIZE_X_WARPING_BLOCK =16 |
Definition at line 51 of file CudaLanczos.h.
int const lsst::afw::math::detail::gpu::SIZE_Y_WARPING_BLOCK =16 |
Definition at line 52 of file CudaLanczos.h.