Comments (15)
At the bottom of that webpage, look for
Download the ClearMap ressources for the Mouse brain (48Mb, zip archive).
from clearmap.
thanks @vzickus I downloaded that, but it is for full brain not for half brain.
from clearmap.
@vzickus if you are using clearmap
successfully. Do you mind if I ask questions? Thanks!
from clearmap.
Ah, you can just split it yourself (e.g. using ImageJ or otherwise).
from clearmap.
@crazyhottommy I'm afraid I can't say I have done it successfully! It would be interesting to compare notes if you ever get round to validating the cell counting (localization accuracy of humans vs machine).
from clearmap.
Happy to share my notes. it is here https://hackmd.io/IKmM1BeVSyG4LDf_Q1dG0Q?view
I now only want to finish the running first...
as for benchmarking, I will consider later. One needs to have a ground truth to compare.(human counting)..
BTW, the elastix version matters or not?
I got this
Installing all components.
InstallingComponents was successful.
ELASTIX version: 4.900
Command line options from ElastixBase:
-in unspecified, so no input image specified
-out /tmp/elastix_output/
-threads unspecified, so all available threads are used
-tp /n/holylfs/LABS/informatics/mtang/projects/clearmap_test/test_data/haloperidol/1267/elastix_cfos_to_auto/TransformParameters.0.txt
-def /tmp/elastix_input.txt
-jac unspecified, so no det(dT/dx) computed
-jacmat unspecified, so no dT/dx computed
Calling all ReadFromFile()'s ...
Calling all ReadFromFile()'s took 0.000295 s
Transforming points ...
from clearmap.
4.9 worked fine for me. It's been a while since I used the whole thing, so don't remember the output (but it does not seem to be crashing?). I am mostly focusing on optimizing cell counting at the moment. I feel there might be some bugs left in the code (I tried following the tutorial from the supplementary materials from their 2016 paper, but couldn't complete it because of some issue that I did not yet manage to track down). Although my "debugging" is inserting print "I AM HERE"
followed by raw_input("OK")
so not very efficient!
from clearmap.
It is not crashing, just no images were processed
Reading the elastix parameters from file ...
Calling all ReadFromFile()'s took 0.028959 s
Transforming points ...
The transform is evaluated on some points, specified in the input point file.
Reading input point file: /tmp/elastix_input.txt
Input points are specified as image indices.
Number of specified input points: 6043
The input points are transformed.
The transformed points are saved in: /tmp/elastix_output/outputpoints.txt
Transforming points done, it took 0.12s
Compute determinant of spatial Jacobian ...
The command-line option "-jac" is not used, so no det(dT/dx) computed.
Computing determinant of spatial Jacobian done, it took 0.00s
Compute spatial Jacobian (full matrix) ...
The command-line option "-jacmat" is not used, so no dT/dx computed.
Computing spatial Jacobian done, it took 0.00s
transformix has finished at Thu Jan 24 10:59:00 2019.
Total time elapsed: 0.3s.
Processed 0/6043
Processed 0/6043
hmm...so this package is not maintained anymore by the author? but if there are enough interests, we can do together to revive this library?
I am very interested in hearing more on optimizing the counting.
from clearmap.
@vzickus BTW this is Ming Tang, I am working for Catherin Dulac lab on some imaging data. Nice to meet you. I can be reached at tangming2005ATgmail.com
from clearmap.
It is not crashing, just no images were processed
Reading the elastix parameters from file ... Calling all ReadFromFile()'s took 0.028959 s Transforming points ... The transform is evaluated on some points, specified in the input point file. Reading input point file: /tmp/elastix_input.txt Input points are specified as image indices. Number of specified input points: 6043 The input points are transformed. The transformed points are saved in: /tmp/elastix_output/outputpoints.txt Transforming points done, it took 0.12s Compute determinant of spatial Jacobian ... The command-line option "-jac" is not used, so no det(dT/dx) computed. Computing determinant of spatial Jacobian done, it took 0.00s Compute spatial Jacobian (full matrix) ... The command-line option "-jacmat" is not used, so no dT/dx computed. Computing spatial Jacobian done, it took 0.00s transformix has finished at Thu Jan 24 10:59:00 2019. Total time elapsed: 0.3s. Processed 0/6043 Processed 0/6043
hmm...so this package is not maintained anymore by the author? but if there are enough interests, we can do together to revive this library?
I am very interested in hearing more on optimizing the counting.
Actually, I seem to recall something like that. If you test elastix by itself from terminal, it should work no problem. I think the issue was with paths.
EDIT: Actually, I had raised an issue about something similar, check the closed #12 issue.
from clearmap.
@vzickus BTW this is Ming Tang, I am working for Catherin Dulac lab on some imaging data. Nice to meet you. I can be reached at tangming2005ATgmail.com
Thanks, Ming. I've e-mailed you to avoid spamming here.
from clearmap.
I had something similar to #12 before, and it seems the folder name has space (the folder was downloaded from the link you gave), I later removed the space and it worked.
I guess this error is the same here because the image tif files(downloaded from osf) have spaces as well.
from clearmap.
Can either off you provide some help on how to split the annotation file in Image J? Feel free to contact me at [email protected]. Thanks!
from clearmap.
@aaubry89 I think you want the function "Stack splitter".
from clearmap.
Thanks, do I also need to split the .nrrd annotation file or just the .tif annotation file?
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.