Ask Your Question
0

Connected Component Labelling

asked 2018-04-04 15:07:17 -0600

Kenny Karnama gravatar image

updated 2018-04-04 15:08:10 -0600

Hi guys, i am trying to implement CCL based on algorithm provided in http://aishack.in/tutorials/connected.... I have already created it, and it works if the resolution of image is not too high. any ideas ?

here is the example

image with 448 x 18 pixels, after ccl

image in 448 x 18 pixels

same image with 1495 x 60 pixels, after ccl

same image with 1495 x 60 pixels

edit retag flag offensive close merge delete

Comments

you should probably use opencv's builtin connectedComponents method, not reinvent the wheel here

berak gravatar imageberak ( 2018-04-04 23:53:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-04-06 04:41:47 -0600

Kenny Karnama gravatar image

i have already found the problem, i have to use ushort instead of uchar when store the labels.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-04-04 15:07:17 -0600

Seen: 1,166 times

Last updated: Apr 04 '18