Comments (12)
Yep, this need to be fixed. In the mean time you should be able to pass e.g --marker-size 25
to set the size of the points when starting the viewer.
from cellfinder.
Thanks @sofroniewn!
If I understand right is the request maybe to be able to do that from the GUI too? we could make a modified version of the a key press do that.
Yep, it would be great it that was possible. From my POV, it should be the default, but it might not work for everyone.
but it should be pretty easy to write a custom writer plugin for that
I haven't written a writer plugin, but I can give it a go. @rdbcasillas, would you be able to raise a new issue, detailing exactly what you'd like to save and how (maybe with screenshots etc.), and I can look into it. This might be useful for quite a few people.
from cellfinder.
N.B. You can also select cells, and then change the size of those specifically.
from cellfinder.
update: same goes for changing the symbols' colour.
changing the opacity and symbol works fine.
from cellfinder.
Hi @adamltyson, Is it possible to select all the cells after loading a cellfinder output folder in cellfinder viewer? Currently, I can only select the cells that are in a particular plane (layer) which limits the actions I want to generalize to all the cells (like changing color) irrespective of the plane. When I move the left to right, new cells appear with the old defaults which makes the analysis cumbersome and redundant sometimes.
I would also love to export each and every layer as a separate TIFF file so that my changes made in a layer can be exported (color, size of points etc). Is that possible? Write now, I can only "save all layers" as a single TIFF file (which is huge usually).
Thank you!
from cellfinder.
Hi @rdbcasillas, I actually don't know the answer to either of your questions. The viewer is just a plugin for napari, so someone in napari-land might know the answer, or if there's an existing issue/PR.
@sofroniewn might know (sorry for bugging you whenever there's a napari question), does napari have the functionality to select all points (in ND), or to export what are essentially screenshots of a single plane?
from cellfinder.
@sofroniewn might know (sorry for bugging you whenever there's a napari question), does napari have the functionality to select all points (in ND)
No worries. You should be able to select all the points with
layer.selected_data = list(range(len(layer.data)))
from the CLI (but bug reports welcome if that is not functioning as expected). If I understand right is the request maybe to be able to do that from the GUI too? we could make a modified version of the a
key press do that.
I would also love to export each and every layer as a separate TIFF file so that my changes made in a layer can be exported (color, size of points etc). Is that possible? Write now, I can only "save all layers" as a single TIFF file (which is huge usually).
or to export what are essentially screenshots of a single plane?
If you do save all layers and have 3 image layers you should be able to get a folder with 3 tiffs. If you have one layer with many timepoints we don't have a quick an easy way to get one tif per time point, but it should be pretty easy to write a custom writer plugin for that
from cellfinder.
Thank you @adamltyson for looking into this! And thanks @sofroniewn for explaining how to do this via CLI!
would you be able to raise a new issue, detailing exactly what you'd like to save and how (maybe with screenshots etc.)
@adamltyson Should I create a new bug or a new feature request for this?
Also, I notice that there is a repository napari-cellfinder. How are the instructions mentioned there different from cellfinder_view? Are there any advantages of using one over the other? I tried those instructions but when I drag and drop cellfinder output folder, I get an error saying folder wasn't recognized. But of course same folder works very well with cellfinder_view. (sorry for mentioning this here, i can open new issue for this too in napari-cellfinder rep)
from cellfinder.
Should I create a new bug or a new feature request for this?
Feature, but it doesn't really matter.
Re napari-cellfinder
vs cellfinder_view
- In cellfinder version 0.4x, cellfinder_view
has been replaced with the napari-cellfinder
plugin. This is easier to use, and easier to maintain, but at the expense of slightly reduced functionality (that will be improved in time).
If you update cellfinder, the output file structure will have changed, and it will then work with the napari cellfinder plugin. If the new tool doesn't do what you need it to, let me know.
from cellfinder.
@rdbcasillas, release notes for version 0.4.x here and updated instructions here. You're of course welcome to keep using version 0.3, as there have been some relatively major changes in version 0.4.
from cellfinder.
@adamltyson Nice! And wow, that's quite a lot of changes. Will test it for sure. I was wondering about the brainglobe suite and felt this was a very nice idea. Congrats on the new version! \0/
from cellfinder.
Closing this, as it's referring to long-deprecated code. Ideally this functionality would be added into napari, but feel free to raise issues in either cellfinder-napari or brainglobe-napari-io (if it's just for visualisation of saved results).
from cellfinder.
Related Issues (20)
- [BUG] Multiprocessing threading causing timeouts HOT 7
- [BUG] Inappropriate handling of unsigned integer data types HOT 1
- [Feature] Use uint16 for cell candidate detection when signal_array is small, to save memory HOT 3
- [Feature] Refactor so THRESHOLD and SOMA_CENTRE_VALUE are defined in one place
- Analysis csv output does not include data about all cells classified
- Downloading the trained model crashes if the model directory already exists
- [Feature] Benchmark napari versus brainmapper code
- [BUG] Writing custom config is not possible on HPC with shared installation of BrainGlobe
- [BUG] Intermittent Segmentation Faults on CI HOT 14
- Move data loading code to `brainglobe_utils.image_io.load`
- [BUG] Cellfinder seems to get stuck on structure splitting in some situations? HOT 4
- Investigate why there's a transpose operation that cannot be removed. HOT 8
- Standardise the use of axes in cellfinder HOT 2
- [BUG] Kernel crashes when running the example HOT 4
- Remove examples? HOT 1
- Move imports out of functions
- Improve printing & logging
- napari plugin does not allow use of trained weights (without model file)
- Check performance on Windows
- Structure splitting unsigned underflow HOT 2
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 cellfinder.