Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [morphological-operations]

Non-linear operators in Mathematical Morphology is the theory of using algebraic structure of lattices and geometrical analysis of structures, based on set theory, topology, and random functions. operators: Erosion, Dilation, Opening and Closing. Reconstruction filters, Connected filters, granulometries, watershed transformation, levelling, alternating sequential filters(ASFS), Duality, Idempotent filters, hierarchical analysis.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

How to partition collagen into separate fibers?

I have a picture representing collagen fibers of a tissue: Image is binary consisting of a background (pixels with value 0) and white collagen (pixels with value 1). A zoomed in section of an image ...
0
votes
0answers
34 views

Disabled parking sign detection

I would like to ask you, if you could recommend some algorithm for detection of handicapped or disabled parking sign painted on the road or on the traffic sign. I am thinking about image morphology (...
0
votes
0answers
19 views

Amount of pixel eroded

Is there a definite relation between the kernel size and shape of a morphology change and the amount of pixels added or removed? I have a case where I have a segmented image, and I need to remove x ...
1
vote
2answers
60 views

Fast morphological erosion/dilation with variable window sizes

I want to perform the following operation on an image: consider a square window around every pixel, find the maximum value in this window, and replace the central pixel value with this maximum value. ...
1
vote
1answer
173 views

Morphology - Why does the concept of opening and closing images exist when we already have erosion and dilation?

If we consider the closing operation of an image, we first dilate the image and then erode it. So, first we expand the foreground (white pixels) and and then we take away some part of the foreground. ...
0
votes
1answer
51 views

How does reconstruction function relate to watershed segmentation?

I'm trying to understand how watershed work by reading The Morphological Approach to Segmentation: The Watershed Transformation S. Beucher and F. Meyer This document mentions the reconstruction ...
0
votes
1answer
829 views

removing vertical lines in grayscale images by thickness

Suppose we have a grayscale image that contains vertical lines. Now suppose that not all vertical lines are the same, some of them have different thickness. Question is, is there a way, in MATLAB or ...
0
votes
1answer
359 views

Counting pixel connectivity groups

How many 4-connected and 8-connected components are present in the binary image below? Using definition of connectivities from the same textbook "A connected component is a group of pixels that are ...
2
votes
1answer
283 views

Algo Name: Detecting Elongated Shape in 2D Image by Convolution with Directed Lines

I am detecting a shape with roughly known orientation (obtained by using Hough line transform) in thresholded binary image by convolving the image with line with that orientation, and counting the ...
1
vote
0answers
67 views

Edge linking by adaptive mathematical morphology

I'm trying to implement the Adaptive Morphological Edge-Linking Algorithm (Frank Y. Shih, Image Processing and Pattern Recognition: Fundamentals and Techniques, section 5.5.2 OR Article link). The ...
1
vote
1answer
89 views

Morphological transformations for images with discrete values

I have a series of images in which the pixels take integer values corresponding to a classification. I'd like to try some morphological transformations (e.g. erosion, dilation) to remove noise and ...
4
votes
2answers
660 views

Granulometry by morphological opening and closing

I am trying to understand granulometry. I understand that it deals with determining the size distribution of particles in an image and uses the principles of opening and closing. I have a smoothed ...
3
votes
2answers
911 views

Segmentation of overlapping noisy parallelograms in a binary image

Edited. Previously this question was named "Segmentation of overlapping pulses in a binary spectrogram" and it was stated in slightly different way. I'm apologise to those users, who were affected by ...
2
votes
1answer
192 views

Morphological Gradient Versus Linear Gradient in Image Processing

To obtain the gradient from an image, one can use a linear filter that for example is derrived from the derrivative of a gaussian. Then convolving the image with this linear filter gives you the ...
1
vote
0answers
496 views

Gap Filling Contours / Lines

I have the following image: and I would like to fill in its contours (i.e. I would like to gap fill the lines in this image). I have tried a morphological closing, but using a rectangular kernel of ...
2
votes
1answer
81 views

Using morphological operations for color images processing

Have you ever seen any articles about using morphological-like technique for denoising color images?
0
votes
2answers
651 views

OCR (optical character recognition) for Indian languages - segmentation

Can any one help me in how to extract a table from the whole document image and segment it? I have done segmentation for the document image which has only text by using the projection profile. So ...
4
votes
3answers
12k views

Best way to remove unwanted region from image

I am finding the techniques to remove unwanted regions (small dots) from image. I have an image that includes object and some unwanted region (small dots- see first image). I want to remove it. Hence, ...
1
vote
2answers
1k views

Computations in Grayscale morphology dilation

I red this link, but unfortunately i still don't understand the process... By the way, Dilation process is performed by laying the structuring element H on the image I and sliding it across the image ...
1
vote
1answer
652 views

Decomposition of **3D** structuring elements for morphological operations

I am struggling to implement a mathematical morphology toolset in an image processing package. I base my implementation on what I saw in MATLAB, and on several papers on the subject. There seems to ...
3
votes
2answers
5k views

Uneven background subtraction: Rolling ball vs Disk tophat

A classical technique in still images (e.g. fluorescence microscopy images) to remove uneven illumination and isolate bright blobs is to use morphological operation such as the top-hat transform. For ...
2
votes
2answers
6k views

OpenCV: Problem at creating a Skeleton of Lines

I need to get the lines from a photographie of a sheet of paper. While recherching, I came along this, where one answer referred to this blog entry. Now I am having trouble with this approach. I have ...
3
votes
1answer
102 views

Erosion in image

I don't if I am posting my question in the correct place. I have tried hard to solved it but I am unsuccessful. I have an structuring element shown below: ...
3
votes
1answer
2k views

Image processing: how do I erode on boundary and dilate inside boundary?

I have an image that I am trying to process: I want two seamingly contradictory effects: I want to remove "holes" inside "the blob". That is I want all pixels inside the blob to be solid red. I want ...
1
vote
0answers
6k views

Find branches in skeleton image using matlab

I have a skeleton image. I am able to detect branchpoints, endpoints and able to label image using BWMorph, BWLabel. Now I want to differntiate between skeleton center line and branches. In short I ...
4
votes
1answer
929 views

Grayscale morphology

Hello I've been trying to understand the grayscale dilation operation using the following example, but my results are different. $I = \begin{pmatrix} \bf{5} & 2 & 4 \\ 1 & -3 & 1 \end{...
8
votes
3answers
2k views

Shape of structuring elements for morphological gradients

I am looking to understand recommended shapes of structuring elements used in calculating morphological gradients. According to Pierre Soille: Morphological Image Analysis: Only symmetric ...
11
votes
3answers
53k views

OpenCV/C++ connect nearby contours based on distance between them

I have to connect nearby contours in an image based on the distance between them which specifies if the contours are to be connected. Now there's a question already on the same problem here https://...
10
votes
2answers
217 views

On the de-noising of time-frequency images

I am wondering what techniques might be available for 'de-noising' the following example time-frequency image that was created using Welch's method. The following plot was created from a robotic ...
7
votes
4answers
569 views

How to: pixel packs in an image to representative point coordinates (x,y)

Let's have an image (gray-scale or even binary) as shown on the following figure at the left hand side, the goal is to generate a list of points i.e., coordinates in the form of (x,y) for each pack of ...
4
votes
1answer
2k views

Erosion and dilation in images

I don't know if I am posting in the correct place. I wanted to ask about dilation and erosion in bitmaps. I have as a homework to implement in a programming language these morphological operations but ...
8
votes
1answer
1k views

How to compute 2D displacement vector for binary image registration?

My inputs are several binary images like: They have globally the same content but may be unregistered as they are produced from a hand camera. What I would like to compute is the 2D displacement ...
16
votes
3answers
1k views

How do I reconstruct text from an image using only morphological operations?

I want to reconstruct the text from the following image as best as possible. The tricky part is that I want to do it only using morphorogical operations on the image I tried using erosion, dilation, ...