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

BoneJ2 does not calculate volume fraction of interpolated ROIs in DICOM files #327

Open
SSkull995 opened this issue Apr 13, 2023 · 2 comments

Comments

@SSkull995
Copy link

Describe the bug
After converting my dcm files into a binary file, drawing different ROIs around the slices and interpolating them, when trying to calculate the BV/TV I always get random values. If I do not draw any ROI, I get the same value as if drawing and interpolating them. No change is observed. It seems boneJ does not calculate the BV/TV of the ROIs, but rather of the whole file

To Reproduce
Import DICOM
Convert to binary
Draw ROI/s and interpolate them
Go to BoneJ - Fraction - Area/Volume Fraction
The calculated BV/TV is wrong

Expected behavior
Calculation of BV and TV of the selected ROIs

Environment

  • Fiji on MacOS
  • Fiji on Win 11
@alessandrofelder
Copy link
Member

@rmd13
Copy link

rmd13 commented Feb 1, 2024

I have tried the BonJ1 to measure the Tk.Th and Tk.Sp with ROI as like the way you did.
What I foud is that, BonJ1 just crop the minimum stack out and do analysis, the pixels outside the roi still remains.
Thus in this view, I guess the ROI function does not make essential difference compared to BoneJ2–they only process a whole cube, not a sub fraction of volume.
So a better solution is to make the pixels outside roi all zeros, then the Area/Volume analysis or Tk.Th analysis will be fully targeted to the foregorund bone(ones).
To measure Tk.Sp, can fill all the pixels outside ROI as ones, thus only the bone marrow space (zeros) inside the roi will be analyzed for Tk.Sp.

See also from:
https://forum.image.sc/t/calculate-bone-volume-fraction-of-interpolated-rois/79820/9

无标题

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

3 participants