View Source Evision.MSER (Evision v0.1.9)

Link to this section Summary

cv

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

Full constructor for %MSER detector

Full constructor for %MSER detector

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return

Detects keypoints and computes the descriptors

Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return

Detects keypoints and computes the descriptors

Detect %MSER regions

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Variant 1:

Positional Arguments

Python prototype (for reference):

Positional Arguments
  • delta: int

Python prototype (for reference):

Positional Arguments
  • maxArea: int

Python prototype (for reference):

Positional Arguments
  • minArea: int

Python prototype (for reference):

Positional Arguments
  • f: bool

Python prototype (for reference):

Variant 1:

Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Python prototype (for reference):

Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Python prototype (for reference):

Link to this section cv

Link to this function

compute(self, images, keypoints)

View Source

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

    Image set.

Return
  • keypoints: [vector_KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: [Evision.Mat].

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Has overloading in C++

Python prototype (for reference):

compute(images, keypoints[, descriptors]) -> keypoints, descriptors

Variant 2:

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).

Positional Arguments
Return
  • keypoints: [KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: Evision.Mat.

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Python prototype (for reference):

compute(image, keypoints[, descriptors]) -> keypoints, descriptors
Link to this function

compute(self, images, keypoints, opts)

View Source

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

    Image set.

Return
  • keypoints: [vector_KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: [Evision.Mat].

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Has overloading in C++

Python prototype (for reference):

compute(images, keypoints[, descriptors]) -> keypoints, descriptors

Variant 2:

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).

Positional Arguments
Return
  • keypoints: [KeyPoint].

    Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation).

  • descriptors: Evision.Mat.

    Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint.

Python prototype (for reference):

compute(image, keypoints[, descriptors]) -> keypoints, descriptors

Full constructor for %MSER detector

Keyword Arguments
  • delta: int.

    it compares \f$(size{i}-size{i-delta})/size_{i-delta}\f$

  • min_area: int.

    prune the area which smaller than minArea

  • max_area: int.

    prune the area which bigger than maxArea

  • max_variation: double.

    prune the area have similar size to its children

  • min_diversity: double.

    for color image, trace back to cut off mser with diversity less than min_diversity

  • max_evolution: int.

    for color image, the evolution steps

  • area_threshold: double.

    for color image, the area threshold to cause re-initialize

  • min_margin: double.

    for color image, ignore too small margin

  • edge_blur_size: int.

    for color image, the aperture size for edge blur

Python prototype (for reference):

create([, delta[, min_area[, max_area[, max_variation[, min_diversity[, max_evolution[, area_threshold[, min_margin[, edge_blur_size]]]]]]]]]) -> retval

Full constructor for %MSER detector

Keyword Arguments
  • delta: int.

    it compares \f$(size{i}-size{i-delta})/size_{i-delta}\f$

  • min_area: int.

    prune the area which smaller than minArea

  • max_area: int.

    prune the area which bigger than maxArea

  • max_variation: double.

    prune the area have similar size to its children

  • min_diversity: double.

    for color image, trace back to cut off mser with diversity less than min_diversity

  • max_evolution: int.

    for color image, the evolution steps

  • area_threshold: double.

    for color image, the area threshold to cause re-initialize

  • min_margin: double.

    for color image, ignore too small margin

  • edge_blur_size: int.

    for color image, the aperture size for edge blur

Python prototype (for reference):

create([, delta[, min_area[, max_area[, max_variation[, min_diversity[, max_evolution[, area_threshold[, min_margin[, edge_blur_size]]]]]]]]]) -> retval

Python prototype (for reference):

defaultNorm() -> retval

Python prototype (for reference):

descriptorSize() -> retval

Python prototype (for reference):

descriptorType() -> retval

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

    Image set.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional). masks[i] is a mask for images[i].

Return
  • keypoints: [vector_KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Has overloading in C++

Python prototype (for reference):

detect(images[, masks]) -> keypoints

Variant 2:

Detects keypoints in an image (first variant) or image set (second variant).

Positional Arguments
Keyword Arguments
  • mask: Evision.Mat.

    Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.

Return
  • keypoints: [KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Python prototype (for reference):

detect(image[, mask]) -> keypoints
Link to this function

detect(self, images, opts)

View Source

Variant 1:

Positional Arguments
  • images: [Evision.Mat].

    Image set.

Keyword Arguments
  • masks: [Evision.Mat].

    Masks for each input image specifying where to look for keypoints (optional). masks[i] is a mask for images[i].

Return
  • keypoints: [vector_KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Has overloading in C++

Python prototype (for reference):

detect(images[, masks]) -> keypoints

Variant 2:

Detects keypoints in an image (first variant) or image set (second variant).

Positional Arguments
Keyword Arguments
  • mask: Evision.Mat.

    Mask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.

Return
  • keypoints: [KeyPoint].

    The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .

Python prototype (for reference):

detect(image[, mask]) -> keypoints
Link to this function

detectAndCompute(self, image, mask)

View Source
Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return

Detects keypoints and computes the descriptors

Python prototype (for reference):

detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -> keypoints, descriptors
Link to this function

detectAndCompute(self, image, mask, opts)

View Source
Positional Arguments
Keyword Arguments
  • useProvidedKeypoints: bool.
Return

Detects keypoints and computes the descriptors

Python prototype (for reference):

detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -> keypoints, descriptors
Link to this function

detectRegions(self, image)

View Source

Detect %MSER regions

Positional Arguments
  • image: Evision.Mat.

    input image (8UC1, 8UC3 or 8UC4, must be greater or equal than 3x3)

Return
  • msers: [vector_Point].

    resulting list of point sets

  • bboxes: [Rect].

    resulting bounding boxes

Python prototype (for reference):

detectRegions(image) -> msers, bboxes

Python prototype (for reference):

empty() -> retval

Python prototype (for reference):

getDefaultName() -> retval

Python prototype (for reference):

getDelta() -> retval

Python prototype (for reference):

getMaxArea() -> retval

Python prototype (for reference):

getMinArea() -> retval

Python prototype (for reference):

getPass2Only() -> retval

Variant 1:

Positional Arguments

Python prototype (for reference):

read(fileName) -> None

Variant 2:

Positional Arguments
  • arg1: FileNode

Python prototype (for reference):

read(arg1) -> None
Positional Arguments
  • delta: int

Python prototype (for reference):

setDelta(delta) -> None
Link to this function

setMaxArea(self, maxArea)

View Source
Positional Arguments
  • maxArea: int

Python prototype (for reference):

setMaxArea(maxArea) -> None
Link to this function

setMinArea(self, minArea)

View Source
Positional Arguments
  • minArea: int

Python prototype (for reference):

setMinArea(minArea) -> None
Positional Arguments
  • f: bool

Python prototype (for reference):

setPass2Only(f) -> None

Variant 1:

Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Python prototype (for reference):

write(fs[, name]) -> None

Variant 2:

Positional Arguments

Python prototype (for reference):

write(fileName) -> None
Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Python prototype (for reference):

write(fs[, name]) -> None

Link to this section Functions

Link to this function

compute!(self, images, keypoints)

View Source

Raising version of compute/3.

Link to this function

compute!(self, images, keypoints, opts)

View Source

Raising version of compute/4.

Raising version of create/0.

Raising version of create/1.

Raising version of defaultNorm/1.

Raising version of descriptorSize/1.

Raising version of descriptorType/1.

Raising version of detect/2.

Link to this function

detect!(self, images, opts)

View Source

Raising version of detect/3.

Link to this function

detectAndCompute!(self, image, mask)

View Source

Raising version of detectAndCompute/3.

Link to this function

detectAndCompute!(self, image, mask, opts)

View Source

Raising version of detectAndCompute/4.

Link to this function

detectRegions!(self, image)

View Source

Raising version of detectRegions/2.

Raising version of empty/1.

Raising version of getDefaultName/1.

Raising version of getDelta/1.

Raising version of getMaxArea/1.

Raising version of getMinArea/1.

Raising version of getPass2Only/1.

Raising version of read/2.

Raising version of setDelta/2.

Link to this function

setMaxArea!(self, maxArea)

View Source

Raising version of setMaxArea/2.

Link to this function

setMinArea!(self, minArea)

View Source

Raising version of setMinArea/2.

Raising version of setPass2Only/2.

Raising version of write/2.

Raising version of write/3.