View Source Evision.CUDA.CLAHE (Evision v0.2.9)
Summary
Functions
Variant 1:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Variant 1:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Types
@type t() :: %Evision.CUDA.CLAHE{ref: reference()}
Type that represents an CUDA.CLAHE
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec apply( Evision.CUDA.CUDA.CLAHE.t(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t() ) :: Evision.Mat.t() | {:error, String.t()}
@spec apply( Evision.CUDA.CUDA.CLAHE.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.Stream.t() ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Positional Arguments
self:
Evision.CUDA.CLAHE.t()
src:
Evision.Mat
.Source image with CV_8UC1 type.
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.Mat.t()
.Destination image.
Python prototype (for reference only):
apply(src, stream[, dst]) -> dst
Variant 2:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Positional Arguments
self:
Evision.CUDA.CLAHE.t()
src:
Evision.CUDA.GpuMat.t()
.Source image with CV_8UC1 type.
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.CUDA.GpuMat.t()
.Destination image.
Python prototype (for reference only):
apply(src, stream[, dst]) -> dst
@spec apply( Evision.CUDA.CUDA.CLAHE.t(), Evision.Mat.maybe_mat_in(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.Mat.t() | {:error, String.t()}
@spec apply( Evision.CUDA.CUDA.CLAHE.t(), Evision.CUDA.GpuMat.t(), Evision.CUDA.Stream.t(), [{atom(), term()}, ...] | nil ) :: Evision.CUDA.GpuMat.t() | {:error, String.t()}
Variant 1:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Positional Arguments
self:
Evision.CUDA.CLAHE.t()
src:
Evision.Mat
.Source image with CV_8UC1 type.
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.Mat.t()
.Destination image.
Python prototype (for reference only):
apply(src, stream[, dst]) -> dst
Variant 2:
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
Positional Arguments
self:
Evision.CUDA.CLAHE.t()
src:
Evision.CUDA.GpuMat.t()
.Source image with CV_8UC1 type.
stream:
Evision.CUDA.Stream.t()
.Stream for the asynchronous version.
Return
dst:
Evision.CUDA.GpuMat.t()
.Destination image.
Python prototype (for reference only):
apply(src, stream[, dst]) -> dst