Questions tagged [connected-components]

Connected-component labeling (alternatively connected-component analysis, blob extraction, region labeling, blob discovery, or region extra

Connected-component labeling (alternatively connected-component analysis, blob extraction, region labeling, blob discovery, or region extra

327 questions
0
votes
2 answers

labeling characters in special plate

I want to find all connected components in a license plate. First, I threshold my image and then use connected component function in opencv to label binary image, but the character in red region and number 10 in blue region are not detected. What…
sina
  • 331
  • 4
  • 12
0
votes
1 answer

How can I find a number of connected components in implicit graph?

I have a CS problem which is stated like that: Given a sheet of paper with some cells cut out, represented by chars (either '.' (cut) or '#' (not cut)), I need to find how many pieces will…
0
votes
1 answer

React connected component not rerendering after fetching data

I am trying to get a D3 chart rendered with using React and Redux. I am able to see the data being returned from the reducer as expected, i.e. with a data array of 50 objects. But the render function is not being called after the data is fetched. …
andy mccullough
  • 9,070
  • 6
  • 32
  • 55
0
votes
0 answers

How to implementation connected-component algorithm on a part of image with OpenCV?

I want to use connected component algorithm for object detection.I can use this algorithm on full image but I want to implementation connected component for a part of image.for example the size of my image is 760*520 and I want to implementation…
louis89
  • 5
  • 8
0
votes
1 answer

display rectangle around components in original image

I am using OpenCV for a C++ application.I'm using connected component for object detection.I want to draw a rectangle around object in original frame.I can draw rectangle in comonent window.can I draw a color rectangle in gray scale image ?in below…
louis89
  • 5
  • 8
0
votes
1 answer

how to sum the number of objects in different images in Matlab?

this is my entire code. What i did here is to try to find matching points between an image and a template i substracted from the image. The first loop and second loop extract all the card from the original image(first image with set of card) The…
steve
  • 15
  • 3
0
votes
0 answers

What method can you use to replace Imgproc.connectedComponents()?

I am using Opencv 2.4.10 in Android Studio and the method connectedComponents is only available in Opencv 3.0 and above. I want to know if there are similar methods I can use to replace connectedComponents() and what are the methods. I am…
0
votes
0 answers

Connected Components Labeling with c++ results in unused labels

I'm trying to create a connected components labeling prototype to use in my graduation project. it works mostly, only it results in using large numbers for labels while skipping the smaller ones. my code connects similar values from the given array…
Ibrahim
  • 152
  • 2
  • 9
0
votes
1 answer

OpenCV Perimeter and Area given point in connected component

Suppose I have a binary image and I want to do the the following in OpenCV: Given a point, measure the area and perimeter of the connected component that point belongs to .. def areaAndPerimeter(point): ...do some stuff... return area,…
mv3
  • 469
  • 5
  • 16
0
votes
1 answer

Are two-edge connectivity and Strongly connected components the same concept?

I was just wondering if the two-edge connectivity and strongly connected components are the same concept. For some reason I can relate the two but still confused because they have different names.
user7275516
0
votes
1 answer

Graph Giant Connected Component

i have a matrix of the form a b 8.0 a d 0.1 ...... where 1st column is Node A,2nd Node B and 3rd correlation coefficient i have to make a program that finds a threshold thus the connected network has a Giant Connected Component consist of…
valentinosael
  • 25
  • 1
  • 1
  • 6
0
votes
1 answer

Connected components labelling of point objects over estimating number of objects

I am trying to implement the 8 connectivity connected components labelling algorithm over an image where certain points are highlighted to identify regions of connected highlighted points. My code seems to be working except that the amount of…
MattG
  • 103
  • 3
0
votes
1 answer

what kind of post-processing can be applied to obtain the most similar segmentation to ground truth?

I have applied my algorithm and the output of segmentation is the left image as follows: segmentation output(left), ground truth (right) I have to do post-processing to the left image, to increase the similarity to the ground truth (right figure).…
0
votes
1 answer

Connected Component Range Query

A graph consisting of n nodes, where there is an edge from 1 to 2, 2 to 3, 3 to 4, ........, n-1 to n. Now, there is an array consisting of permutation of 1 to n and there are number of queries given based on array segments. Determine number of…
Sukesh
  • 1
  • 3
0
votes
0 answers

How to speed up connectedComponentsWithStats in C++ (OpenCV)

Since OpenCV 3.0 has very useful function called connectedComponentsWithStats, I'm interested if there is a way to speed this function up? I'm working on a project in whitch I have to calculate properties of anomalies. This properties are wery good…