Ask Your Question
0

How to extract the profile data from the Mat?

asked Jul 16 '0

Luckygg gravatar image

Hi all.

I have a question about extracting profile data from the Mat.

I would like to set the line and extract the profile data from belonging to the line.

The following image is an example of what I want to do. image description

Is it possible to do it in OpenCV?

Thank you.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Jul 16 '0

berak gravatar image

if you can use c++, there is the LineIterator

Preview: (hide)

Comments

...and the Plot2D class to draw nice line charts (which is part of the extra modules, so it isn't included by default, you need to build OpenCV yourself to use it)

kbarni gravatar imagekbarni (Jul 16 '0)edit

sorry, I'm so late. I can solve it using the LineIterator. Thank you so much :)

Luckygg gravatar imageLuckygg (Jul 31 '0)edit

Question Tools

1 follower

Stats

Asked: Jul 16 '0

Seen: 821 times

Last updated: Jul 16 '20