Comments (5)
Hi,
Christoph should know better, but this error could be caused if you are not giving the proper output path in your alignment parameters. What are you using for RegistrationAlignmentParameter["resultDirectory"]
?
This error could be due to no path given after the -out flag when it tries to run the Elastix command (lines 455-461 in Alignment/Elastix.py):
cmd = ElastixBinary + ' -threads 16 -m ' + movingImage + ' -f ' + fixedImage + ' -p ' + affineParameterFile + ' -out ' + resultDirectory
from clearmap.
I can see that the resultsDirectory is successfully created, but empty. I'll have to search for other hard-coded paths that I might have missed in the tutorial. I'll keep you updated.
from clearmap.
I could not find any hard-coded bits, and when I print out "RegistrationAlignmentParameter", the paths seem correct. I wonder if it has something with the fact that the bottom of the images look crazy ( https://www.dropbox.com/s/6shi2gubb3uujds/autofluo_for_cfos_resampled-single.tif?dl=0 ) and I have not cropped them...
from clearmap.
I tested elastix separately (that is, just elastix on its own from terminal) on the same images, and it worked without issues. Updated: I think the cause was simply a space " " in the directory structure (probably required a r"path\to\folder with\space"). Closing, and thanks for your help.
from clearmap.
For future users:
The folders' names, inside the downloaded ClearMap Resources folder, are separated by spaces while the code looks for names in which the spaces have been replaced by underscores "_".
from clearmap.
Related Issues (20)
- No module named 'Cython' HOT 8
- Region specific heatmaps HOT 2
- elastix library not loaded (MacOSX) despite existing in path HOT 1
- Python crashes during resampling
- TIFFReadDirectory warning: Unknown field with tag 50838 HOT 1
- 'OverflowError('cannot serialize a string larger than 2 GiB',)
- annotated counts not registering to csv
- Too many files open
- itk::ERROR: RandomCoordinateSampler Please select a smaller SampleRegionSize!
- no
- Two of the Unlabelled regions actually labels parts of two different regions
- Problems with Elastix HOT 2
- problems with the Analysis script HOT 2
- findCenterOfMaxima returns non integer center coordinates, which are not valid in voxelizePixel function
- Issue with Installation, setting.py specifically HOT 3
- Interfacing Ilastik
- ClearMap can't find my .ilp file for celldetection
- Elastix runtime error
- ImportError: cannot import name 'Texture3D' from 'vispy.visuals.volume' HOT 2
- Error during Transform point coordinates with 'elastix_input.txt'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clearmap.