Skip to content

Issue(reg): requested box does not overlap layer bounds #5

Description

@chourroutm

In the branch https://github.com/HiPCTProject/ngregister/tree/feature/refine-registration-sitk, I get the following error:

RuntimeError: refine: requested box does not overlap layer bounds (gs://ucl-hip-ct-35a68e99feaae8932b1d44da0358940b/I74/brain-left_hemisphere/20.07um_overview_bm18.ome.zarr/|zarr3:); check the landmark and box size.

The state is given below:

Details

{
  "dimensions": {
    "x": [
      0.000004257,
      "m"
    ],
    "y": [
      0.000004257,
      "m"
    ],
    "z": [
      0.000004257,
      "m"
    ]
  },
  "position": [
    3929.161865234375,
    4737.76953125,
    3645.5
  ],
  "crossSectionScale": 33.20116922736548,
  "projectionOrientation": [
    0.3094263970851898,
    0.20628425478935242,
    0,
    -0.9282791018486023
  ],
  "projectionScale": 4096,
  "layers": [
    {
      "type": "image",
      "source": {
        "url": "gs://ucl-hip-ct-35a68e99feaae8932b1d44da0358940b/I74/brain-left_hemisphere/20.07um_overview_bm18.ome.zarr/|zarr3:",
        "transform": {
          "matrix": [
            [
              0.998819,
              -0.048837,
              0,
              -8380.795105
            ],
            [
              0.048837,
              0.998819,
              0,
              -11282.219083
            ],
            [
              0,
              0,
              1.000012,
              -14292.909991
            ]
          ],
          "outputDimensions": {
            "x": [
              0.000004257,
              "m"
            ],
            "y": [
              0.000004257,
              "m"
            ],
            "z": [
              0.000004257,
              "m"
            ]
          }
        }
      },
      "tab": "source",
      "opacity": 0.36,
      "shaderControls": {
        "normalized": {
          "range": [
            27070,
            35186
          ]
        }
      },
      "volumeRendering": "max",
      "volumeRenderingDepthSamples": 256,
      "name": "I74_brain_left_hemisphere_overview_20.07um_bm18"
    },
    {
      "type": "image",
      "source": "gs://ucl-hip-ct-35a68e99feaae8932b1d44da0358940b/I74/brain-left_hemisphere/4.257um_VOI-1_bm18.ome.zarr/|zarr3:",
      "tab": "source",
      "opacity": 1,
      "shaderControls": {
        "normalized": {
          "range": [
            7808,
            8562
          ]
        }
      },
      "volumeRendering": "max",
      "volumeRenderingDepthSamples": 256,
      "name": "I74_brain_left_hemisphere_VOI-1_4.257um_bm18"
    },
    {
      "type": "annotation",
      "source": {
        "url": "local://annotations",
        "transform": {
          "outputDimensions": {
            "x": [
              0.000004257,
              "m"
            ],
            "y": [
              0.000004257,
              "m"
            ],
            "z": [
              0.000004257,
              "m"
            ]
          }
        }
      },
      "tab": "source",
      "annotationColor": "#ff0000",
      "annotations": [
        {
          "point": [
            4525,
            4525,
            3645.5
          ],
          "type": "point",
          "id": "1c326f8a9fd9e1e46e7cba7cdd8d682d244bbc83"
        }
      ],
      "name": "__LANDMARK__"
    }
  ],
  "showSlices": false,
  "selectedLayer": {
    "visible": true,
    "layer": "I74_brain_left_hemisphere_VOI-1_4.257um_bm18"
  },
  "layout": "4panel"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions