Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Convert PF_EffectWorld to cv::Mat

New Here ,
Aug 21, 2021 Aug 21, 2021

Copy link to clipboard

Copied

Hi,

I am successfully integrate opencv with AE plug-in and now the requirement is to convert input image to opencv cv::Mat. Do some image processing and then convert to output buffer. 

Any help 

Render (
PF_InData *in_data,
PF_OutData *out_data,
PF_ParamDef *params[],
PF_LayerDef *outputP )

{

// get input frame pixels from in_data
PF_EffectWorld *inputP = &params[0]->u.ld;

//Convert inputP to cv::Mat

//Convert cv::Mat to outputP

}

Any help and information is greatly appreciated.

Thank you.

TOPICS
Formats, SDK

Views

54

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation