Supplying new images to existing graphs

Hello,

Is it possible to replace images in an existing graph? Depending on the implementation it could get quite expensive to call vxVerifyGraph everytime a new image requires processing, especially an implementation that optimizes with tiling and fusion. Is there a way to parameterize graphs or something of the sort?

Thanks
Tony

[QUOTE=tonywmnix;30761]Hello,

Is it possible to replace images in an existing graph? Depending on the implementation it could get quite expensive to call vxVerifyGraph everytime a new image requires processing, especially an implementation that optimizes with tiling and fusion. Is there a way to parameterize graphs or something of the sort?

Thanks
Tony[/QUOTE]

Yes Tony,
Based upon my experience with OpenVX, it is quiet possible. Only thing you need is to create you graph with node parameters, then verify this graph only once prior to process the graph. Let’s assume we have VxProcessGraph in a loop, you can also modify input parameters of the nodes by accessing their pointers and then process the graph. You don’t have to re-validate the graph. For example, you can change pixel values of vx_image at each loop’s iteration.
Hope it help you out.

Cheers,
Hamid