I
- Type of Image
being processedpublic abstract class CLImageAnalyser<I extends Image<?,I>> extends Object implements ImageAnalyser<I>
ImageAnalyser
for GPGPU accelerated analysis.Modifier and Type | Field and Description |
---|---|
protected com.nativelibs4java.opencl.CLContext |
context |
protected com.nativelibs4java.opencl.CLKernel |
kernel |
Constructor and Description |
---|
CLImageAnalyser(com.nativelibs4java.opencl.CLContext context,
com.nativelibs4java.opencl.CLProgram program)
Construct with the given OpenCL program
|
CLImageAnalyser(com.nativelibs4java.opencl.CLContext context,
InputStream src)
Construct by reading the program source from a stream
|
CLImageAnalyser(com.nativelibs4java.opencl.CLContext context,
String... programSrcs)
Construct with the given OpenCL program source, given in
the form of
String s. |
CLImageAnalyser(com.nativelibs4java.opencl.CLContext context,
URL srcUrl)
Construct with the program sourcecode at the given URL.
|
CLImageAnalyser(com.nativelibs4java.opencl.CLKernel kernel)
Construct with the given OpenCL kernel
|
CLImageAnalyser(com.nativelibs4java.opencl.CLProgram program)
Construct with the given OpenCL program
|
CLImageAnalyser(InputStream src)
Construct by reading the program source from a stream
|
CLImageAnalyser(String... programSrcs)
Construct with the given OpenCL program source, given in
the form of
String s. |
CLImageAnalyser(URL srcUrl)
Construct with the program sourcecode at the given URL.
|
protected com.nativelibs4java.opencl.CLContext context
protected com.nativelibs4java.opencl.CLKernel kernel
public CLImageAnalyser(com.nativelibs4java.opencl.CLProgram program)
program
- the OpenCL programpublic CLImageAnalyser(String... programSrcs)
String
s.programSrcs
- the source of the programpublic CLImageAnalyser(URL srcUrl) throws IOException
srcUrl
- the urlIOException
public CLImageAnalyser(InputStream src) throws IOException
src
- the source streamIOException
public CLImageAnalyser(com.nativelibs4java.opencl.CLContext context, com.nativelibs4java.opencl.CLProgram program)
context
- the OpenCL context to useprogram
- the OpenCL programpublic CLImageAnalyser(com.nativelibs4java.opencl.CLContext context, String... programSrcs)
String
s.context
- the OpenCL context to useprogramSrcs
- the source of the programpublic CLImageAnalyser(com.nativelibs4java.opencl.CLKernel kernel)
kernel
- the OpenCL kernel to usepublic CLImageAnalyser(com.nativelibs4java.opencl.CLContext context, URL srcUrl) throws IOException
context
- the OpenCL context to usesrcUrl
- the urlIOException
public CLImageAnalyser(com.nativelibs4java.opencl.CLContext context, InputStream src) throws IOException
context
- the OpenCL context to usesrc
- the source streamIOException