Login  Register

Re: Creating an XML file

Posted by Wilson R S (AT) on Jan 18, 2010; 12:00pm
URL: http://imagej.273.s1.nabble.com/Creating-an-XML-file-tp3689647p3689650.html

I should have probably stated that its XML text not images.
Script is below


<?xml version="1.0" encoding="UTF-8"?>
<ZereneStackerBatchScript>
  <WrittenBy value="Zerene Stacker 1.02 Build T200912272255" />
  <BatchQueue>
    <Batches length="1">
      <Batch>
        <Sources length="1">
          <Source value="C:\Documents and
Settings\rswilson\Desktop\ImageJ\Fusion Testing\Method 2\Prcies
430.2\Sample 2\15 at 10\Registered" />
        </Sources>
        <ProjectDispositionCode value="101" />
        <Tasks length="2">
          <Task>
            <OutputImageDispositionCode value="4" />
            <OutputImagesDesignatedFolder value="C:\Documents and
Settings\rswilson\Desktop\ImageJ\Fusion Testing\Method 2\Prcies
430.2\Sample 2\Output" />
            <Preferences>
              <AlignmentControl.AlignmentSettingsChanged value="false"
/>
              <AlignmentControl.AllowRotation value="true" />
              <AlignmentControl.AllowScale value="true" />
              <AlignmentControl.AllowShiftX value="true" />
              <AlignmentControl.AllowShiftY value="true" />
              <AlignmentControl.BrightnessSettingsChanged value="false"
/>
              <AlignmentControl.CorrectBrightness value="true" />
              <AlignmentControl.MaxRelDegRotation value="20.0" />
              <AlignmentControl.MaxRelPctScale value="20.0" />
              <AlignmentControl.MaxRelPctShiftX value="20.0" />
              <AlignmentControl.MaxRelPctShiftY value="20.0" />
              <AlignmentControl.Order.Automatic value="true" />
              <AlignmentControl.Order.NarrowFirst value="true" />
              <AllowReporting.UsageStatistics value="true" />
              <ColorManagement.InputOption
value="Use_EXIF_and_DCF_rules" />
              <ColorManagement.InputOption.AssumedProfile value="sRGB
IEC61966-2.1" />
              <ColorManagement.OutputOption value="CopyInput" />
              <DepthMapControl.ContrastThresholdLevel
value="1.9073487E-7" />
              <DepthMapControl.ContrastThresholdPercentile value="0.0"
/>
              <DepthMapControl.EstimationRadius value="5" />
              <DepthMapControl.SmoothingRadius value="2" />
              <DepthMapControl.UseFixedContrastThresholdLevel
value="false" />
              <DepthMapControl.UseFixedContrastThresholdPercentile
value="true" />
              <FileIO.UseExternalTIFFReader value="false" />
              <OutputImageNaming.Template value="{datetime} ZS {method}"
/>
              <Prerotation.Degrees value="0" />
              <Prerotation.Selected value="false" />
              <Presize.UserSetting.Scale value="1.0" />
              <Presize.UserSetting.Selected value="false" />
              <Presize.Working.Scale value="1.0" />
              <PyramidControl.GritSuppressionMethod value="1" />
              <PyramidControl.RetainUDRImage value="false" />
              <SaveImage.BitsPerColor value="16" />
              <SaveImage.CompressionQuality value="0.75" />
              <SaveImage.FileType value="tif" />
              <SaveImage.RescaleImageToAvoidOverflow value="false" />
              <SkewSequence.FirstImage.MaximumShiftXPct value="-3.0" />
              <SkewSequence.FirstImage.MaximumShiftYPct value="0.0" />
              <SkewSequence.LastImage.MaximumShiftXPct value="3.0" />
              <SkewSequence.LastImage.MaximumShiftYPct value="0.0" />
              <SkewSequence.NumberOfOutputImages value="3" />
              <SkewSequence.Selected value="false" />
              <StereoOrdering.LeftRightIndexSeparation value="1" />
            </Preferences>
            <TaskIndicatorCode value="1" />
          </Task>
          <Task>
            <OutputImageDispositionCode value="4" />
            <OutputImagesDesignatedFolder value="C:\Documents and
Settings\rswilson\Desktop\ImageJ\Fusion Testing\Method 2\Prcies
430.2\Sample 2\Output" />
            <Preferences>
              <AlignmentControl.AlignmentSettingsChanged value="false"
/>
              <AlignmentControl.AllowRotation value="true" />
              <AlignmentControl.AllowScale value="true" />
              <AlignmentControl.AllowShiftX value="true" />
              <AlignmentControl.AllowShiftY value="true" />
              <AlignmentControl.BrightnessSettingsChanged value="false"
/>
              <AlignmentControl.CorrectBrightness value="true" />
              <AlignmentControl.MaxRelDegRotation value="20.0" />
              <AlignmentControl.MaxRelPctScale value="20.0" />
              <AlignmentControl.MaxRelPctShiftX value="20.0" />
              <AlignmentControl.MaxRelPctShiftY value="20.0" />
              <AlignmentControl.Order.Automatic value="true" />
              <AlignmentControl.Order.NarrowFirst value="true" />
              <AllowReporting.UsageStatistics value="true" />
              <ColorManagement.InputOption
value="Use_EXIF_and_DCF_rules" />
              <ColorManagement.InputOption.AssumedProfile value="sRGB
IEC61966-2.1" />
              <ColorManagement.OutputOption value="CopyInput" />
              <DepthMapControl.ContrastThresholdLevel
value="1.9073487E-7" />
              <DepthMapControl.ContrastThresholdPercentile value="0.0"
/>
              <DepthMapControl.EstimationRadius value="5" />
              <DepthMapControl.SmoothingRadius value="2" />
              <DepthMapControl.UseFixedContrastThresholdLevel
value="false" />
              <DepthMapControl.UseFixedContrastThresholdPercentile
value="true" />
              <FileIO.UseExternalTIFFReader value="false" />
              <OutputImageNaming.Template value="{datetime} ZS {method}"
/>
              <Prerotation.Degrees value="0" />
              <Prerotation.Selected value="false" />
              <Presize.UserSetting.Scale value="1.0" />
              <Presize.UserSetting.Selected value="false" />
              <Presize.Working.Scale value="1.0" />
              <PyramidControl.GritSuppressionMethod value="1" />
              <PyramidControl.RetainUDRImage value="false" />
              <SaveImage.BitsPerColor value="16" />
              <SaveImage.CompressionQuality value="0.75" />
              <SaveImage.FileType value="tif" />
              <SaveImage.RescaleImageToAvoidOverflow value="false" />
              <SkewSequence.FirstImage.MaximumShiftXPct value="-3.0" />
              <SkewSequence.FirstImage.MaximumShiftYPct value="0.0" />
              <SkewSequence.LastImage.MaximumShiftXPct value="3.0" />
              <SkewSequence.LastImage.MaximumShiftYPct value="0.0" />
              <SkewSequence.NumberOfOutputImages value="3" />
              <SkewSequence.Selected value="false" />
              <StereoOrdering.LeftRightIndexSeparation value="1" />
            </Preferences>
            <TaskIndicatorCode value="2" />
          </Task>
        </Tasks>
      </Batch>
    </Batches>
  </BatchQueue>
</ZereneStackerBatchScript>