Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few options for working with CZI files that have multiple scenes #3681

Merged
merged 4 commits into from
Jul 23, 2021

Conversation

melissalinkert
Copy link
Member

Setting zeissczi.relative_positions to true will change the PositionX and PositionY values stored in OME-XML to the pixel position instead of the absolute physical stage position. Setting zeissczi.trim_dimensions to true will use the pixel block metadata to trim XY dimensions to match what ZEN reports.

Default behavior shouldn't change, so tests should continue to pass. Comparing e.g. zeiss-czi/zeiss/jpeg-xr/*2scenes*.czi in ZEN and with each combination of options should be enough to test. The idea is that with both options set to true, it would be easier to place the images on a canvas just like ZEN does when the Scene box is unchecked. As far as I know, ZEN doesn't report the sizes for each individual scene, you have to actually mouse over the upper left and lower right corners to calculate the position, width, and height.

@dgault
Copy link
Member

dgault commented Jul 15, 2021

This PR has had no impact on existing builds and tests, all repo tests have continued to pass.
Tested using the recommended sample files from zeiss-czi/zeiss/jpeg-xr

Both without this PR or with this PR and the default options, the width and height values are as such:

      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:0" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="75136" SizeY="31488" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:1" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="37568" SizeY="15744" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:2" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="18784" SizeY="7872" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:3" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="9392" SizeY="3936" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:4" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="4696" SizeY="1968" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:5" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="2348" SizeY="984" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:6" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="1174" SizeY="492" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:7" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="587" SizeY="246" SizeZ="1" Type="uint8">     
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:8" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="50595" SizeY="24057" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:9" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="25297" SizeY="12028" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:10" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="12648" SizeY="6014" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:11" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="6324" SizeY="3007" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:12" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="3162" SizeY="1503" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:13" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="1581" SizeY="751" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:14" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="790" SizeY="375" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:15" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="12" SizeC="3" SizeT="1" SizeX="603" SizeY="695" SizeZ="1" Type="uint16">      ]
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:16" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="12" SizeC="3" SizeT="1" SizeX="1561" SizeY="782" SizeZ="1" Type="uint16">

With this PR and the new zeissczi.trim_dimensions option set to true the sizeX and sizeY dimensions have been updated for the top level images but the sub resolutions are the same. I still need to confirm in Zen if these are indeed correct :

      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:0" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="75140" SizeY="31773" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:1" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="37568" SizeY="15744" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:2" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="18784" SizeY="7872" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:3" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="9392" SizeY="3936" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:4" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="4696" SizeY="1968" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:5" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="2348" SizeY="984" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:6" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="1174" SizeY="492" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:7" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="587" SizeY="246" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:8" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="50595" SizeY="24057" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:9" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="25297" SizeY="12028" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:10" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="12648" SizeY="6014" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:11" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="6324" SizeY="3007" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:12" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="3162" SizeY="1503" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:13" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="1581" SizeY="751" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:14" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="8" SizeC="3" SizeT="1" SizeX="790" SizeY="375" SizeZ="1" Type="uint8">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:15" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="12" SizeC="3" SizeT="1" SizeX="603" SizeY="695" SizeZ="1" Type="uint16">
      <Pixels BigEndian="false" DimensionOrder="XYCZT" ID="Pixels:16" Interleaved="true" PhysicalSizeX="0.21998680079195246" PhysicalSizeXUnit="µm" PhysicalSizeY="0.21998680079195246" PhysicalSizeYUnit="µm" SignificantBits="12" SizeC="3" SizeT="1" SizeX="1561" SizeY="782" SizeZ="1" Type="uint16">
         <Channel ID="Channel:16:0" SamplesPerPixel="3">

Both without this PR or with this PR and the default options, the positionX and positionY values are in physical space:

      <StageLabel Name="Scene position #0" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm" Z="3462.766" ZUnit="µm"/>
         <Plane DeltaT="1.5489997863769531" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" PositionZ="3462.766" PositionZUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #1" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #2" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #3" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #4" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #5" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #6" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #7" X="-32927.62435" XUnit="µm" Y="8922.66465" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32927.62435" PositionXUnit="µm" PositionY="8922.66465" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #8" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm" Z="3466.991" ZUnit="µm"/>
         <Plane DeltaT="73.47199988365173" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" PositionZ="3466.991" PositionZUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #9" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #10" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #11" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #12" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #13" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #14" X="-32452.45285" XUnit="µm" Y="14268.3439" YUnit="µm"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="-32452.45285" PositionXUnit="µm" PositionY="14268.3439" PositionYUnit="µm" TheC="0" TheT="0" TheZ="0"/>

With this PR and the new zeissczi.relative_positions option set to true the positionX and positionY values are in pixel space. Again I still need to confirm with Zen if these correct:

<StageLabel Name="Scene position #0" X="0.0" XUnit="pixel" Y="0.0" YUnit="pixel" Z="3462.766" ZUnit="µm"/>
         <Plane DeltaT="1.5489997863769531" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="0.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" PositionZ="3462.766" PositionZUnit="µm" TheC="0" TheT="0" TheZ="0"/>

      <StageLabel Name="Scene position #1" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #2" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #3" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #4" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #5" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #6" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #7" X="312.0" XUnit="pixel" Y="0.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="312.0" PositionXUnit="pixel" PositionY="0.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #8" X="14609.0" XUnit="pixel" Y="28080.0" YUnit="pixel" Z="3466.991" ZUnit="µm"/>
         <Plane DeltaT="73.47199988365173" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14609.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" PositionZ="3466.991" PositionZUnit="µm" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #9" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #10" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #11" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #12" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #13" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

<StageLabel Name="Scene position #14" X="14712.0" XUnit="pixel" Y="28080.0" YUnit="pixel"/>
         <Plane DeltaT="7201.5490886" DeltaTUnit="s" ExposureTime="0.2" ExposureTimeUnit="s" PositionX="14712.0" PositionXUnit="pixel" PositionY="28080.0" PositionYUnit="pixel" TheC="0" TheT="0" TheZ="0"/>

Using the combination of both options together also works as expected

@dgault
Copy link
Member

dgault commented Jul 23, 2021

Confirmed with Zen that the above values are correct, PR is good for inclusion in 6.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants