m**s 发帖数: 221 | 1 如果我有一个bmp文件,里面有很多随机图形(黑底色,图形颜色固定),我如何把那
些图形的位置,中心给确定住呢?先谢谢大家了。 |
m***t 发帖数: 254 | 2 what you mean position? all the vertices coordinates? |
m**s 发帖数: 221 | 3
well,i think just height, width and center point. That is good enough.
Thank you.
【在 m***t 的大作中提到】 : what you mean position? all the vertices coordinates?
|
m***t 发帖数: 254 | 4 I am not good at graphics, but here is my suggestion:
there are two steps of solving this problem, first identify all the
distinct shapes in the picture, second calculate the center.
second step is easy, since once you have the shape, you just get mean for
height/width of all pixels in the shape.
first step is basically constructing trees in forest. mark the visited
tree to a third color, say red, and keep going until done. |
w****p 发帖数: 18 | 5 First step is to segment the foreground shape from background. Considering
your case (color fixed), the easiest way is region growing.
Second step of computing the center, do you have prior knowledge about what
shapes are in?
【在 m**s 的大作中提到】 : 如果我有一个bmp文件,里面有很多随机图形(黑底色,图形颜色固定),我如何把那 : 些图形的位置,中心给确定住呢?先谢谢大家了。
|
m**s 发帖数: 221 | 6 thanks guys.
By the way, could you guys suggest some intro books about dealing with
graphics like that? |
m**s 发帖数: 221 | 7
what
Thank you whkylp, i think most of them are round, or ellipses, but my
problem is that i don't have any backgroud about graphic programming. So,
could you suggest me some books to read? Thank you very much!
【在 w****p 的大作中提到】 : First step is to segment the foreground shape from background. Considering : your case (color fixed), the easiest way is region growing. : Second step of computing the center, do you have prior knowledge about what : shapes are in?
|
w****p 发帖数: 18 | 8 This book is like a image processing bible to me: Digital Image Processing,
2nd Edition. See the link of this book: http://www.imageprocessingplace.com/
Hope this helps.
【在 m**s 的大作中提到】 : : what : Thank you whkylp, i think most of them are round, or ellipses, but my : problem is that i don't have any backgroud about graphic programming. So, : could you suggest me some books to read? Thank you very much!
|
o******r 发帖数: 259 | 9 厚脸皮吱一声,
其实我是搞image processing地,
以前。
而且我还做过你的这个问题。
就如前楼所说,
你要先作segmentation,
方法一把一把的,
那个digital image processing是bible,
很多image segmentation paper也可以参考
然后捏是ellipses recognition
就是拿ellipses方程往你的segmentation结果上套
本来我还想攒个conference paper,
没啥新意才作罢。
【在 m**s 的大作中提到】 : : what : Thank you whkylp, i think most of them are round, or ellipses, but my : problem is that i don't have any backgroud about graphic programming. So, : could you suggest me some books to read? Thank you very much!
|
m**s 发帖数: 221 | 10
,
O, thank you very much!
【在 w****p 的大作中提到】 : This book is like a image processing bible to me: Digital Image Processing, : 2nd Edition. See the link of this book: http://www.imageprocessingplace.com/ : Hope this helps.
|
m**s 发帖数: 221 | 11
非常感谢,mitbbs果然大牛多!
【在 o******r 的大作中提到】 : 厚脸皮吱一声, : 其实我是搞image processing地, : 以前。 : 而且我还做过你的这个问题。 : 就如前楼所说, : 你要先作segmentation, : 方法一把一把的, : 那个digital image processing是bible, : 很多image segmentation paper也可以参考 : 然后捏是ellipses recognition
|