User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » matlab help with hough transform Page [1]  
Genki
All American
590 Posts
user info
edit post

I'm having quite a difficult time drawing the lines for the hough transform. I need to draw the lines where the accumulator cells > threshold but I can't use any of the built in functions. help help.

4/9/2009 7:13:43 PM

Solinari
All American
16957 Posts
user info
edit post

This question doesn't have anything to do with IP addresses or SQL so don't expect much interest in your question.

4/9/2009 7:56:52 PM

Genki
All American
590 Posts
user info
edit post

It appears so.

4/9/2009 8:12:13 PM

Fail Boat
Suspended
3567 Posts
user info
edit post

Did you try googling?

4/9/2009 8:22:15 PM

Quinn
All American
16417 Posts
user info
edit post

Quote :
"This question doesn't have anything to do with IP addresses or SQL so don't expect much interest in your question."


hhahahahhahahaha A+

4/9/2009 8:36:47 PM

moron
All American
34142 Posts
user info
edit post

Are you asking about how to do a hough transform, or how to do it in MATLAB?

because either question can be solved by googling.

If you've attempted do write the matlab script to do the above, and the script isn't working, then if you posted it, we could probably help you. But no one here's going to do your work for you from scratch.

4/9/2009 9:36:29 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

Shit, I'll do it for you from scratch, just wait here and I'll be back in like 5 minutes.

4/9/2009 9:49:11 PM

Genki
All American
590 Posts
user info
edit post

i'm not having problems with doing the hough transform but drawing the lines after doing the hough transform. I dunno where to start.

4/9/2009 10:08:38 PM

moron
All American
34142 Posts
user info
edit post

What do you mean you "can't" use any of the built-in cells? Are you not allowed to?

What format is your algorithm spitting the data out in? Simple data plots or something you custom rigged?

4/9/2009 10:13:04 PM

Genki
All American
590 Posts
user info
edit post

the accumulator is in 2d matrix form. And yes I can't use any of the built-in matlab functions to do this such as hough or houghpeaks or hough*. I've gotta draw lines associated with the peaks in the image and with a user defined threshold.

[Edited on April 9, 2009 at 10:29 PM. Reason : adf]

4/9/2009 10:17:45 PM

moron
All American
34142 Posts
user info
edit post

I don't know really know what the hough transform is, but from the Matlab page, it seems you have a matrix (accumulator) with the "score" or where lines fall compared to the projected lines.

I would guess if you iterate through your matrix and copy the values above your threshold to a new matrix, zeroing the other values, and then plot the new matrix, it should do what you want.

[Edited on April 9, 2009 at 10:38 PM. Reason : ]

4/9/2009 10:38:44 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

lmfao. I'm such an ass

4/9/2009 11:26:53 PM

Noen
All American
31346 Posts
user info
edit post

^why are you laughing, nothing you did was funny in the slightest

4/10/2009 12:38:57 AM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^oh, I didn't know you were looking at my PMs too.

fucking dick

4/10/2009 8:30:22 AM

 Message Boards » Tech Talk » matlab help with hough transform Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.