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

Visualize batches of 3D Volume along rows and slices of each volume along columns #4

Open
msrepo opened this issue May 5, 2021 · 0 comments

Comments

@msrepo
Copy link

msrepo commented May 5, 2021

I have a batch of expected and target 3D volumes. How do i visualize each volume along a single row as slices and different volumes along different rows.

This visualizes each batch as rows with slice no 32 to 96 of each volume. This visualizes everything into one single row though.
sample_model_compare

RowVisualizer: # stack the outputs of child visualizers as rows of an image grid

      RowVisualizer: 
        input_mapping:
          global: [B:  '0:8', D: '32:96:8' ]
        visualizers:

          - DifferenceVisualizer:
              input_mapping:
                prediction: 'predicted'
                target: 'target'
              cmap: viridis

Doing this does not help:

ColumnVisualizer:
  input_mapping:
    global: [B: '0:8']
      visualizers:
            - RowVisualizer: # stack the outputs of child visualizers as rows of an image grid
                input_mapping:
                  global: [D: '32:96:8' ]
                
                visualizers:
                  - DifferenceVisualizer:
                      input_mapping:
                        prediction: 'predicted'
                        target: 'target'
                      cmap: viridis
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

No branches or pull requests

1 participant