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

Unexpectedly large mass in Moments of Inertia #33

Closed
rimadoma opened this issue Apr 25, 2016 · 1 comment
Closed

Unexpectedly large mass in Moments of Inertia #33

rimadoma opened this issue Apr 25, 2016 · 1 comment

Comments

@rimadoma
Copy link

An uncalibrated image produces weird results when run through _Moments of Inertia: "mass" becomes unexpectedly large.

Steps to reproduce
  1. Open bone sample image (File > Open Samples > Bat Cochlea Volume)
  2. Run Moments of Inertia (Plugins > BoneJ > Moments of Inertia)
  3. Press OK on the Setup dialog
  4. "Mass" column shows "173970 g"
mdoube added a commit to mdoube/BoneJ that referenced this issue Aug 6, 2018
Includes a message in the dialog if the image lacks spatial calibration.

Fixes bonej-org/bonej#33
@mdoube
Copy link
Member

mdoube commented Aug 6, 2018

There isn't an obvious way to deal with this. The problem is that the code operates as though you have 1cm / pixel, which is not very intuitive. It makes more sense for most of our images to assume 1 mm pixel spacing. Fixed by mdoube/BoneJ@e8136c9

@mdoube mdoube closed this as completed Aug 6, 2018
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

2 participants