由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请问大家一个图形的问题:
相关主题
new了指针,delete的时候出错了Segmentation fault
dereference a NULL pointer in CA weird segmentation fault!
Java 问题,请教如何找出一个array里的duplicate segments?static variable存在heap还是stack?
question about Design Patterns关于void指针
Please recommend a good book about perl关于valgrind 的一个问题
说同步比异步快的根本不懂网站SIGSEGV,Segmentation fault in Cygwin
超牛的debug[合集] 问个算法问题
distinguish load and store instruction given a segmentation fault内存泄露了吗?
相关话题的讨论汇总
话题: 图形话题: image话题: step话题: ellipses话题: processing
进入Programming版参与讨论
1 (共1页)
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

1 (共1页)
进入Programming版参与讨论
相关主题
内存泄露了吗?Please recommend a good book about perl
linux 下从c++动态内存操作问题,heap size不够还是别的?说同步比异步快的根本不懂网站
Strange problem with CGI (转载)超牛的debug
问个算法问题distinguish load and store instruction given a segmentation fault
new了指针,delete的时候出错了Segmentation fault
dereference a NULL pointer in CA weird segmentation fault!
Java 问题,请教如何找出一个array里的duplicate segments?static variable存在heap还是stack?
question about Design Patterns关于void指针
相关话题的讨论汇总
话题: 图形话题: image话题: step话题: ellipses话题: processing