Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yue_c_
Beginner
56 Views

some questions about the OpenCL Video Motion Estimation Sample

Jump to solution

when running the code sample ,i get the pictures overlaid the motion vector ( get the same result as

https://software.intel.com/en-us/articles/intro-to-motion-estimation-extension-for-opencl  

at the end of the website page , you can see the result picture).

but , the motion vector is too short, that is, the search radius is too small . the searth region is the 8-neighbor of the center 

motion block.

i want to expand the search radius ,but i don't konw how to modify the sample....is there anyone could help me ? thanks very much.

 

0 Kudos

Accepted Solutions
Tamer_Assad
Innovator
56 Views

Hi Yue,

Motion estimation extension for OpenCL is implemented by intel and now is Khronos standard.

Motion Estimation basically is a fundamental process in video coding standards such as "ITU H.264" and "ISO MPEG-4". Motion vector search and motion estimation adopts known sizes for Macro blocks (h X w pixels),  Motion estimation extension implements standard 16x16, 8x8, and 4x4 MB sizes.

The sample is using 16x16, this is the largest possible MB size supported by this extension, "CL_ME_MB_TYPE_16x16_INTEL".

 

You might consider a custom implementation of motion estimation, on none standard MB sizes; in this case, you should consider the processing load, depending on the nature of your application. Standard video coding Motion Estimation performs motion estimation on every frame in a video sequence, comparing each MB within a given frame to the same MB location in a relevant reference frame.

 

Best regards,

Tamer Assad

View solution in original post

3 Replies
yue_c_
Beginner
56 Views

....

Tamer_Assad
Innovator
57 Views

Hi Yue,

Motion estimation extension for OpenCL is implemented by intel and now is Khronos standard.

Motion Estimation basically is a fundamental process in video coding standards such as "ITU H.264" and "ISO MPEG-4". Motion vector search and motion estimation adopts known sizes for Macro blocks (h X w pixels),  Motion estimation extension implements standard 16x16, 8x8, and 4x4 MB sizes.

The sample is using 16x16, this is the largest possible MB size supported by this extension, "CL_ME_MB_TYPE_16x16_INTEL".

 

You might consider a custom implementation of motion estimation, on none standard MB sizes; in this case, you should consider the processing load, depending on the nature of your application. Standard video coding Motion Estimation performs motion estimation on every frame in a video sequence, comparing each MB within a given frame to the same MB location in a relevant reference frame.

 

Best regards,

Tamer Assad

View solution in original post

yue_c_
Beginner
56 Views

ok ,thank you Tamer.