Comments (4)
Before optimising with landmarks, I would first check that the automated alignment gives a reasonable result.
Since you are using the dev version, you are missing the button to revert from landmarks based to automated (whch already exists in the test branch). What you can do is remove the .pts files in the elastix subfolders of your sample folder.
Also, the kind of result yo get could be expected if your orientation, resolution or crop parameters are erroneous, please check those before trying again.
from clearmap2.
Removing the .pts files and fixing a typo in the resolution has helped. Thanks!
If you have time for one more question - is there an easy way to export the cell counts labeled by brain region from the GUI? I don't see an option like this under the Cellmap tab, but maybe it is somewhere else?
Screencast.from.05-31-2023.12.54.37.PM.webm
from clearmap2.
After running the cell detection, there should be 2 new files. a cells.feather file which is a binary table format with one line per cell and a .csv file where there is only the total number of cell for each brain region (x2 because they are split by hemisphere).
The .feather format was chosen for performance reasons because a text format like csv is not suited for millions of points
from clearmap2.
Thanks!
I see the cells.feather file. However, I do not see the .csv.
When I run the cell detection, I get this error:
File "/home/lapishla/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/ClearMap2-2.1.0-py3.9-linux-x86_64.egg/ClearMap/gui/tabs.py", line 627, in run_cell_map self.cell_detector.post_process_cells() # FIXME: save cfg and use progress File "/home/lapishla/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/ClearMap2-2.1.0-py3.9-linux-x86_64.egg/ClearMap/processors/cell_map.py", line 126, in post_process_cells self.export_collapsed_stats() File "/home/lapishla/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/ClearMap2-2.1.0-py3.9-linux-x86_64.egg/ClearMap/processors/cell_map.py", line 371, in export_collapsed_stats tmp['Structure order'] = grouped['order'].first() File "/home/lapishla/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/pandas/core/frame.py", line 3950, in __setitem__ self._set_item_frame_value(key, value) File "/home/lapishla/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/pandas/core/frame.py", line 4104, in _set_item_frame_value raise ValueError( ValueError: Cannot set a DataFrame with multiple columns to the single column Structure order
I see there is a comment in there: # FIXME: save cfg and use progress - are there any updates which have fixed this issue? I believe this is why I am missing the .csv. Thanks again
from clearmap2.
Related Issues (20)
- Annotated_counts table counts area and their subdivision differently HOT 1
- Adding CCFv3 annotation requires updating the "No label" values
- Problem Plotting 3d Mesh HOT 2
- Resampling IndexError: tuple index out of range HOT 4
- Question about the unit of vasculature radius HOT 1
- Compiler issues
- import ClearMap.Compile fails HOT 1
- Pytorch version not available anymore HOT 7
- Export ID numbers for ClearMap2.1? HOT 1
- Numpy import issues with `ClearMap.compile` HOT 1
- Example dataset for CellMap and TubeMap HOT 5
- cannot compile ClearMap modules HOT 8
- .sh install meet some error HOT 7
- conda error while installation HOT 5
- Some problems about Mapping the Fine-Scale Organization and Plasticity of the Brain Vasculature HOT 1
- matplot not available from current channel found while installation HOT 1
- Wobbly Stitcher crashing HOT 4
- Inverse transformation to transform brain images onto atlas space HOT 1
- Missing of wobbly_stitcher_rigid.jpg in folder: /ClearMap/gui/creator/graphics_resources/graphics_resources/
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 clearmap2.