-
Notifications
You must be signed in to change notification settings - Fork 9
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
minctracc HEAD: Cannot calculate the COG or COV of volume 1. #15
Comments
Following up, I have some new data that also throws the same errors in minctracc:
|
did you check if there are any NaN voxels? |
I have not, will do so thanks! |
does mask have voxels that are only 0 and 1 ? |
Currently the mask has other values (see Mouse-Imaging-Centre/pydpiper#405) in the pipeline, manually fixing the mask to only 0/1 doesn't change the result, same crash. |
so, you have a minc file sampled at 0.040 mm and your lattice size is 24mm . Maybe that's the problem? |
Maybe, it does seem to work without the mask. This call is automatically generated from pydpiper and I'm not quite clear on the semantics. Paging @bcdarwin, pydpiper is driving this bug, can you comment? |
also this shows something:
The whole volume will be sampled 2 times in x direction ( |
When you say Pydpiper is driving this, do you mean that it's the mask issue? In your first example, there doesn't seem to be a mask. I'm working on something that needs a principal axis transformation with pre-existing masks at the moment so perhaps I'll encounter the same issue ... |
@bcdarwin I think it may be the way that the resolution spacing is chosen for the initialization, the mask in this case exposed the problem, though in the other case it was probably the resolution on its own. |
I have some volumes I'm trying to register in pydpiper, minctracc can't seem to find their COG/COV, despite everything looking fine with register...
The text was updated successfully, but these errors were encountered: