mathematical-morphology Questions

3

Solved

I am trying to detect playing cards and transform them to get a bird's eye view of the card using python opencv. My code works fine for simple cases but I didn't stop at the simple cases and want t...
Codeine asked 1/7, 2020 at 14:26

2

Solved

As the following piece of code shows, the tensorflow tf.nn.dilation2D function doesn't behave as a conventional dilation operator. import tensorflow as tf tf.InteractiveSession() A = [[0, 0, 0, 0...

2

I'm trying to morphologically close a volume with a ball structuring element created by the function SE3 = skimage.morphology.ball(8). When using closing = cv2.morphologyEx(volume_start, cv2.MORPH_...
Saundra asked 10/11, 2015 at 11:13

1

Solved

Why is the structuring element asymmetric in OpenCV? cv2.getStructuringElement(cv2.MORPH_ELLIPSE, ksize=(4,4)) returns array([[0, 0, 1, 0], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]], dtype...

1

Solved

I've been using morph opening in OpenCV to reduce noise outside of my ROI in images via opencv, and until now, whenever I need a higher degree of noise reduction I just randomly increase kernel siz...
Folkrock asked 13/7, 2017 at 1:28

1

Solved

I'm currently using morphology transformations on binary images with OpenCV 2.4 I just noticed that using the built-in functions of OpenCV, all my pixels' positions are shifted right and down by o...
Kimbell asked 9/6, 2015 at 7:58

2

Solved

I want to create a disk shaped structuring element on OpenCv. I need my SE to be similar with sel = strel('disk',5); I want to do this using cvstructuringElementEx(cols,rows,anchor_x,anchor_y...
Avocado asked 22/6, 2013 at 13:59

1

Solved

A biologist friend of mine asked me if I could help him make a program to count the squama (is this the right translation?) of lizards. He sent me some images and I tried some things on Matlab. F...

2

Solved

I am trying to find the the largest object in an image and remove any other objects in the image that are smaller than it. This is what I have but I cannot get it to work. l=bwlabel(BW); %the ...
Longitude asked 19/3, 2014 at 18:13

2

Solved

Given a contour outlining the edge of the letter S (in comic sans for example), how can I get a series of points along the spine of this letter in order to later represent this shape using lines, c...

2

Solved

I am having trouble achieving the correct segmentation of a grayscale image: The ground truth, i.e. what I would like the segmentation to look like, is this: I am most interested in the three...
Predilection asked 15/11, 2012 at 17:32

3

Solved

I have many skeletonized images like this: How can i detect a cycle, a loop in the skeleton? Are there "special" functions that do this or should I implement it as a graph? In case there is o...

1

Solved

If I have a structuring element looks like this one (the origin is at the center of SE): 0 0 0 0 0 0 0 0 0 If I perform the erosion/dilation on an binary image, the result turns out all 0 or 1....
Inductee asked 1/1, 2013 at 15:3

2

I've got a question regarding the following scenario. As I post-process an image, I gained a contour, which is unfortunately twice connected as you can see at the bottom line. To make it obvious wh...
Fictional asked 27/11, 2012 at 22:31

2

Solved

I have pictures of a surface with many grooves. In most cases the edges of the grooving form parallel lines so Canny and Hough transformation work very good to detect the lines and to do some chara...
Stator asked 23/11, 2012 at 15:11

1

Solved

When i use the canny edge algorithm, it produces the 2 edges opposite the thick colored line as expected, but i want only one edge to be displayed so as to make my line and curve detection algorith...

2

Solved

In the following code I want to use the dilate function but I don't know how to cast a Mat class into a InputArray and OutputArray. Can you help me? Using this prototype function: void dilate(Inp...

2

Solved

The objective of skeletonization is to represent a binary image with a minimum set of pixels. The skeleton must account for geometrical properties of the form and retain associative relationships. ...
Jointless asked 20/5, 2010 at 16:35
1

© 2022 - 2024 — McMap. All rights reserved.