View Source Evision.CUDA.CLAHE (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an CUDA.CLAHE struct.

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.

Link to this section Types

@type t() :: %Evision.CUDA.CLAHE{ref: reference()}

Type that represents an CUDA.CLAHE struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

apply(self, src, stream)

View Source

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.t().

    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
Link to this function

apply(self, src, stream, opts)

View Source
@spec apply(
  Evision.CLAHE.t(),
  Evision.Mat.maybe_mat_in(),
  Evision.CUDA.Stream.t(),
  [{atom(), term()}, ...] | nil
) :: Evision.Mat.t() | {:error, String.t()}
@spec apply(
  Evision.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.t().

    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