virtualembryo / foambryo Goto Github PK
View Code? Open in Web Editor NEWPython package to infer tensions and pressures from 3D microscopy images of embryos and tissues
Home Page: https://www.turlierlab.com
License: Other
Python package to infer tensions and pressures from 3D microscopy images of embryos and tissues
Home Page: https://www.turlierlab.com
License: Other
Hi,
This is an amazing tool and thanks for making it available! Could you help me identify the problem with importing the some of the functions?
After using pip to install foambryo and foambryo[viewing], I am able to import and use the following:
However, the following imports do not work and I get a similar error for each one:
Error: ImportError: cannot import name 'dcel_mesh_from_segmentation_mask' from 'foambryo' (C:\ProgramData\anaconda3\Lib\site-packages\foambryo_init_.py)
Functions that cause the error above:
Since the dcel_mesh_from_segmentation_mask cannot be imported, I am using the following method to build the mesh from the segmentation mask and use plot_force_interface:
import skimage.io as io
Segmentation = io.imread('E:/ablation/ABTZL-cftr-hsp-h2a-tdtom-col8a1a-gfpCaax-2dpf/fish1/T_-1/closed_stack.tif')
DW = geometry_reconstruction_3d(Segmentation,min_dist = 3)
Verts, Faces_multimaterial = DW.return_mesh()
Mesh = DCEL_Data(Verts,Faces_multimaterial)
Hi all,
Thank you for this awesome package - very exciting!
I just had a question about the scaling of the image after import. I'm trying to use this on confocal data that's not isotropic, but I noticed my image was scaled isotopically after importing and running the viewer so it looked a bit squashed. I can overcome this by rescaling z manually before feeding it into the package pipeline. However, I was just wondering if there was anyway to set the x,y,z resolution from the metadata before generating the mesh as I assume it would change any tension/pressure inferences not having the correct shape?
Thank you for any help,
Zimeng
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.