Interface CUDASeparableConvolution
- All Superinterfaces:
CUDAStandardFunctions,com.sun.jna.Library
Interface to load the native library for separable convolution using CUDA/CPU
(https://github.com/StephanPreibisch/SeparableConvolutionCUDALib)
- Author:
- Stephan Preibisch (stephan.preibisch@gmx.de)
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler -
Field Summary
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER -
Method Summary
Modifier and TypeMethodDescriptionvoidconvolutionCPU(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int kernelRX, int kernelRY, int kernelRZ, int imageW, int imageH, int imageD, int outofbounds, float outofboundsvalue) booleanconvolve_127(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) booleanconvolve_15(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) booleanconvolve_31(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) booleanconvolve_63(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) booleanconvolve_7(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) Methods inherited from interface net.preibisch.mvrecon.process.cuda.CUDAStandardFunctions
getCUDAcomputeCapabilityMajorVersion, getCUDAcomputeCapabilityMinorVersion, getFreeMemDeviceCUDA, getMemDeviceCUDA, getNameDeviceCUDA, getNumDevicesCUDA
-
Method Details
-
convolve_127
boolean convolve_127(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) -
convolve_63
boolean convolve_63(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) -
convolve_31
boolean convolve_31(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) -
convolve_15
boolean convolve_15(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) -
convolve_7
boolean convolve_7(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int imageW, int imageH, int imageD, boolean convolveX, boolean convolveY, boolean convolveZ, int outofbounds, float outofboundsvalue, int devCUDA) -
convolutionCPU
void convolutionCPU(float[] image, float[] kernelX, float[] kernelY, float[] kernelZ, int kernelRX, int kernelRY, int kernelRZ, int imageW, int imageH, int imageD, int outofbounds, float outofboundsvalue)
-