Skip to content

Commit c2ed75a

Browse files
committed
last fix
1 parent c573b1f commit c2ed75a

2 files changed

Lines changed: 6 additions & 28 deletions

File tree

paper/paper.bib

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -117,28 +117,6 @@ @article{dileep_cardiomyocyte_2023
117117
issn = {0261-4189, 1460-2075},
118118
url = {https://www.embopress.org/doi/10.15252/embj.2022113288},
119119
doi = {10.15252/embj.2022113288},
120-
abstract = {Abstract
121-
Coordinated cardiomyocyte contraction drives the mammalian heart to beat and circulate blood. No consensus model of cardiomyocyte geometrical arrangement exists, due to the limited spatial resolution of whole heart imaging methods and the piecemeal nature of studies based on histological sections. By combining microscopy and computer vision, we produced the first‐ever three‐dimensional cardiomyocyte orientation reconstruction across mouse ventricular walls at the micrometer scale, representing a gain of three orders of magnitude in spatial resolution. We recovered a cardiomyocyte arrangement aligned to the long‐axis direction of the outer ventricular walls. This cellular network lies in a thin shell and forms a continuum with longitudinally arranged cardiomyocytes in the inner walls, with a complex geometry at the apex. Our reconstruction methods can be applied at fine spatial scales to further understanding of heart wall electrical function and mechanics, and set the stage for the study of micron‐scale fiber remodeling in heart disease.
122-
,
123-
Synopsis
124-
125-
126-
127-
image
128-
129-
130-
131-
132-
Recovering cardiomyocyte geometry at the cellular scale is of fundamental interest, given the role this organization plays in driving heart wall electrical conduction and mechanics. Confocal microscopy with computer vision methods allow micrometer‐scale reconstruction of cardiomyocyte orientation.
133-
134-
135-
Tissue clearing, volumetric imaging using confocal microscopy, and computer vision methods reveal cardiomyocyte orientation in intact sections spanning the entire mouse heart.
136-
137-
138-
Direct estimation of cardiomyocyte orientation is obtained at a finer spatial resolution than that resolved by conventional diffusion tensor imaging (DTI).
139-
140-
141-
Cellular scale reconstruction reveals a complex geometry of smoothly varying aggregate cardiomyocyte orientations in axial, longitudinal, and apical sections of heart ventricles.},
142120
language = {en},
143121
number = {19},
144122
urldate = {2025-07-28},

paper/paper.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ Understanding the architecture of the human heart requires analyzing its microst
5151

5252
# Statement of Need
5353

54-
Despite major advances in high-resolution 3D imaging, there is a lack of open-source tools to analyze cardiomyocyte orientation in large volumetric datasets. Most established frameworks were developed for diffusion tensor MRI (DT-MRI), where orientation is inferred from water diffusion. Examples include MRtrix3 [@tournier_mrtrix3_2019], DIPY [@garyfallidis_dipy_2014], and DSI Studio [@yeh_dsi_2025]. While powerful for diffusion-based neuroimaging and cardiac applications [@mekkaoui_diffusion_2017], these packages are not designed to handle direct image-gradient–based orientation estimation or the teravoxel-scale datasets produced by synchrotron tomography, micro-CT, or optical imaging.
54+
Despite major advances in high-resolution 3D imaging, there is a lack of open-source tools to analyze cardiomyocyte orientation in large volumetric datasets. Most established frameworks were developed for diffusion tensor MRI (DT-MRI), where orientation is inferred from water diffusion. Examples include MRtrix3 [@tournier_mrtrix3_2019], DIPY [@garyfallidis_dipy_2014], and DSI Studio [@yeh_dsi_2025]. While powerful for diffusion-based neuro and cardiac applications [@mekkaoui_diffusion_2017], these packages are not designed to handle direct image-gradient–based orientation estimation or the teravoxel-scale datasets produced by synchrotron tomography, micro-CT, or 3D optical microscopy.
5555

5656
For non-diffusion imaging modalities, researchers have historically relied on custom structure tensor implementations to estimate fiber orientation directly from image intensity gradients. However, most of these are in-house codes, often unpublished or not generalizable. For example, structure tensor analysis has been applied in the heart using micro-CT [@reichardt_fiber_2020], microscopy [@dileep_cardiomyocyte_2023; @garcia-canadilla_detailed_2022], and synchrotron tomography [@dejea_comprehensive_2019], but these methods were tailored to specific datasets and lacked scalability or public availability.
5757

5858
Cardiotensor addresses this gap by providing an open-source Python package specifically tailored to structure tensor analysis of large cardiac volumes. Rather than relying on diffusion modeling, cardiotensor infers tissue orientation directly from image intensity gradients, making it applicable across a wide range of modalities. Previous studies have demonstrated strong agreement between structure tensor–based orientation and DT-MRI–derived metrics when applied to the same human hearts [@teh_validation_2016]. The package supports full pipelines from raw image stacks to fiber orientation maps and tractography. Its architecture is optimized for large datasets, using chunked and parallel processing suitable for high-performance computing environments.
5959

60-
Cardiotensor has already been successfully applied in published work to characterize 3D cardiomyocyte architecture in healthy and diseased human hearts using synchrotron tomography [@brunet_multidimensional_2024] to datasets over a terabyte in size. While cardiotensor was conceived for cardiac imaging, the package is modality‑ and tissue‑agnostic. Any volumetric dataset exhibiting coherent fibrous or laminar microstructure can be analyzed, including brain white matter, skeletal muscle, and tendon. This generality makes the library useful for both cardiovascular and broader anatomical or histological studies.
60+
Cardiotensor has already been successfully applied in published work to characterize 3D cardiomyocyte architecture in healthy and diseased human hearts using synchrotron tomography [@brunet_multidimensional_2024] to datasets over a terabyte in size. While cardiotensor was conceived for cardiac imaging, the package is modality‑ and tissue‑agnostic. Any volumetric dataset exhibiting coherent fibrous microstructure can be analyzed, including brain white matter, skeletal muscle, and tendon. This generality makes the library useful for both cardiovascular and broader anatomical or histological studies.
6161

6262
![Cardiotensor pipeline for 3D cardiac orientation analysis and tractography.
6363
(a) Input whole‑ or partial‑heart volume with optional myocardial mask.
@@ -68,23 +68,23 @@ The third eigenvector field (smallest eigenvalue) is visualized as arrows color
6868

6969
## Implementation
7070

71-
Cardiotensor is implemented in pure Python and designed to efficiently process very large 3D cardiac imaging datasets. It relies primarily on NumPy [@van_der_walt_numpy_2011] for numerical computation, with I/O accelerated by tifffile [@gohlke_cgohlketifffile_2025], Glymur for JPEG 2000 volumes [@evans_quintusdiasglymur_2025], and OpenCV [@bradski_opencv_2000]. Dask [@rocklin_dask_2015] is used exclusively to parallelize file reading, while the core computations rely on Python’s multiprocessing module for local parallelism. The package builds on the structure-tensor library [@jeppesen_quantifying_2021] to calculate the 3D structure tensor and eigenvector decomposition.
71+
Cardiotensor is implemented in pure Python and designed to efficiently process very large 3D cardiac imaging datasets. It relies primarily on NumPy [@van_der_walt_numpy_2011] for numerical computation, with I/O accelerated by tifffile [@gohlke_cgohlketifffile_2025], Glymur [@evans_quintusdiasglymur_2025], and OpenCV [@bradski_opencv_2000]. Dask [@rocklin_dask_2015] is used exclusively to parallelize file reading, while the core computations rely on Python’s multiprocessing module for local parallelism. The package builds on the structure-tensor library [@jeppesen_quantifying_2021] to calculate the 3D structure tensor and eigenvector decomposition.
7272

7373
The package supports multiple use cases:
7474

7575
- Command‑line workflows, which automate batch processing from a configuration file of terabyte‑scale heart volumes and produce results as live plots or files saved to disk.
7676

77-
- Embedded use in larger Python pipelines for specific cardiac imaging analysis.
77+
- Embedded use in larger Python analysis workflows, enabling flexible scripting and scalable execution on cluster environments.
7878

79-
Efficient computation is achieved through a chunk‑based processing strategy with padding, which avoids edge artifacts. This architecture allows cardiotensor to process whole‑heart volumes in hours rather than days while maintaining practical memory requirements, and can be parallelized across a computing cluster by splitting volumes into independent jobs.
79+
Efficient computation is achieved through a chunk‑based processing strategy with padding, which avoids edge artifacts. This architecture allows parallelization across computing clusters by splitting volumes into independent jobs, enabling cardiotensor to process whole‑heart volumes in hours rather than days while maintaining practical memory requirements.
8080

8181
# Architecture
8282

8383
Cardiotensor is organized into five main modules, designed for clarity and scalability:
8484

8585
- **`orientation`**: Computes local cardiomyocyte orientation using a chunked 3D structure tensor pipeline, including eigenvalue decomposition, cylindrical coordinate rotation, and calculation of helix angle (HA), transverse angle (TA), and fractional anisotropy (FA).
8686
- **`tractography`**: Generates and filters streamlines tracing cardiomyocyte trajectories from the orientation field for fiber‑level reconstruction and analysis.
87-
- **`analysis`**: Provides high‑level functions for regional quantification and plotting transmural profile.
87+
- **`analysis`**: Provides a GUI for regional quantification and plotting transmural profile.
8888
- **`visualization`**: Supports interactive 3D visualization of vector fields and streamlines, HA color‑coding, and export to VTK/ParaView for large‑scale rendering.
8989
- **`utils`**: Contains general utilities for I/O, image preprocessing, configuration parsing, and vector math, supporting the entire pipeline.
9090

0 commit comments

Comments
 (0)