Questions tagged [mser]

In computer vision, maximally stable extremal regions (MSER) are used as a method of blob detection in images.

This technique is used to find correspondences between image elements from two images with different viewpoints. This method of extracting a comprehensive number of corresponding image elements contributes to the wide-baseline matching, and it has led to better stereo matching and object recognition algorithms.

63 questions
1
vote
1 answer

Compute the descriptor size using MSER as interesting keypoints

I am working on an image registration method applied to histological images. I have one question. I would like to use MSER feature detector to detect keypoints on my image. After the MSER contours were retrieved using the MSER function provided by…
Ivánovick
  • 267
  • 1
  • 5
  • 17
0
votes
1 answer

Why is sift.compute() slower on MSER keypoints than on SIFT keypoints

Testing the performance of the sift extractor from openCV on a 1080x1080 image resulted in some unexpected results: img = cv.imread("myImage.jpg", 0) # gray mser = cv.MSER_create() sift = cv.SIFT_create() kp = sift.detect(img) # len(kp) ==…
Daan Seuntjens
  • 880
  • 1
  • 18
  • 37
0
votes
0 answers

can anyone teach me how the Maximally Stable Extremal Region (MSER) formula works in detail?

im so confused right now, because i still dont understand how to find maxVariation, minArea, maxArea, and thresholdDelta value in manual calculation in MSER. specially on this formula can anyone tell me how to solve this formula? Thanks.
Ka-Ta
  • 1
0
votes
0 answers

How to compute SIFT descriptors over MSER ellipsoids in VLFeat?

I have a grayscale image (one value per pixel between 0 and 255) and I want to detect keypoints using MSER algorithm (i.e. ellipsoids) and describe those keypoints using SIFT descriptors. I am using the functions in the VLFeat library. First I get…
Sergio6Rey
  • 385
  • 5
  • 19
0
votes
2 answers

Difficulty extracting characters using MSER in images which have borders around the text

I am trying to develop a OCR system. I am trying to use MSER in order to extract character from an image and then passing the characters into a CNN to recognize those characters. Here is my code for character extraction: import cv2 import numpy as…
Shantanu Shinde
  • 932
  • 3
  • 23
  • 48
0
votes
1 answer

MSER text detection issue

I try to use MSER algorithm to text detection. I use this code: import cv2 import numpy as np #Create MSER object mser = cv2.MSER_create() #Your image path i-e receipt path img = cv2.imread('test.jpg') #Convert to gray scale gray =…
V. Gai
  • 450
  • 3
  • 9
  • 30
0
votes
1 answer

Error performing convexHull on MSER detected regions

I have found an example of MSER in Python OpenCV. When I try to run it I get an error when it tries to reshape a list/numpy.array. The error is: AttributeError: 'list' object has no attribute 'reshape' How can I fix this issue? In the below simple…
sazr
  • 24,984
  • 66
  • 194
  • 362
0
votes
1 answer

OpenCV MSER detect areas from a screenshot - Python

I saw this example: OpenCV MSER detect text areas - Python and I tried to use that code but it's not working. The error is: hulls = [cv2.convexHull(p.reshape(-1, 1, 2)) for p in regions] AttributeError: 'list' object has no attribute…
Rita Maia
  • 51
  • 7
0
votes
0 answers

Save shape of MSER (Python, OpenCV)

The question is this: how can I save the shape a MSER image give me as output ? I already received an answer here but using bounding boxes. What I want is to save the shape as it seems to result a bit more accurate than a box. For the code I am…
lucians
  • 2,239
  • 5
  • 36
  • 64
0
votes
0 answers

how to detect objects in images?

I am trying to find options for detecting objects in image. Couple of options I found while researching are openCV and catchroom sdk. Are there any other options that you have used or know of that works well? My use case is to detect all objects…
0
votes
1 answer

Remove overlapping MSERs-matlab

the detectMSERFeatures method yields several msers which overlap. Is there a way to remove overlapping regions? Thanks
0
votes
1 answer

OpenCV MSER implementation produces different results for android and desktop version

It seems like MSER algorithm works differently for desktop and Android version of OpenCV 3.0. The code below produces different results depending on the platform where OpenCV is run (desktop or android): Mat img = Imgcodecs.imread(filename,…
Alex B
  • 70
  • 7
0
votes
1 answer

MSER circles center

I`m using MSER feature detector to detect all the circles from an image and it works perfect but i have to get the center of those circles. Do you know any posibility to get the center? Here is the source code: void main() { Mat inImg =…
Mahagney Saleh
  • 117
  • 2
  • 11
0
votes
1 answer

How to get MSER component tree via opencv

I am using opencv now. I found MSER only provide the operator() function which return vector >, How could I get the component tree structure of MSER region?
0
votes
1 answer

MSER Output as Binary Image

I would like to detect salient regions in a color image by using Maximum stable extremal region (MSER) algorithm as described in paper…
shexbeer
  • 3
  • 2