-
Notifications
You must be signed in to change notification settings - Fork 68
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
What is the threshold? #36
Comments
For CT bone it is using SimpleITK's DoubleThreshold filter: https://simpleitk.org/doxygen/latest/html/classitk_1_1simple_1_1DoubleThresholdImageFilter.html So the inner, narrow threshold (800-1300) is used as a starting point that is dilated but constrained to remain within the outer threshold (200-1500). You can choose your own double threshold values yourself with the '--double' option. Of if you prefer the more traditional iso-value, you can use the '--isovalue' flag. |
There are two problems:
|
Yeah, using [200., 800., 1300., 1500.] would probably get you the same results as the default set. As far as the extraneous stuff when using BinaryThreshold, that's the nature of it. They came up with the DoubleThreshold algorithm to avoid the extraneous stuff that can arise. The numbers I'm using are unitless. So if your image is CT with Hounsfield units, then that's what threshold values are. I chose those numbers just based on experimenting with some CT images in Hounsfield units that I had. They seemed to work well for me, and corresponded with the Hounsfield units I saw in the literature. |
|
Here is the description of ITK's DoubleThreshold filter:
It seems that your understanding of double thresholding does not correspond with that. You might try to implement your own segmentation approach using the variety of filters ITK/SimpleITK. Then once you have a binary segmentation image, you can pass that to my script, with an iso-value of 0.5, and extract out an STL surface of your segmentation. |
I've read the full document of DoubleThreshold but still misunderstanding. Could you please explain what the marker image and the mask image exactly means? For example, could you rewrite [20,800,1300,1500] in a sort of formal mathimatical manner? Normal threshold [20,1500] can be rewritten as 20<=x<=1500. |
Does the threshold equal to the CT value? For example, the thresholds of bones are [200., 800., 1300., 1500.], but the CT value of a bone is often less than 1000. If not, how to get the threshold given the range of the CT value?
The text was updated successfully, but these errors were encountered: