X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Jan 2019 01:58 PM by  Colin Axel
Envi Modeler batch processing help needed
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Colin Axel



New Member


Posts:5
New Member


--
09 Jan 2019 02:08 PM
    I need help setting up a model to batch perform "RPC Orthorectification Using Reference Image". I have 20 reference rasters, 20 input rasters, and 20 DEMs. I want to loop through each 3-image set (reference, input, DEM) and generate an orthorectified output. I tried to do this using 3 datasets, 3 iterators, generate filename, and RPC Orthorectification Using Reference Image. I get the error "Nodes cannot be traced back to more than one iterator: [RPC Orthorectification Using Reference Image].

    What is the correct way to set this up?

    I want it to run like:

    Run 1: input1, reference1, dem1 are used to generate orthorectified1
    Run2: input2, reference2, dem2 are used to generate orthorectified2
    etc...

    Thanks!

    Colin Axel



    New Member


    Posts:5
    New Member


    --
    10 Jan 2019 11:14 AM


    Here is an image of what I'm talking about. I only have 2 of each input loaded here because I was just testing

    Colin Axel



    New Member


    Posts:5
    New Member


    --
    10 Jan 2019 11:43 AM
    https://ibb.co/CsrSqhg

    The image didn't post problerly, but you can view it at this link

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    10 Jan 2019 12:27 PM
    I can't really upload an image on the forum (I put in a request!) but I can describe how to do this.

    3 Raster nodes
    2 Extract elements from Array nodes
    1 Iterator node
    1 RPC orthrectification from ref image node

    The flow should be:
    Input RPC rasters node -> input to Iterator node->input to RPC Ortho with reference node (set to input raster: Iterator)

    Iterator node -> out to Extract elements from array node 1 (set to indices to Extract)
    Iterator node -> out to Extract elements from array node 1 (set to indices to Extract)

    Reference raster node ->input to Extract elements from array node 1 (reference raster set to Input Array) ->Input to RPC Ortho (Ref set to Extract elements from array output 1)
    DEMs raster node->input to Extract elements from array node 2 (DEMs raster set to Input array)->Input to RPC Ortho (DEM set to Extract elements from array 2)

    Then add in the Data Manager and View nodes if you want to display the results.

    Colin Axel



    New Member


    Posts:5
    New Member


    --
    10 Jan 2019 01:58 PM
    Worked like a charm. You are my hero!!
    You are not authorized to post a reply.