Ask Your Question
0

Determining the pattern orientation of a spatiotemporal image

asked 2017-08-07 07:23:10 -0500

trine gravatar image

updated 2017-08-07 14:29:39 -0500

How can I obtain average direction of the pattern shown in the figure below. It is the direction of the red arrow relative to the yellow (horizontal) line. Any ideas for an approach? I couldn't figure out a way to approach. This is a spatio-temporal image created from a video. Thank you.

image description

Original image is below: image description

Another sample image: image description

edit retag flag offensive close merge delete

Comments

your question is not clear. but it reminds me Discrete Fourier Transform

sturkmen gravatar imagesturkmen ( 2017-08-07 09:30:57 -0500 )edit

please also post the original image

sturkmen gravatar imagesturkmen ( 2017-08-07 09:44:02 -0500 )edit

@sturkmen, I've added original image

trine gravatar imagetrine ( 2017-08-07 13:37:59 -0500 )edit

Where is the pattern in the last image? Are those white lines on the right a part of the pattern as well?

KjMag gravatar imageKjMag ( 2017-08-08 00:48:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-07 09:05:52 -0500

KjMag gravatar image

updated 2017-08-07 09:11:06 -0500

Depends on what kind of pattern it is - if it's always similar to the one you've showed here (i.e. multiple thin lines), you can try Hough transform - detect all the lines and then just average them. In openCV, detected lines are described with two points, so just average all the first points describing the lines, and then do the same with the second points. Then it's enough to either visualize it or calculate the horizontal angle depending on what kind of results you are expecting.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-07 07:19:58 -0500

Seen: 190 times

Last updated: Aug 07 '17