Results 1 to 2 of 2

Thread: Supplying new images to existing graphs

  1. #1
    Newbie
    Join Date
    Oct 2014
    Posts
    1

    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

  2. #2
    Quote Originally Posted by tonywmnix View Post
    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
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •