Skip to content

MATLAB:bitshift:sizeMismatch Inputs must have same size.  #1518

@AriBunnell

Description

@AriBunnell

Describe the bug
When trying to run LIBRA from the CLI in the CaPTK Docker container I get an error for each of the images, complaining about size mismatch. This happens either in batch mode or in single image mode.

To Reproduce
Steps to reproduce the behavior:

  1. docker run --rm -it -v $(pwd)/test:/app -v {local_img_dir}:/images -v {local_out_dir}:/output --entrypoint /bin/bash cbica/captk
  2. /work/CaPTk/bin/install/appdir/usr/bin/libra /images /output 1 or /work/CaPTk/bin/install/appdir/usr/bin/libra /images/image.dcm /output
  3. See error

Expected behavior
Expect LIBRA to execute completely

Screenshots
If applicable, add screenshots to help explain your problem.

CaPTk Version
CaPTk v1.9.0.RC

Desktop (please complete the following information):
OS: Ubuntu 20.04.6

Additional context
The code gives the same error for the images regardless of whether it is run in batch or single image mode.

Running LIBRA-1.0.4 (Revision: 603) on MATLAB R2014b
  >> Analzying single file...
  >> Processing File 1/1: /images/image.dcm
MATLAB:bitshift:sizeMismatch
Inputs must have same size.
   > libra_exper failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions