- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I am trying to do motion vector estimation using opencl. I have referred to this link
I am reading frames from camera(YUYV format) and finding out motion vectors. After that I am Overlaying Vectors on y channel of image then I have converted it into bgr and showing the results using opencv but the motion vectors are not aligned to the movement of the scene.
Any help will be appreciated
Regards
Ashish
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashish,
Can you describe the behavior you are seeing in more detail?
You may also want to try this "device side VME" sample, which does something similar:
https://software.intel.com/en-us/articles/intro-ds-vme
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ben,
I have read that link also did not help though
The behaviour is like this -
I can see the motion vectors moving when I am waving a object in front of the camera but it is not aligned to my hand in the video, coordinates are different although there is a sync between the motion vectors and the object movement but when I am displaying it the video vectors are not on top of the object movement(coordinates are different), Its coming on one side so the alignment is not there. I can record a video and send it to you If that helps.
Regards
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashish,
Is there an issue with the built sample directly from the article?... I read your description like you have an addition, enhancement, or related source that has a malformed transfer function. Assuming motion vectors look sensible but unaligned, it sounds like it's necessary to review addressing and indexing for your workitem data elements coming from the kernel back to images.
-MichaelC

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page