Dear All,
I want to use the “Automatic Coregistration” within the command-line to register calibrated and range-doppler terrain corrected Sentinel-1A Scenes under Windows 7.
There are basically 5 steps:
ProductSet-Reader
CreateStack
GCP-Selection
Warp
Write
Using those commands with gpt always gives an error, probably because they should
be somehow connected.
I also created and checked an XML-File with the Desktop Application, but in the command line
the WriteOP gave an error.
Is there any way to make the Automatic Coregistration work in the command-line, preferably without XML??
Otherwise what is wrong with the XML-File (posted below) that worked in the Desktop Software but not
in the command-line?
Thanks in advance and best regards!
<graph id="Graph">
<version>1.0</version>
<node id="CreateStack">
<operator>CreateStack</operator>
<sources>
<sourceProduct.2 refid="ProductSet-Reader"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<masterBands/>
<sourceBands/>
<resamplingType>NONE</resamplingType>
<extent>Master</extent>
<initialOffsetMethod>Orbit</initialOffsetMethod>
</parameters>
</node>
<node id="GCP-Selection">
<operator>GCP-Selection</operator>
<sources>
<sourceProduct refid="CreateStack"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<numGCPtoGenerate>200</numGCPtoGenerate>
<coarseRegistrationWindowWidth>128</coarseRegistrationWindowWidth>
<coarseRegistrationWindowHeight>128</coarseRegistrationWindowHeight>
<rowInterpFactor>2</rowInterpFactor>
<columnInterpFactor>2</columnInterpFactor>
<maxIteration>10</maxIteration>
<gcpTolerance>0.5</gcpTolerance>
<applyFineRegistration>true</applyFineRegistration>
<fineRegistrationWindowWidth>32</fineRegistrationWindowWidth>
<fineRegistrationWindowHeight>32</fineRegistrationWindowHeight>
<coherenceWindowSize>3</coherenceWindowSize>
<coherenceThreshold>0.6</coherenceThreshold>
<useSlidingWindow>false</useSlidingWindow>
<computeOffset>false</computeOffset>
<onlyGCPsOnLand>false</onlyGCPsOnLand>
</parameters>
</node>
<node id="Warp">
<operator>Warp</operator>
<sources>
<sourceProduct refid="GCP-Selection"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<rmsThreshold>0.5</rmsThreshold>
<warpPolynomialOrder>1</warpPolynomialOrder>
<interpolationMethod>Bilinear interpolation</interpolationMethod>
<excludeMaster>false</excludeMaster>
<openResidualsFile>false</openResidualsFile>
</parameters>
</node>
<node id="Write">
<operator>Write</operator>
<sources>
<sourceProduct refid="Warp"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:\Program Files\snap\coregistered_stack.tif</file>
<formatName>GeoTIFF-BigTIFF</formatName>
</parameters>
</node>
<node id="ProductSet-Reader">
<operator>ProductSet-Reader</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<fileList>C:\Program Files\snap\S1A_input1.tif,C:\Program Files\snap\S1A_input2.tif</fileList>
</parameters>
</node>
</graph>