Abstract
The role of fibrillar collagen in the tissue microenvironment is critical in disease contexts ranging from cancers to chronic inflammations, as evidenced by many studies. Quantifying fibrillar collagen organization has become a powerful approach for characterizing the topology of collagen fibers and studying the role of collagen fibers in disease progression. We present a deep learning-based pipeline to quantify collagen fibers’ topological properties in microscopy-based collagen images from pathological tissue samples. Our method leverages deep neural networks to extract collagen fiber centerlines and deep generative models to create synthetic training data, addressing the current shortage of large-scale annotations. As a part of this effort, we have created and annotated a collagen fiber centerline dataset, with the hope of facilitating further research in this field. Quantitative measurements such as fiber orientation, alignment, density, and length can be derived based on the centerline extraction results. Our pipeline comprises three stages. Initially, a variational autoencoder is trained to generate synthetic centerlines possessing controllable topological properties. Subsequently, a conditional generative adversarial network synthesizes realistic collagen fiber images from the synthetic centerlines, yielding a synthetic training set of image-centerline pairs. Finally, we train a collagen fiber centerline extraction network using both the original and synthetic data. Evaluation using collagen fiber images from pancreas, liver, and breast cancer samples collected via second-harmonic generation microscopy demonstrates our pipeline’s superiority over several popular fiber centerline extraction tools. Incorporating synthetic data into training further enhances the network’s generalizability. Our code is available at https://github.com/uw-loci/collagen-fiber-metrics.
Keywords: Digital pathology, Variational autoencoder, Collagen fiber, Deep learning, Generative model
Graphical Abstract

1. Introduction
Fibrosis is a pathological condition characterized by excessive generation and deposition of extracellular matrix (ECM) proteins, such as fibrillar collagen, in the tissue microenvironment. The amount, distribution, and structural organization of fibrillar collagen are important factors underlying the architecture and function of normal tissue as well as a wide array of pathological processes, including wound healing, aging, cancer, atherosclerosis, and diabetes (Ajeti et al., 2011; Kwon et al., 2008; Koehler et al., 2006; Nadiarnykh et al., 2010; Hanley et al., 2016). Cancer-associated fibrosis is critical to the tumor cellular microenvironment and has a significant impact on cancer development, including both inhibition and promotion of tumor progression (Fang et al., 2014; Chandler et al., 2019; Quante et al., 2011; Kalluri, 2016). For example, Tumor-Associated Collagen Signatures (TACS) are distinguished by patterns of collagen orientation and deposition during mammary tumor progression; these patterns are found to be associated with the prognosis of breast cancer (Provenzano et al., 2006; Conklin et al., 2011). Similar correlations are found in other cancer types such as ovarian, kidney, and pancreas (Koehler et al., 2006; Best et al., 2019; Drifka et al., 2016; Hanley et al., 2016; Ouellette et al., 2021). Most of the collagen biomarkers in these cancers were identified by assessing histological specimens, where measurements of the collagen topography such as fiber density, alignment, straightness, length, width, and association with tumors and glands are analyzed (Bredfeldt et al., 2014b,a; Xu et al., 2014a; Chen et al., 2019).
In recent years, second-harmonic generation (SHG) microscopy has emerged as a powerful label-free imaging technique and is regarded as one of the gold standards for fibrillar collagen imaging in research (Chen et al., 2012; Bancelin et al., 2014), in addition to staining techniques such as Picrosirius Red and Masson’s trichrome staining (Junqueira et al., 1979; Foot, 1933; Rich and Whittaker, 2017; Lattouf et al., 2014). Driven primarily by SHG imaging, quantitative image analysis algorithms have been developed to characterize collagen topology in research studies. Some widely used collagen fiber analysis software packages include FibrilTool (Boudaoud et al., 2014), CurveAlign/CT-FIRE (Bredfeldt et al., 2014b; Liu et al., 2017, 2020), OrientationJ (Rezakhaniha et al., 2012), CytoSpectre (Kartasalo et al., 2015), TWOMBLI (Wershof et al., 2021), SOAX (Xu et al., 2015), FiberFit (Morrill et al., 2016), and Ridge detection (Steger, 1998). The majority of existing methods rely on handcrafted algorithmic representations, including but not limited to curvelets, ridges, active contours, structure tensors, and nematic tensors, to trace collagen and calculate the topological properties of line-like structures. Measurements specific to individual fibers, such as width, length, and angle, along with global features like alignment and density, are subsequently calculated based on the results of the centerline extraction.
Despite the success of existing collagen image analysis techniques, several limitations hinder their effectiveness. Firstly, most of the current solutions are not automated, do not scale efficiently to large datasets, and so are not suitable for high-throughput studies. Users often have to manipulate multiple parameters to achieve satisfactory results under varying imaging conditions (e.g. different objectives). Furthermore, the selection of parameters is user-biased and handcrafted features like curvelets may inadequately represent collagen fibers’ topological features, resulting in sub-optimal fiber extraction.
Recent advances in deep learning infrastructure have enabled efficient training of deep neural networks on enormous datasets. When properly trained with large and diverse datasets, deep learning-based workflows can be more robust against image noise compared to conventional image analysis algorithms and generalize better. Therefore, deep learning has become the preferred solution for a variety of computational histopathology tasks, such as tumor detection (Campanella et al., 2019; Li et al., 2021; Hou et al., 2016), lesion segmentation (Sirinukunwattana et al., 2017), and cross-modality image synthesis (Keikhosravi et al., 2020; Bayramoglu et al., 2017). Although there have been deep learning-based methods for directly scoring fibrosis and desmoplasia in diseases including liver fibrosis, breast cancer, and scars (Sneider et al., 2022; Pham et al., 2021; Yu et al., 2018), these frameworks arguably lack interpretability due to the end-to-end prediction from the image domain to classification scores (e.g., diagnosis outcome). By contrast, a more explainable framework could instead target the extraction of individual fiber centerlines, from which morphological measurements such as collagen fiber density, alignment, length, and waviness can be obtained. These features can then be correlated with disease diagnosis and prognosis, providing insights regarding the structural characteristics involved in the biological process, such as tumor metastasis and drug delivery efficiency, and aiding the development of new therapies and drugs (Walsh et al., 2015; Tomko et al., 2018; Barcus et al., 2017; Valkenburg et al., 2018; Hosein et al., 2020; Plava et al., 2019). Compared to an end-to-end ”black box” model, these results can also be more easily translated into descriptive pathology reports interpretable by clinical pathologists. However, one major challenge in developing such a model is creating collagen annotations on a large scale, due to the intensive labor needed to annotate collagen fiber centerlines. A typical region of interest (ROI) can contain up to a few hundred collagen fibers and frequently present low-SNR regions and overlapping collagen fiber bundles, which further increase the complexity of annotating.
In this paper, we propose a deep learning-based pipeline for collagen fiber centerline tracking empowered by deep generative models that alleviates the problem of lacking large-scale annotations. Our pipeline consists of three stages, namely, generating synthetic centerline annotations (Stage I) and corresponding collagen image data (Stage II) before ultimately training the collagen fiber centerline extracting model (Stage III). Stage I consists of a pair of variational autoencoder (VAE) frameworks that can generate synthetic collagen fiber centerline masks from a limited number of manual fully-annotated collagen fiber images collected using SHG. The properties of generated collagen fiber centerlines, such as collagen fiber orientations, alignments, waviness, density, and lengths, can be controlled via an auxiliary branch. Stage II utilizes a conditional generative adversarial neural network (cGAN) to synthesize realistic collagen fiber images from the collagen fiber centerline masks and produce an enriched training dataset with synthetic image-mask pairs. Stage III then involves training a U-Net using the enriched dataset to extract collagen fiber centerlines from collagen image inputs.
Evaluations of the pipeline on an image dataset of 268 ROIs, including collagen fiber images from breast, pancreas, and kidney sections, show the deep learning-based collagen fiber extraction workflow produces collagen centerlines that better agree with human annotations compared to the commonly used ridge detection algorithm (Steger, 1998), biopolymer analysis toolbox SOAX (Xu et al., 2015), and the popular collagen fiber analysis toolbox CT-FIRE (Bredfeldt et al., 2014b; Liu et al., 2017, 2020). With the training data enriched by the VAE, the downstream centerline extraction network achieves better performance on the test images, with a soft Intersection over Union (IoU) of 0.7207. Additional evaluations on general VAE benchmark datasets show that our proposed VAE can consistently generate property-controlled images with a performance comparable to other recent models while having relatively simpler architecture and implementation. Our code is fully open source at https://github.com/uw-loci/collagen-fiber-metrics. In addition, we have made the human-annotated collagen image-mask data publicly available (Zenodo repository DOI https://doi.org/10.5281/zenodo.7243211), hoping to facilitate future collagen fiber analysis research.
2. Related works
The applications of collagen fiber analysis and quantification tools in pathological studies have been reviewed in the introduction. In this section, we focus on the existing VAEs frameworks and other related works using deep generative models to generate synthetic training data in biomedical imaging.
2.1. Data augmentation via image synthesis
Data augmentation aims to increase the size and diversity of training sets to increase model generalizability and reduce overfitting. Generating synthetic training data via deep generative models has shown to be an effective way to improve model performance in various medical image analysis tasks, such as classification and segmentation, where obtaining annotations and training data are challenging. (Moreno-Barea et al., 2020; Singh and Raza, 2021; Shorten and Khoshgoftaar, 2019; Chlap et al., 2021).
Commonly used deep generative models for synthetic training data generation are generative adversarial networks (GAN) (Goodfellow et al., 2014), variational autoencoders (VAE) (Kingma and Welling, 2013), and more recently, diffusion models such as Denoising Diffusion Probabilistic Models (DDPM) (Ho et al., 2020) and Denoising Diffusion Implicit Models (DDIM) (Song et al., 2020). GAN learns to transform random noise into realistic images via a generative network. The data distribution is implicitly learned using a surrogate loss from a discriminative network trained jointly with the generative network. Images generated by GANs are usually sharper and have more high-resolution details than those generated by VAE; however, controlling the generative process is inherently challenging, and the training process can often be unstable due to its adversarial nature. Nevertheless, many variants of GANs have demonstrated effectiveness in data augmentation for improving performances of medical image analysis tasks with applications ranging from CT scan (Frid-Adar et al., 2018), X-ray (Kong et al., 2022), and histopathology (Xue et al., 2021) images. Interested readers can refer to Shin et al. (2018); Singh and Raza (2021); Chlap et al. (2021) for thorough reviews on this topic.
On the other hand, VAE aims to learn latent representations explicitly from the data using autoencoders. One of the major advantages of VAEs over GANs is the easier control of the generation process through direct manipulation of latent variables. However, VAEs tend to generate images with extra blurriness. VAE-based data augmentations have also been used for generating synthetic training data in multiple biomedical imaging domains, including brain MRI (Chadebec et al., 2022; Chadebec and Allassonnière, 2021), eye-tracking (Elbattah et al., 2021), and spinal ultrasound (Pesteie et al., 2019). VAEs are also frequently used together with GANs in synthetic data generation. A VAE-GAN framework was proposed to synthesize blood vessel annotation masks and corresponding fundus images (Sengupta et al., 2020), and also for improving classifications of white blood cells (Liu et al., 2021). VAE and GAN-based models have been shown to outperform the generative baselines of Gaussian mixture models on an fMRI dataset Zhuang et al. (2019).
Recently, diffusion models (Ho et al., 2020; Song et al., 2020) have gained increasing attention in the computer vision community for synthesizing photorealistic images. The training process works by progressively disturbing data with noise, then learning to reverse the process for un-/conditional sample generation. Along with GAN and VAE, the diffusion models have also shown promising results in generations of realistic medical images including CT and X-rays (Ali et al., 2023; Chambon et al., 2022; Packhäuser et al., 2022; Pinaya et al., 2022).
2.2. Towards controllable VAE
Controlling the data generation process to generate data with desired properties using VAEs is an active research area (Bengio et al., 2013; Kingma and Welling, 2019; Liu et al., 2022). An important relevant line of research focuses on VAEs for unsupervised learning of disentangled representations (Higgins et al., 2017; Chen et al., 2018; Kim and Mnih, 2018; Mathieu et al., 2019). However, as indicated in Locatello et al. (2019a), learning disentangled representations in this way is fundamentally impossible without some form of inductive bias.
To achieve controllable data generation, semi-/supervised VAEs inject inductive bias to match the latent variables with the supervising labels (i.e., the underlying true generative factors) (Kingma et al., 2014; Maaløe et al., 2016; Paige et al., 2017; Ding et al., 2020). Other approaches combine adversarial learning with VAE to attain similar objectives (Makhzani et al., 2015; Mathieu et al., 2016; Creswell et al., 2017). On the other hand, instead of directly enforcing the latent variables to be equal to the label values, Joy et al. (2020) suggested capturing the salient significance of the labels via the supervision of latent variables. The majority of the works focus on categorical labels (Klys et al., 2018; Locatello et al., 2019b; Ilse et al., 2020). These approaches were extended to continuous-valued labels in work by Guo et al. (2020), which utilized reversible functions requiring iterative computations.
Similarly, we aim to control the generative process to generate data with desired properties by supervising a VAE using continuous-valued labels corresponding to the values of the fiber centerline properties (Sec. 3.4). We can then enrich our manually-annotated fiber centerline dataset containing synthetic centerlines with the specified properties. We achieve this by deploying an auxiliary VAE to supervise the main VAE that focuses on controlling the properties of the generated data. Unlike a similar formulation in Property Controllable VAE (PCVAE) (Guo et al., 2020), we assume the disentanglement among latent variables, which simplifies implementations by not requiring the additional disentanglement loss terms and iterative inference computations as in PCVAE, but instead having an additional regularization term that enforces the consistency between supervision and latent variables while keeping the total amount of information minimal. Nevertheless, we demonstrate similar property-controlled data generation performance (Sec. 4.2). The two VAEs cooperate as a duo to achieve the common goal of generating property-controlled synthetic data. We refer to this approach as DuoVAE.
3. Method
The proposed pipeline for collagen fiber centerline extraction using synthetic training data generated by DuoVAE and cGAN is illustrated in Fig. 1. In Stage I, the proposed DuoVAE is trained to generate collagen fiber centerline masks conditioned on the controlled centerline properties of interest (Fig. 1a). In Stage II, a generator of cGAN synthesizes realistic collagen fiber images from the generated centerline masks (Fig. 1b). Lastly, in Stage III, a U-Net is trained to perform centerline extraction, using a combination of the original and synthetic dataset (Fig. 1c–d).
Fig. 1:

The pipeline proposed for synthetic training data generation and collagen centerline extraction. First, (a) DuoVAE is trained to generate fiber centerline masks conditioned on the centerline properties and latent variables , and (b) cGAN is trained to synthesize realistic collagen fiber images from the centerline masks. Then, we generate a synthetic training dataset by first generating synthetic collagen fiber centerline masks using the trained DuoVAE and generating realistic collagen fiber images based on the masks using the trained cGAN (c). Lastly, (d) the centerline extracting network (U-Net) is trained using a combination of the original and synthetic datasets.
3.1. Stage I: DuoVAE for property-controlled data generation
The objective of Stage I is to generate fiber centerline masks that exhibit the controlled centerline properties of interest. This can be achieved using our proposed DuoVAE comprised of the main and auxiliary VAEs. We first describe the model assumption and the optimization objective of a standard VAE and then introduce our DuoVAE with extensions for property-controlled data generation.
VAE and the Evidence Lower Bound (ELBO)
Given a dataset in which each sample is an observed variable (e.g., an image), a VAE (Kingma and Welling, 2013) aims to estimate the distribution of the variable where denotes the latent variables, is referred as the generative model (i.e., decoder) which reconstructs the input data from the latent variables , and the prior is assumed to be an isotropic multivariate Gaussian distribution. The log-likelihood of the data can be expressed as (derivations in Appendix 6.1.1)
| (1) |
where is the recognition model (i.e., encoder) introduced for approximating the intractable true posterior . Due to the non-negativity of the Kullback-Leibler (KL) divergence , estimating can be achieved by maximizing the ELBO w.r.t. the learnable parameters and , which, in turn, simultaneously minimizes . In the setting of VAE, the variational distribution is parameterized by the encoder which itself is a neural network with variational parameters (Kingma and Welling, 2019). The decoder is another neural network with variational parameters . Instead of learning a set of variational parameters for each datapoint, the optimization procedure learns these two parametric functions with respect to the whole dataset using stochastic gradient descent (known as amortization in stochastic variational inference (Hoffman et al., 2013; Kingma and Welling, 2013; Gershman and Goodman, 2014)).
DuoVAE
Let us consider each sample in the dataset as where is a collagen fiber centerline mask and is a set of continuous-valued properties calculated from that are important characteristics of collagen fibers (introduced in Sec. 3.4). The encoder maps each centerline mask to a set of latent variables .
If the groups of latent variables and are mutually disentangled, we can assume that the information on correlated to the property values is encoded to and everything else is encoded to ; then, the decoder reconstructs the input given where is conditioned on the properties . The hope is by manipulating the property values , the latent variables can be controlled, thus, the generated centerline mask presents the desired properties (Fig. 2a).
Fig. 2:

(a) The generative process modeled as for generating a collagen fiber centerline mask with desired properties of collagen fibers . (b) Main VAE - Left: inference model where we assumed the factorized posterior . The dashed arrow represents the auxiliary regressor , and the dashed line represents the KL-divergence between and . Right: generative model. (c) Auxiliary VAE with inference (left) and generative (right) models.
The generative process can then be expressed as with learnable variational parameters , where is the decoder, is a Gaussian prior, is interpreted as conditional prior or posterior, and is the marginal likelihood of the property values . Furthermore, we assume the approximate posterior can be factorized as , and since can be derived from plus some noise from annotations and does not impact the expectation terms, it is dropped when evaluating the first term of (Eq. 3) (Guo et al., 2020). Besides, such perfect disentanglement of and is not trivial to achieve in practice; however, we show empirically that when the regularization weight coefficients are carefully chosen, this formulation can achieve a degree of latent feature disentanglement and the quality and controllability of data generation is on a par with recently proposed models with more complex feature disentanglement mechanisms (Sec. 4.2 and Appendix 6.4.3).
For training the main VAE (Fig. 2b), the ELBO can be written as (derivations in Appendix 6.1.2 and 6.2)
| (2) |
where we introduced the regularization coefficient similar to -VAE (Higgins et al., 2017) to control the capacity of the latent information in . Maximizing requires the log-likelihood of the properties and the intractable posterior in the KL-divergence term to be known.
To evaluate , given the properties are also observed variables and assuming , we introduce an auxiliary VAE (Fig. 2c) comprised of the encoder and decoder (where and are also learnable parameters) to estimate , which simultaneously approximates the intractable posterior as . Then, the objective of the auxiliary VAE is to maximize the ELBO of the log-likelihood , written as (derivations in Appendix 6.1.3)
| (3) |
where is assumed to be a Gaussian prior, and is a regularization coefficient.
Furthermore, to encourage encoding of the information related to from into the latent variables , we introduce an auxiliary objective to , similar to Zhao et al. (2019); Ilse et al. (2020); Joy et al. (2020):
| (4) |
where is the decoder of the auxiliary VAE, and is a weight coefficient.
For training, we alternate between maximizing over the parameter set using the main VAE, and over the parameter set using the auxiliary VAE (Fig. 1a). When training the main VAE, the encoder of the auxiliary VAE is used as the approximate posterior in substitution for the posterior in .
3.2. Stage II: cGAN for collagen image generation from centerlines
The objective of Stage II is to synthesize a realistic collagen image from a centerline mask generated by the VAE in Stage I. This can be achieved using the conditional GAN (cGAN) framework proposed by (Isola et al., 2017) which employs U-Net (Ronneberger et al., 2015) for the generator to generate an output image (i.e., ) from an input image and a random noise vector and PatchGAN for the discriminator (Fig. 1b).
PatchGAN encourages to model high-frequency structures and has a convolutional architecture which classifies each of the local patches in an image as real or fake (Isola et al., 2017). Furthermore, we regard the generator as a deterministic mapping following Isola et al. (2017), providing the random noise only in the form of dropouts during training. The objective of cGAN is expressed as
| (5) |
where the optimization process is executed in an adversarial manner, i.e., . Moreover, we include pixel-wise L1 loss term to encourage low-frequency reconstruction correctness. The final objective is expressed as
| (6) |
where is a weight coefficient. Note that this stage only relies on the original collagen fiber image-mask pairs for training. Experimentally, we find cGAN generalizes to synthetic centerline masks produced by the VAE, possibly due to the fact that the cGAN with the PatchGAN setup learns low-level style information that is mostly localized and “decorates” the centerlines with these styles to perceptually match realistic collagen images (Ledig et al., 2017; Isola et al., 2017; Jing et al., 2019).
3.3. Stage III: Centerline extraction network
The goal of the centerline extraction network is to extract collagen fiber centerlines from a collagen image acquired by SHG. This can be achieved by training a neural network parameterized by a parameter set with input being the collagen image and output being the corresponding centerline mask (Fig. 1c). The training process then minimizes the empirical risk on the training set, expressed as
| (7) |
where we employed a binary cross-entropy loss for and U-Net (Ronneberger et al., 2015) for with the number of input and output channels both equal to 1.
All of the optimizations in Stage I, II, and III were carried out using stochastic gradient descent with the Adam solver (Kingma and Ba, 2014).
3.4. Collagen fiber centerline property computing
The collagen fiber centerline properties of interest include the following 6 properties: 1) Fiber circular mean: average orientations of the fibers; 2) Fiber circular variance: alignments of the fibers (i.e., variation in the orientations); 3) Fiber density: compactness of the fibers; 4) Fiber waviness: average curviness of the fibers; 5) Fiber length mean: average length of the fibers; and 6) Fiber length variance: variation in the lengths.
These features are suggested in CT-FIRE (Bredfeldt et al., 2014b; Liu et al., 2017, 2020) and have been used in many pathological studies for characterizing collagen fibers. To compute their values, we first extract the individual fiber instances from the fiber centerline masks.
Extracting individual fiber instances
The output of the centerline extraction network in Stage III (i.e., U-Net) is a binary image where the locations of pixel value 1 can be considered as coordinates of collagen fiber centerlines without distinguishing between different fiber instances. To produce individual collagen fiber extraction results, the outputs of U-Net need to be further processed. The goal is to compute lists of coordinates where each list contains a sequence of coordinates that define a single fiber centerline.
The outputs of U-Net are first skeletonized using a simple thinning algorithm (Zhang and Suen, 1984) and joints are identified by a template matching filter that enumerates all possible conformations of joints in a kernel. Joints are locations where multiple collagen fibers intersect. To obtain individual fibers, segments of centerlines belonging to the same fiber at a joint need to be linked. The linking of centerline segments at joints is done using a greedy algorithm. A segment is randomly selected and linked to another segment with the most compatible opposite incident angle (i.e., closest to 180°). The opposite angle of the linked segment has to be in the range of 180°±30°). The process is repeated until all link-able segments are linked. This procedure is illustrated in Fig. 3.
Fig. 3:

The top row illustrates the algorithm that generates fiber instances from a centerline extraction output. The algorithm first detects joints and generates fiber instances by linking fiber segments at joints. Fiber segments with matching incident angles are connected. Collagen fiber properties can be computed based on individual fiber instance extraction results. The bottom row shows a representative processing result of fiber instances extraction.
Centerline properties
Fiber properties including fiber circular mean, fiber circular variance, fiber density, fiber waviness, fiber length mean, and fiber length variance can be computed by aggregating the respective properties computed for each fiber. The methods used to compute the properties primarily follow the CT-FIRE toolbox (Bredfeldt et al., 2014b; Liu et al., 2017, 2020). Fiber circular mean is defined as the weighted averaged angle of collagen fiber centerlines, computed as follows: (1) divide each fiber centerline into several equal-length sub-segments, and compute the averaged angle of the sub-segments; (2) average the angles of all centerlines in an image with each weight equaling the number of sub-segments in the centerline. Fiber circular variance is defined as the circular variance of all the sub-segments. Fiber density is the number of positive pixels (pixels on centerlines) in the image (all with a size of 256×256). Fiber waviness is the sum of absolute differences between the angles of adjacent sub-segments in the centerline of each fiber. Fiber length mean is the average length of all centerlines, and fiber length variance is the standard deviation of the fiber lengths. The features are computed for all images in the dataset and the values of each feature are standardized to have a zero mean and a unit variance.
4. Experiments and results
In this section, we first describe the specimens and images of the collagen fiber dataset, the pre-processing of the collagen dataset, as well as two additional VAE benchmark datasets used for evaluating DuoVAE (Sec. 4.1). We then present the evaluation results of (1) using DuoVAE for property-controlled data generation on both the collagen fiber dataset and the two VAE benchmark datasets (Sec. 4.2), and (2) the collagen fiber centerline extracting network trained on the VAE-enriched collagen fiber dataset (Sec. 4.3). Lastly, we present ablation experiments results to show the impacts of different weights and in the loss functions in Eq. (2) and (3) on latent feature disentanglement and data generation controllability as well as the performance when different amounts of synthetic training data are used for training the fiber extraction network (Appendix 6.4.3).
4.1. Datasets and pre-processing
4.1.1. Collagen fiber image dataset
Specimen and images
The collagen fiber image dataset consists of SHG images collected on tissue sections of three different organs - breast, pancreas, and kidney. The images were collected in several previously published cancer studies from three different imaging platforms in the Eliceiri lab. Details regarding the sample preparation, case demographics, and imaging systems can be found in Conklin et al. (2011); Bredfeldt et al. (2014b); Drifka et al. (2016); Best et al. (2019); Li et al. (2022). The 268 ROIs were randomly selected from the whole image set for annotating, excluding empty backgrounds and low-quality images that contain over-saturated signals caused by inappropriate settings in imaging. The image set contains 116 ROIs from breast tissues (ductal carcinoma), 89 ROIs from pancreas tissues (ductal adenocarcinoma and chronic pancreatitis), and 63 ROIs from kidney tissues (renal cell carcinoma). These images were split into a training set with 227 ROIs and a testing set with 41 ROIs. All ROIs have a size of 512 × 512 and are non-overlapping.
Image augmentation
Additional image augmentation workflows are implemented for the training phases of Stage I and Stage II (Sec. 3.1–3.2), and Stage III (Sec. 3.3).
Stage I (DuoVAE).
DuoVAE takes as inputs annotated fiber centerlines (in the form of image masks) with their corresponding 6 property values (orientation, alignment, density, waviness, average length, and length variation) computed using the method in Sec. 3.4. Given a set of manually annotated centerline masks of size 512 × 512, each mask is subdivided into 5 base crops of size 256 × 256 at different locations as illustrated in Fig. 4a and further augmented 8 times with 4 rotations {0°, 90°, 180°, 270°} and 2 horizontal flips (totalling 40 crops per image). Furthermore, number of crops are extracted at random locations with random rotations and horizontal flips within the image boundary as illustrated in Fig. 4b. This yields number of crops per annotated ROIs. Lastly, empty crops with no centerline pixels inside are removed, and the centerline properties are computed using the method in Sec. 3.4 and standardized for each property.
Fig 4:

Image augmentations during training of DuoVAE, where (a) each of the manually annotated 512 × 512 centerline masks is subdivided into 5 base crops of size 256 × 256, and then (b) additional N random crops of size 256 × 256 are extracted.
From 268 manually annotated ROIs, the numbers of base crops are 1,188 for the training set and 199 for the test set, after removing the empty crops. With rotation and flipping of the base crops, together with random crops on each ROI, we produce a training set with 36k crops of size 256 × 256. Note that additional augmentation is not performed on the test set (the test set consists of 199 base crops of size 256×256). The augmentation process is performed offline prior to the training of DuoVAE.
Stage II (cGAN).
Training Stage II requires pairs of fiber centerline masks and corresponding collagen images. Since the centerline properties do not need to be precomputed from the masks, we extract a crop on the fly during training using the same random augmentation method (cropping, rotations, and flipping) used for Stage I (Fig. 4b) for the mask-image ROI pairs.
Stage III (U-Net).
Training Stage III requires pairs of collagen images and corresponding fiber centerline masks. The 1,188 base crops obtained from the training ROIs are used to train the centerline extraction network. Another 4,752 synthetic training samples are generated by traversing the property labels of the 1,188 base crops using DuoVAE and mapping the centerlines to realistic collagen images using cGAN, resulting in the total number of 5,940 enriched training samples (i.e., 5× more training samples compared to the original 1,188 training samples). Additional ablation studies regarding the impacts of different augmentation ratios (2×, 5×, and 10× compared to the original data size) can be found in Appendix 6.4.3.
To generate the synthetic training data, each of the 1,188 base crops is first encoded into latent variables using the encoder of the main VAE. Then, the traversing for each of the 6 ground-truth properties is done one at a time while the rest of the untraversed and the encoded are held constant. The encoder of the auxiliary VAE then encodes a new set of latent variables from different values of , and the decoder of the main VAE generates a synthetic crop from . Similarly, while holding the encoded constant, values of are randomly sampled from , denoting as , and a synthetic crop is generated from the new set of latent variables . In our example, we traversed each of the 6 properties by 5 different values (i.e., 1, 188 × 6 × 5 = 35,640 crops) and also sampled times (i.e., 1, 188 × 5 = 5,940 crops), making the total of 41, 480 synthetic crops. Then, we randomly sampled 4, 752 crops to obtain the 5,940 enriched training samples (i.e., augmentation ratio of 5×).
4.1.2. VAE benchmark dataset
In addition to our collagen dataset, we include two additional VAE benchmark datasets to validate further that our DuoVAE shows consistent performance in more general settings. The dSprites dataset (Matthey et al., 2017) and 3dshapes dataset (Burgess and Kim, 2018) consist of 737k images of 2D shape and 480k images of 3D shapes, respectively, procedurally generated from 6 ground truth independent latent properties. For evaluations, we experimented with 3 properties for each dataset: (scale, position, position) for dSprites and (scale, wall color, floor color) for 3dshapes. For our collagen dataset, we experimented with all 6 properties: orientation, alignment, density, waviness, average length, and length variation.
4.2. Evaluation of property-controlled data generation
We first visualize the property-controlled data generation of DuoVAE qualitatively and further present quantitative evaluation results that demonstrate the supervised latent variables have successfully captured the information of the corresponding properties.
4.2.1. Qualitative evaluation
We show the images generated when traversing each of the ground truth property values on the three datasets. Specifically, the encoder of the main VAE encodes an image into latent variables ; then, each of the ground truth properties is traversed from its minimum to maximum values while holding constant. The encoder of the auxiliary VAE encodes a new set of latent variables from different values of . The decoder of the main VAE then generates new images from . For the collagen fiber dataset, we also visualize the collagen images generated by the cGAN that maps the fiber centerlines generated by DuoVAE into realistic collagen fiber images.
Fig. 5 shows representative outputs of the property-controlled data generation of DuoVAE on the collagen fiber dataset. The outputs are grouped into 6 panels according to the fiber properties: (a) orientation (from left-oriented to right-oriented), (b) alignment (from well-aligned to randomly organized), (c) density (from sparse to dense), (d) waviness (from straight to wavy), (e) average length (from short to long), and (f) length variation (from uniform lengths to random lengths). The first rows in each panel are the fiber centerlines generated by DuoVAE, and the second rows are the corresponding collage image generated by the cGAN. The generated centerlines exhibit the different values of fiber properties specified in the generating process.
Fig. 5:

Representative property traversing of collagen fiber centerline generation results of the VAE (top row of each panel) and the corresponding collagen fiber images generated by the cGAN (bottom row of each panel). (a): Traversing of the variable that encodes average fiber angles. (b): Traversing of the variable that encodes circular variance of fiber angles. (c): Traversing the variable that encodes fiber density. (d): Traversing of the variable that encodes average fiber waviness. (e): Traversing of the variable that encodes average fiber lengths. (f): Traversing of the variable that encodes the variation of fiber lengths.
Similarly, each row in Fig. 6a and Fig. 6b exhibits the controlled properties of interest where are (scale, position, position) for the dSprites dataset and (scale, wall color, floor color) for the 3dshapes dataset.
Fig. 6:

Representative property traversing results. (a) Images generated by traversing properties of interest on the dSprites dataset. : scale of the object (from small to large). position (horizontal) of the object (from left to right). position (vertical) of the object (from top to bottom). (b) Images generated by traversing properties of interest on the 3dshapes dataset. : scale of the object (from small to large). : color of the wall in the background (rainbow color wheel from red to violet). : color of the floor (rainbow color wheel from red to violet).
4.2.2. Quantitative evaluation
We present quantitative evaluation results of DuoVAE using the dSprites and 3dshapes datasets. Normalized mutual information is computed between each of the properties - (scale, position, position) for dSprites and (scale, wall color, floor color) for 3dshapes - and the corresponding supervised latent variables , as well as the average mutual information between each property and the rest of the latent variables . This metric was suggested in recent studies (Locatello et al., 2019b; Guo et al., 2020) for the purpose of evaluating the ability of controlling the properties of generated data in VAEs (Klys et al., 2018; Locatello et al., 2019b). We show that DuoVAE achieves comparable performance to other recent VAE-based models including Property Controllable VAE (PCVAE) (Guo et al., 2020), Conditional Subspace VAE (CSVAE) (Klys et al., 2018), and semi-VAE (Locatello et al., 2019b). Among these, PCVAE learns the correlation between each value of latent variables and properties by utilizing invertible constraints, which require iterative computations, and has shown to outperform the other two models both quantitatively and qualitatively.
Fig. 7 shows the normalized mutual information (MI) heatmaps by DuoVAE and PCVAE for the dSprites dataset (The details of the network backbones used for both models are provided in Appendix 6.3). Each entry denotes the MI between a property and a set of supervised latent variables except the last row which denotes the averaged MI between a property and all the other latent variables (other than ). In the ideal case, the MI in the diagonal of the heatmaps should be 1, and off-diagonal values as well as should be zero (indicating perfectly encoded correlations where each property is completely inferred by one supervised latent variable ). The results show that the MI score is high between the supervised latent variables and their associated properties (scale, position, position), whereas the score is low for the rest of the unrelated latent variables including .
Fig. 7:

The heatmaps of the normalized mutual information between each of the properties and latent variables for dSprites dataset. The right two heatmaps are our evaluation results, and the left three are the reported results from the original PCVAE paper.
Moreover, DuoVAE attains higher MI scores compared to PCVAE, which suggests that the performance of DuoVAE is comparable to other recent models, though having relatively simpler architecture and implementation. We further visualize the images generated by traversing each latent variable. Fig. 8 shows that each of the supervised latent variables (top 3 rows) captures the information of (scale, position, position), respectively. On the other hand, the rest of the latent variables (bottom 4 rows) appear to have captured the rest of the information (e.g., rotation and shape) in an entangled way. The visualization for PCVAE can be found in Appendix 6.4.1, and the MI score and the representative visualization of the latent variable traversing on 3dshapes for DuoVAE and PCVAE can be found in Appendix 6.4.2.
Fig. 8:

Representative latent variable traversing by DuoVAE. Each of the supervised latent variables (top 3 rows) captures the information of (scale, position, position), respectively, whereas the rest of the latent variables (bottom 4 rows) appear to have captured the rest of the information (e.g., rotation and shape) in an entangled way.
4.3. Evaluation of collagen fiber centerline extraction
In this subsection, we present the evaluation results of the collagen fiber centerline extraction networks. We describe the baselines and evaluation metrics and compare the results produced by the networks trained using only the original dataset and VAE-enriched dataset with synthetic training data generated by the VAE.
Baselines
We include three frequently used collagen fiber quantification tools, ImageJ ridge detection plugin (Steger, 1998), the CT-FIRE module in CurveAlign (Bredfeldt et al., 2014a; Liu et al., 2020), and the active contour-based toolbox SOAX (Xu et al., 2015, 2014b), in our baselines. These three methods take collagen images and produce coordinate lists that define individual fiber centerlines.
Evaluation metrics
To assess the quality of the fiber extraction results, we use two types of quantitative metrics that serve as similarity measurements between the output of the network/algorithm and the corresponding ground truth annotations made by human experts.
The first metric is an image-level similarity measurement. The 6 collagen fiber properties defined in the method Sec. 3.3, namely fiber circular mean, fiber circular variance, fiber density, fiber waviness, fiber length mean, fiber length variance, are computed from the network/algorithm extracted fiber center-lines and human annotations. The absolute differences of each property are computed for all output-annotation pairs and normalized by dividing the differences using the maximum value of the corresponding property in the annotations. This metric is denoted using the term “normalized error”. A smaller normalized error suggests the result is more similar to the ground truth. We also rank the errors of the methods for the properties (denoted as “rank score”). A method receives 0 points if it produces a property value closest to the ground truth, receives 1 point if it produces the second closest value, and so on. The points are averaged across 6 properties, and a small point (i.e., lower rank score) indicates that the output is closer to the ground truth annotation.
Additionally, we use a soft version of Intersection over Union (soft-IoU) (Máttyus et al., 2017) with a Gaussian filter as a pixel-wise metric. Soft-IoU with a Gaussian filter is less sensitive to pixel-wise shifting than IoU; thus, it is more suitable to quantify the overlap between pairs of skeleton-like structures such as collagen fiber centerlines. Two centerlines that are only one pixel shifted can have a 0 IoU score, but the soft-IoU score remains high. Soft-IoU scores are computed for all output-annotation pairs in the test set and averaged. The centerline extraction network was trained with a batch size 128 for 10k epochs.
Evaluation results
Table 1 summarizes the average normalized error of each property and the average Soft-IoU on the testing set. Fig. 9 shows the violin plots of the values in the 5-95 percentile range for each of the normalized errors and Soft-IoU for testing images. Representative results of input images captured using different objective magnifications (20× and 40×) are shown in Fig. 10. The results show that the centerlines produced by the centerline extraction networks are consistently more similar to the ground truth annotations, with smaller normalized errors and larger soft-IoU to the ground truth. We also noticed that the network is less sensitive to the different lens magnifications utilized (i.e., 20× vs. 40×) while the parameters chosen for ridge detection and SOAX can lead to over/under extraction results for one of the magnifications. The network trained using the VAE-enriched dataset yields better results than the network trained using only the original dataset and has smaller error variances on the test set, indicating better generalization. This result suggests that the VAE is capable of increasing the diversity and variation of the original dataset by generating synthetic training data, and the downstream network trained using the enriched dataset can generalize better on testing samples not seen by the network.
Table 1:
Averaged normalized error of centerline properties, Soft-IoU, and Rank score computed from the centerline extraction results of different methods (includes all data points). For the normalized error (circular mean, circular variance, length mean, and length variance) and rank score, smaller values indicate better results. For Soft-IoU, larger values indicate better results. Network (+VAE) are the results where the network inputs were enriched with VAE generated outputs.
| Method | Circular mean↓ | Circular variance↓ | Length mean↓ | Length variance↓ | Waviness↓ | Fiber density↓ | Soft-IoU↑ | Rank score↓ |
|---|---|---|---|---|---|---|---|---|
| Ridge detector | 0.0565 | 0.1424 | 0.1318 | 0.1456 | 0.1772 | 0.1453 | 0.6638 | 2.5922 |
| CT-FIRE | 0.0525 | 0.1201 | 0.0748 | 0.0691 | 0.1897 | 0.1221 | 0.6680 | 2.1184 |
| SOAX | 0.0594 | 0.0969 | 0.0843 | 0.1016 | 0.1706 | 0.0993 | 0.6113 | 2.0129 |
| Network (original) | 0.0514 | 0.0841 | 0.0623 | 0.0747 | 0.2002 | 0.0908 | 0.7160 | 1.8026 |
| Network (+VAE) | 0.0524 | 0.0766 | 0.0534 | 0.0672 | 0.1811 | 0.0778 | 0.7207 | 1.4738 |
Fig. 9:

The violin plots of the values in the 5-95 percentile range for each of the normalized errors and Soft-IoU, calculated from the outputs of the centerline extraction network (Stage III) and ground truth annotations for individual testing images. The white dots in the plots indicate median values. The 5-95 percentile range is used to exclude outliers and create y-axis ranges that better show the performance differences between the methods.
Fig. 10:

Collagen fiber extraction outputs of different methods. Top row: Outputs for a collagen fiber image captured at 20× magnification. Bottom row: Outputs for a collagen fiber image captured at 40× magnification. Columns from left to right: Input image, manual annotation, outputs of ridge detector (Steger, 1998), outputs of CT-FIRE (Bredfeldt et al., 2014b; Liu et al., 2017, 2020), outputs of the neural network trained using the original dataset, outputs of the neural network trained using VAE-enriched dataset.
5. Discussion and Conclusion
This study demonstrates a workflow for collagen fiber centerline extraction using deep models. To tackle the challenge of creating annotations on a large scale, we propose a synthetic training data generation pipeline powered by VAE. Our proposed VAE framework (DuoVAE) can generate synthetic collagen fiber centerlines that resemble human annotations, and the properties of the generated collagen fiber centerlines can be controlled via an auxiliary branch. Though appropriate regularization coefficients have to be determined experimentally, the implementation of our method is considerably simpler than some recent work for controlled synthetic data generation. By synthesizing realistic collagen fiber images from synthetic centerlines via a cGAN, more image-mask pairs with larger varieties can be generated. The downstream collagen fiber extraction network generalizes better using the enriched dataset for training. Comparing our method to widely used collagen fiber analysis toolboxes shows a clear-cut improvement for collagen fiber centerline extraction in cancer tissue samples. Moreover, evaluations of DuoVAE on two VAE benchmark datasets, dSprites and 3dshapes, show the ability of DuoVAE to disentangle the latent variables for high-quality property-controlled data generation.
We plan to integrate the presented DuoVAE-based workflow into the CurveAlign/CT-FIRE toolbox, which has a user-friendly graphical interface as well as other useful downstream functionalities for collagen fiber analysis in tissue, such as fiber width estimation, local and global fiber density and alignment analysis with respect to tumor boundaries. All of these analyses are benefited from accurate collagen fiber centerline extractions. Future work will explore the impact of additional constraints for representation disentanglement in our DuoVAE architecture, as well as enable the generation of synthetic training data with higher resolution. Furthermore, the current synthetic data generation scheme separates individual training phases for synthetic centerlines and synthetic collagen fiber images. A more ideal solution will be to combine the two phases into a single phase and generate synthetic image-centerline pairs in one training phase that can be optimized end-to-end. This process can possibly benefit from self-supervised pretraining using unannotated collagen images which do not require careful human curation.
Deep learning-based collagen fiber centerline extraction in cancer tissue
Synthetic data for training deep neural networks and increasing generalizability
Variational autoencoder for property-controlled data generation
Acknowledgments
We acknowledge the members of Eliceiri Lab and Sifakis Lab for useful suggestions and discussions.
Kevin W. Eliceiri reports fnancial support was provided by Natonal nsttutes of Health. Kevin W. Eliceiri reports financial support was provided by Semiconductor Research Corp. Kevin W. Eliceiri reports financial support was provided by Morgridge Institute for Research.
Funding
This work was supported by the Semiconductor Research Corporation, the Morgridge Institute for Research and NIH grants U54CA268069, P41GM135019, and R01CA238191.
6. Appendix
6.1. Derivations of ELBO in DuoVAE
6.1.1. VAE and the Evidence Lower Bound (ELBO)
Given a generative model of the form where we want to perform posterior inference by computing , a VAE approximates the true (unknown) distribution of data using a parameterized model , which can be achieved by maximizing the ELBO of marginal distributions over some observed data . The expression for ELBO can be derived from several approaches including via Jensen’s inequality, minimization of KL-divergence between a parametric inference model (i.e., encoder) and the intractable posterior , or by decomposing the log-likelihood as
| (8) |
Due to the non-negativity of the KL-divergence , estimating can be viewed as maximizing the ELBO w.r.t. the variational parameters and , which simultaneously minimizes and yields the approximate posterior .
6.1.2. ELBO of the main VAE
Given the generative process of the main VAE and the factorized approximate posterior , the ELBO of the log-likelihood is expressed as
| (9) |
where we introduced the regularization coefficient similar to -VAE (Higgins et al., 2017) to control the capacity of the latent information in .
6.1.3. ELBO of the auxiliary VAE
Given the observed property values , the objective of the auxiliary VAE is to maximize the log-likelihood , which, in turn, simultaneously approximates the intractable posterior in Eq. 9 with an approximate posterior (i.e., encoder). This can be achieved by maximizing the ELBO which can be derived using the same approach in Eq. 8, written as
| (10) |
where we introduced a regularization coefficient similar to -VAE (Higgins et al., 2017).
6.2. Additional derivations
Our generative process is defined as which also implies . In this section, we justify by first showing (1) , and then (2) given the following two assumptions:
information on is encoded to ; and, and are conditionally independent given (i.e., ),
is independent of and (i.e., and ), which gives (Derivation in Sec. 6.2.2).
6.2.1. Derivation of
We show that if , and , then , which gives us . First, according to Bayes’ theorem,
| (11) |
and
| (12) |
Table 2:
DuoVAE architecture for evaluations on dSprites and 3dshapes datasets (Sec. 6.3).
| EncoderX | DecoderX | EncoderY{1,2,3} | DecoderY{1,2,3} |
|---|---|---|---|
| Conv2d(c, 32, 4, 2)-BN-ReLU | Linear(z-dim + w-dim, 128)-ReLU | Linear(1, 8)-ReLU | Linear(1, 8)-ReLU |
| Conv2d(32, 32, 4, 2)-BN-ReLU | Linear(128, 128)-ReLU | Liner(8, 2) | Linear(8, 1)-Sigmoid |
| Conv2d(32, 32, 4, 2)-BN-ReLU | Linear(128, 2048)-ReLU | ||
| Linear(2048, 128)-ReLU | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Linear(128, 128)-ReLU | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Linear(128, 2 × (z-dim + w-dim)) | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Conv2d(32, c, 4, 2) |
Table 3:
DuoVAE hyperparameters for evaluations on dSprites and 3dshapes datasets (Sec. 6.3).
| Learning rate | Batch size | dimension of z (z-dim) | dimension of w (w-dim) | |||
|---|---|---|---|---|---|---|
| 0.0005 | 4096 | 4 | 3 | 3.4 | 3.4 | 1 |
Fig. 11:

Representative latent variable traversing by PCVAE on the supervised latent variables (top 3 rows) and the rest of the latent variables (bottom 4 rows).
Since , as well as and (i.e., with derivation in Sec. 6.2.2), we have and based on conditional independence in probability theory. Substituting them to Eq. 11 and 12 gives , i.e., . Therefore, since , we can have (∵ conditional independence).
6.2.2. Derivation of
We show that if and , then , which gives us . According to Baye’s theorem,
| (13) |
| (14) |
Since and , we have and . Substituting them to Eq. 13 and 14 gives , i.e., .
6.3. Architecture and hyperparameters for dSprites and 3dshapes datasets
The neural network architecture (Table 2) for DuoVAE consists of EncoderX to model , DecoderX to model , EncoderY1, EncoderY2, and EncoderY3 to model , and , respectively, and similarly DecoderY1, DecoderY2, and DecoderY3 to model , and , respectively. Each set of layers of the network is expressed as Conv*(input channel, output channel, kernel size, stride) for convolutional layer, Linear(input channel, output channel) for fully-connected layer, and BN and ReLU denote batch normalization across mini-batches and rectified linear unit function activation layer, respectively. We use the same architecture and hyperparameters for both the training on dSprites and 3dshapes datasets, respectively. The number of input/output channels is 1 for dSprites (grayscale) and 3 for 3dshapes (RGB). The hyperparameters (Table 3) include , and as introduced in Sec. 3.1.
6.4. Additional Evaluation and Comparison for property-controlled data generation
6.4.1. dSprites dataset
Representative visualization of the latent variables traversing by PCVAE can be found in Fig. 11, in addition to the DuoVAE’s in Fig. 8. The same traverse setting as DuoVAE is used. The first 3 rows correspond to object size, object horizontal location, and object vertical location. Additional rotation effects are observed when the horizontal and vertical locations are changed. Whereas in 8, the results of DuoVAE show more clean control on the object locations.
Fig. 12:

Representative latent variable traversing by (a) DuoVAE and (b) PCVAE. For (a) DuoVAE, each of the supervised latent variables (top 3 rows) captures the information of (scale, wall color, floor color), respectively, whereas the rest of the latent variables (bottom 4 rows) appear to have captured the rest of the information (e.g., rotation, shape, and object color) in an entangled way.
Fig. 13:

The heatmaps of the normalized mutual information between each of the properties (scale, wall color, floor color) and latent variables for 3dshapes dataset. DuoVAE attains higher mutual information scores compared to PCVAE, which suggests that the performance of DuoVAE is comparable to the other recent models, though having relatively simpler architecture and implementation.
6.4.2. 3dshapes dataset
Similar to the quantitative evaluation results on the dSprites dataset in Fig. 7–8, we provide the heatmaps of normalized mutual information (Fig. 13) and the visualizations of latent variable traversing (Fig. 12) on the 3dshapes dataset for DuoVAE and PCVAE. The first 3 rows correspond to the size of the cube, the color of the wall, and the color of the floor. It can be seen that in PCVAE, the color of the cube is affected when the floor color changes, whereas in DuoVAE the color of the cube stays almost unchanged.
6.4.3. Ablation study
Hyperparameter tuning.
We investigate the impacts of the weight coefficients , and in the loss functions of DuoVAE (Eq. 2–3) on the performance of property-controlled data generation. We trained DuoVAE on 31k images of dSprites dataset randomly generated from uniformly sampled four independent latent properties: scale, x-position, y-position, and orientation. We supervised three of the properties for scale, x-position, y-position, respectively, and left orientation unsupervised. We experimented with and , conducting 12 independent trainings. The architecture used throughout the ablation study is provided in Table 4.
Table 4:
DuoVAE architecture for the ablation study on a subset of dSprites dataset.
| EncoderX | DecoderX | EncoderY{1,2,3} | DecoderY{1,2,3} |
|---|---|---|---|
| Conv2d(1, 32, 4, 2)-BN-ReLU | Linear(6, 32)-ReLU | Linear(1, 8)-ReLU | Linear(1, 8)-ReLU |
| Conv2d(32, 32, 4, 2)-BN-ReLU | Linear(32, 32)-ReLU | Liner(8, 2) | Linear(8, 1)-Sigmoid |
| Conv2d(32, 32, 4, 2)-BN-ReLU | Linear(32, 2048)-ReLU | ||
| Linear(2048, 32)-ReLU | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Linear(32, 32)-ReLU | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Linear(32, 12) | ConvTranspose2d(32, 32, 4, 2)-BN-ReLU | ||
| Conv2d(32, 1, 4, 2) |
Fig. 14:

Data generation while traversing three properties {y1, y2, y3} = {scale, x-position, y-position}, one at a time for each of the 12 parameters sets .
In the generation process, latent variables are encoded using the encoder of the main VAE given a test image ; then, each of the ground truth properties is traversed one at a time from its minimum to maximum values while keeping constant. For each generation, the encoder of the auxiliary VAE encodes a new set of latent variables from different values of . Then, the decoder of the main VAE generates a new image from . All models were trained for 4k epochs with a learning rate of 0.001 and batch size of 1024. Moreover, (Eq. 4) was used for all models.
The result is shown in Fig. 14. Each of the 12 sub-panels consists a set of traverses corresponding to a combination of whose values are provided in the and axis label, respectively. Hypothetically, the three properties scale, x-position, y-position can be controlled via the supervised variables , respectively, while the latent variables capture all the other information (e.g., orientation).
For -VAE (Higgins et al., 2017), the hyperparameter balances latent channel capacity and reconstruction fidelity. Similarly for DuoVAE, and create a trade-off between the data generation controllability and fidelity. For larger values of , the data controllability is presumably decreased as the result of a decreased latent channel capacity of ; this is shown in the sub-panels in the columns of and where traversing of and did not effectively change the and positions, respectively. Moreover, data fidelity is decreased for larger values of by which the generated images in the row of appear more blurry than the rows of and . Note that both the data generation controllability and fidelity deteriorate for large values of and as shown in the sub-panel at . The optimal values of and were both around or slightly larger than 1, which achieved both the data generation controllability and fidelity as shown in the sub-panel at .
Data augmentation ratio.
We present the impacts of different ratios of synthetic training on the final fiber centerline extraction performance. The same augmentation procedure in Sec. 4.1 was used for synthesizing the training data and generating 1,188, 4,752, and 10,692 synthetic crops, corresponding to augmented-original data ratios of 2×, 5×, and 10×, respectively, combined with the original 1,188 annotated based crops. The centerline extraction network was trained using each of the original and augmented datasets separately and evaluated on the 199 test crops described in Sec. 4.3.
The evaluation result is shown in Fig. 15, where the dots indicate the means of values in the 5-95 percentile range, and the downward/upward arrows indicate whether the smaller/larger metric is better for each property. In general, the centerline extraction results are improved when more synthetic training data is included. However, each training epoch will take a longer time to finish due to the increased amount of training data. Among the properties of interest, circular variance, density, waviness, fiber length variance, and soft-IoU benefit more from the augmented training data. This is consistent with the observation mentioned earlier since these properties have relatively large error scales. Considering a trade-off between training time and performance, an augmentation ratio of 5× was used in the comparisons to the baselines.
Fig. 15:

The evaluation result of the collagen fiber centerline extraction network (Stage III) trained on the original 1,188 annotated base crops combined with 2×, 5×, and 10× augmented synthetic training crops, respectively. The dots indicate the means of values in the 5-95 percentile range, and the downward/upward arrows indicate whether the smaller/larger metric is better for each property. All models were trained with batch size 64 for 20k epoch
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
Declaration of interests
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- Ajeti V, Nadiarnykh O, Ponik SM, Keely PJ, Eliceiri KW, Campagnola PJ, 2011. Structural changes in mixed col i/col v collagen gels probed by shg microscopy: implications for probing stromal alterations in human breast cancer. Biomedical optics express 2, 2307–2316. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ali H, Murad S, Shah Z, 2023. Spot the fake lungs: Generating synthetic medical images using neural diffusion models, in: Artificial Intelligence an Cognitive Science: 30th Irish Conference, AICS 2022, Munster, Ireland, December 8–9, 2022, Revised Selected Papers, Springer. pp. 32–39. [Google Scholar]
- Bancelin S, Nazac A, Ibrahim BH, Dokládal P, Decencière E, Teig B, Haddad H, Fernandez H, Schanne-Klein MC, De Martino A 2014. Determination of collagen fiber orientation in histological slides using mueller microscopy and validation by second harmonic generation imaging. Optics express 22, 22561–22574. [DOI] [PubMed] [Google Scholar]
- Barcus CE, O’Leary KA, Brockman JL, Rugowski DE, Liu Y, Garcia N, Yu M, Keely PJ, Eliceiri KW, Schuler LA, 2017. Elevated collagen-i augments tumor progressive signals, intravasation and metastasis of prolactin-induced estrogen receptor alpha positive mammary tumor cells. Breast Cancer Research 19, 1–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bayramoglu N, Kaakinen M, Eklund L, Heikkila J, 2017. Towards virtual h&e staining of hyperspectral lung histology images using conditional generative adversarial networks, in: Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 64–71. [Google Scholar]
- Bengio Y, Courville A, Vincent P, 2013. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence 35, 1798–1828. [DOI] [PubMed] [Google Scholar]
- Best SL, Liu Y, Keikhosravi A, Drifka CR, Woo KM, Mehta GS, Altwegg M, Thimm TN, Houlihan M, Bredfeldt JS, et al. , 2019. Collagen organization of renal cell carcinoma differs between low and high grade tumors. BMC cancer 19, 1–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Boudaoud A, Burian A, Borowska-Wykret D, Uyttewaal M, Wrzalik R, Kwiatkowska D, Hamant O, 2014. Fibriltool, an imagej plug-in to quantify fibrillar structures in raw microscopy images. Nature protocols 9, 457–463. [DOI] [PubMed] [Google Scholar]
- Bredfeldt JS, Liu Y, Conklin MW, Keely PJ, Mackie TR, Eliceiri KW 2014a. Automated quantification of aligned collagen for human breast carcinoma prognosis. Journal of pathology informatics 5, 28. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bredfeldt JS, Liu Y, Pehlke CA, Conklin MW, Szulczewski JM, Inman DR, Keely PJ, Nowak RD, Mackie TR, Eliceiri KW, 2014b. Computational segmentation of collagen fibers from second-harmonic generation images of breast cancer. Journal of biomedical optics 19, 016007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Burgess C, Kim H, 2018. 3d shapes dataset. https://github.com/deepmind/3dshapes-dataset/.
- Campanella G, Hanna MG, Geneslaw L, Miraflor A, Werneck Krauss Silva V, Busam KJ, Brogi E, Reuter VE, Klimstra DS, Fuchs TJ, 2019. Clinical-grade computational pathology using weakly supervised deep learning on whole slide images. Nature medicine 25, 1301–1309. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chadebec C, Allassonnière S, 2021. Data augmentation with variational autoencoders and manifold sampling, in: Deep Generative Models, and Data Augmentation, Labelling, and Imperfections. Springer, pp. 184–192. [Google Scholar]
- Chadebec C, Thibeau-Sutre E, Burgos N, Allassonnière S, 2022. Data augmentation in high dimensional low sample size setting using a geometry-based variational autoencoder. IEEE Transactions on Pattern Analysis an Machine Intelligence. [DOI] [PubMed] [Google Scholar]
- Chambon P, Bluethgen C, Langlotz CP, Chaudhari A, 2022. Adapting pretrained vision-language foundational models to medical imaging domains. arXiv preprint arXiv:2210.04133. [Google Scholar]
- Chandler C, Liu T, Buckanovich R, Coffman LG, 2019. The double edge sword of fibrosis in cancer. Translational Research 209, 55–67. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chen D, Chen G, Jiang W, Fu M, Liu W, Sui J, Xu S, Liu Z, Zheng X, Chi L, et al. , 2019. Association of the collagen signature in the tumor microenvironment with lymph node metastasis in early gastric cancer. JAMA surgery 154, e185249–e185249. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chen RT, Li X, Grosse RB, Duvenaud DK, 2018. Isolating sources of disentanglement in variational autoencoders. Advances in neural information processing systems 31. [Google Scholar]
- Chen X, Nadiarynkh O, Plotnikov S, Campagnola PJ, 2012. Second harmonic generation microscopy for quantitative analysis of collagen fibrillar structure. Nature protocols 7, 654–669. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chlap P, Min H, Vandenberg N, Dowling J, Holloway L, Haworth A, 2021. A review of medical image data augmentation techniques for deep learning applications. Journal of Medical Imaging and Radiation Oncology 65, 545–563. [DOI] [PubMed] [Google Scholar]
- Conklin MW, Eickhoff JC, Riching KM, Pehlke CA, Eliceiri KW, Provenzano PP, Friedl A, Keely PJ, 2011. Aligned collagen is a prognostic signature for survival in human breast carcinoma. The American journal of pathology 178, 1221–1232. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Creswell A, Mohamied Y, Sengupta B, Bharath AA, 2017. Adversarial information factorization. arXiv preprint arXiv:1711.05175. [Google Scholar]
- Ding Z, Xu Y, Xu W, Parmar G, Yang Y, Welling M, Tu Z, 2020. Guided variational autoencoder for disentanglement learning, in: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7920–7929. [Google Scholar]
- Drifka CR, Loeffler AG, Mathewson K, Keikhosravi A, Eickhoff JC, Liu Y, Weber SM, Kao WJ, Eliceiri KW, 2016. Highly aligned stromal collagen is a negative prognostic factor following pancreatic ductal adenocarcinoma resection. Oncotarget 7, 76197. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Elbattah M, Loughnane C, Guérin JL, Carette R, Cilia F, Dequen G, 2021. Variational autoencoder for image-based augmentation of eye-tracking data. Journal of Imaging 7, 83. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fang M, Yuan J, Peng C, Li Y, 2014. Collagen as a double-edged sword in tumor progression. Tumor Biology 35, 2871–2882. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Foot NC, 1933. The masson trichrome staining methods in routine laboratory use. Stain technology 8, 101–110. [Google Scholar]
- Frid-Adar M, Diamant I, Klang E, Amitai M, Goldberger J, Greenspan H, 2018. Gan-based synthetic medical image augmentation for increased cnn performance in liver lesion classification. Neurocomputing 321, 321–331. [Google Scholar]
- Gershman S, Goodman N, 2014. Amortized inference in probabilistic reasoning, in: Proceedings of the annual meeting of the cognitive science society. [Google Scholar]
- Goodfellow I, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, Courville A, Bengio Y, 2014. Generative adversarial nets. Advances in neural information processing systems 27. [Google Scholar]
- Guo X, Du Y, Zhao L, 2020. Property controllable variational autoencoder via invertible mutual dependence, in: International Conference on Learning Representations. [Google Scholar]
- Hanley CJ, Noble F, Ward M, Bullock M, Drifka C, Mellone M, Manousopoulou A, Johnston HE, Hayden A, Thirdborough S, et al. , 2016. A subset of myofibroblastic cancer-associated fibroblasts regulate collagen fiber elongation, which is prognostic in multiple cancers. Oncotarget 7, 6159. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Higgins I, Matthey L, Pal A, Burgess C, Glorot X, Botvinick M, Mohamed S, Lerchner A, 2017. beta-VAE: Learning basic visual concepts with a constrained variational framework, in: International Conference on Learning Representations. [Google Scholar]
- Ho J, Jain A, Abbeel P, 2020. Denoising diffusion probabilistic models Advances in Neural Information Processing Systems 33, 6840–6851. [Google Scholar]
- Hoffman MD, Blei DM, Wang C, Paisley J, 2013. Stochastic variational inference. Journal of Machine Learning Research. [Google Scholar]
- Hosein AN, Brekken RA, Maitra A, 2020. Pancreatic cancer stroma: an update on therapeutic targeting strategies. Nature reviews Gastroenterology & hepatology 17, 487–505. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hou L, Samaras D, Kurc TM, Gao Y, Davis JE, Saltz JH, 2016. Patch-based convolutional neural network for whole slide tissue image classification, in: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2424–2433. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ilse M, Tomczak JM, Louizos C, Welling M, 2020. Diva: Domain invariant variational autoencoders, in: Medical Imaging with Deep Learning, PMLR. pp. 322–348. [Google Scholar]
- Isola P, Zhu JY, Zhou T, Efros AA, 2017. Image-to-image translation with conditional adversarial networks, in: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1125–1134. [Google Scholar]
- Jing Y, Yang Y, Feng Z, Ye J, Yu Y, Song M, 2019. Neural style transfer: A review. IEEE transactions on visualization and computer graphics 26, 3365–3385. [DOI] [PubMed] [Google Scholar]
- Joy T, Schmon S, Torr P, Siddharth N, Rainforth T, 2020. Capturing label characteristics in vaes, in: International Conference on Learning Representations. [Google Scholar]
- Junqueira LCU, Bignolas G, Brentani RR, 1979. Picrosirius staining plus polarization microscopy, a specific method for collagen detection in tissue sections. The Histochemical journal 11, 447–455. [DOI] [PubMed] [Google Scholar]
- Kalluri R, 2016. The biology and function of fibroblasts in cancer. Nature Reviews Cancer 16, 582–598. [DOI] [PubMed] [Google Scholar]
- Kartasalo K, Pölönen RP, Ojala M, Rasku J, Lekkala J, Aalto-Setälä K, Kallio P, 2015. Cytospectre: a tool for spectral analysis of oriented structures on cellular and subcellular levels. BMC bioinformatics 16, 1–23. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Keikhosravi A, Li B, Liu Y, Conklin MW, Loeffler AG, Eliceiri KW, 2020. Non-disruptive collagen characterization in clinical histopathology using cross-modality image synthesis. Communications biology 3, 1–12. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kim H, Mnih A, 2018. Disentangling by factorising, in: International Conference on Machine Learning, PMLR. pp. 2649–2658. [Google Scholar]
- Kingma DP, Ba J, 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 [Google Scholar]
- Kingma DP, Mohamed S, Jimenez Rezende D, Welling M, 2014. Semi-supervised learning with deep generative models. Advances in neural information processing systems 27. [Google Scholar]
- Kingma DP, Welling M, 2013. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114 [Google Scholar]
- Kingma DP, Welling M, 2019. An introduction to variational autoencoders. Foundations and Trends® in Machine Learning 12, 307–392. [Google Scholar]
- Klys J, Snell J, Zemel R, 2018. Learning latent subspaces in variational autoencoders. Advances in neural information processing systems 31 [Google Scholar]
- Koehler MJ, König K, Elsner P, Bückle R, Kaatz M, 2006. In vivo assessment of human skin aging by multiphoton laser scanning tomography. Optics letters 31, 2879–2881. [DOI] [PubMed] [Google Scholar]
- Kong HJ, Kim JY, Moon HM, Park HC, Kim JW, Lim R, Woo J, Fakhri GE, Kim DW, Kim S, 2022. Automation of generative adversarial network-based synthetic data-augmentation for maximizing the diagnostic performance with paranasal imaging. Scientific Reports 12, 18118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kwon GP, Schroeder JL, Amar MJ, Remaley AT, Balaban RS, 2008. Contribution of macromolecular structure to the retention of low-density lipoprotein at arterial branch points. Circulation 117, 2919–2927. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lattouf R, Younes R, Lutomski D, Naaman N, Godeau G, Senni K, Changotade S, 2014. Picrosirius red staining: a useful tool to appraise collagen networks in normal and pathological tissues. Journal of Histochemistry & Cytochemistry 62, 751–758. [DOI] [PubMed] [Google Scholar]
- Ledig C, Theis L, Huszár F, Caballero J, Cunningham A, Acosta A, Aitken A, Tejani A, Totz J, Wang Z, et al. , 2017. Photo-realistic single image super-resolution using a generative adversarial network, in: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4681–4690. [Google Scholar]
- Li B, Li Y, Eliceiri KW, 2021. Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning, in: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 14318–14328. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li B, Nelson MS, Savari O, Loeffler AG, Eliceiri KW, 2022. Differentiation of pancreatic ductal adenocarcinoma and chronic pancreatitis using graph neural networks on histopathology and collagen fiber features. Journal of Pathology Informatics 13, 100158. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Liu K, Shuai R, Ma L, et al. , 2021. Cells image generation method based on vae-sgan. Procedia Computer Science 183, 589–595. [Google Scholar]
- Liu X, Sanchez P, Thermos S, O’Neil AQ, Tsaftaris SA, 2022. Learning disentangled representations in the imaging domain. Medical Image Analysis, 102516. [DOI] [PubMed] [Google Scholar]
- Liu Y, Keikhosravi A, Mehta GS, Drifka CR, Eliceiri KW, 2017. Methods for quantifying fibrillar collagen alignment, in: Fibrosis. Springer, pp. 429–451. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Liu Y, Keikhosravi A, Pehlke CA, Bredfeldt JS, Dutson M, Liu H, Mehta GS, Claus R, Patel AJ, Conklin MW, et al. , 2020. Fibrillar collagen quantification with curvelet transform based computational methods. Frontiers in bioengineering and biotechnology 8, 198. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Locatello F, Bauer S, Lucic M, Raetsch G, Gelly S, Schölkopf B, Bachem O, 2019a. Challenging common assumptions in the unsupervised learning of disentangled representations, in: international conference on machine learning, PMLR. pp. 4114–4124. [Google Scholar]
- Locatello F, Tschannen M, Bauer S, Rätsch G, Schölkopf B, Bachem O, 2019b. Disentangling factors of variation using few labels. arXiv preprint arXiv:1905.01258. [Google Scholar]
- Maaløe L, Sønderby CK, Sønderby SK, Winther O, 2016. Auxiliary deep generative models, in: International conference on machine learning, PMLR. pp. 1445–1453. [Google Scholar]
- Makhzani A, Shlens J, Jaitly N, Goodfellow I, Frey B, 2015. Adversarial autoencoders. arXiv preprint arXiv:1511.05644. [Google Scholar]
- Mathieu E, Rainforth T, Siddharth N, Teh YW, 2019. Disentangling disentanglement in variational autoencoders, in: International Conference on Machine Learning, PMLR. pp. 4402–4412. [Google Scholar]
- Mathieu MF, Zhao JJ, Zhao J, Ramesh A, Sprechmann P, LeCun Y, 2016. Disentangling factors of variation in deep representation using adversarial training. Advances in neural information processing systems 29. [Google Scholar]
- Matthey L, Higgins I, Hassabis D, Lerchner A, 2017. dsprites: Disentanglement testing sprites dataset. https://github.com/deepmind/dsprites-dataset/.
- Máttyus G, Luo W, Urtasun R, 2017. Deeproadmapper: Extracting road topology from aerial images, in: Proceedings of the IEEE international conference on computer vision, pp. 3438–3446. [Google Scholar]
- Moreno-Barea FJ, Jerez JM, Franco L, 2020. Improving classification accuracy using data augmentation on small data sets. Expert Systems with Applications 161, 113696. [Google Scholar]
- Morrill EE, Tulepbergenov AN, Stender CJ, Lamichhane R, Brown RJ, Lujan TJ, 2016. A validated software application to measure fiber organization in soft tissue. Biomechanics and modeling in mechanobiology 15, 1467–1478. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nadiarnykh O, LaComb RB, Brewer MA, Campagnola PJ, 2010. Alterations of the extracellular matrix in ovarian cancer studied by second harmonic generation imaging microscopy. BMC cancer 10, 1–14. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ouellette JN, Drifka CR, Pointer KB, Liu Y, Lieberthal TJ, Kao WJ, Kuo JS, Loeffler AG, Eliceiri KW, 2021. Navigating the collagen jungle: the biomedical potential of fiber organization in cancer. Bioengineering 8,17. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Packhäuser K, Folle L, Thamm F, Maier A, 2022. Generation of anonymous chest radiographs using latent diffusion models for training thoracic abnormality classification systems. arXiv preprint arXiv:2211.01323. [Google Scholar]
- Paige B, van de Meent JW, Desmaison A, Goodman N, Kohli P, Wood F, Torr P, et al. , 2017. Learning disentangled representations with semi-supervised deep generative models. Advances in neural information processing systems 30. [Google Scholar]
- Pesteie M, Abolmaesumi P, Rohling RN, 2019. Adaptive augmentation of medical data using independently conditional variational auto-encoders. IEEE transactions on medical imaging 38, 2807–2820. [DOI] [PubMed] [Google Scholar]
- Pham TTA, Kim H, Lee Y, Kang HW, Park S, 2021. Deep learning for analysis of collagen fiber organization in scar tissue. IEEE Access 9, 101755–101764. [Google Scholar]
- Pinaya WH, Tudosiu PD, Dafflon J, Da Costa PF, Fernandez V, Nachev P, Ourselin S, Cardoso MJ, 2022. Brain imaging generation with latent diffusion models, in: Deep Generative Models: Second MICCAI Workshop, DGM4MICCAI 2022, Held in Conjunction with MICCAI 2022, Singapore, September 22, 2022, Proceedings, Springer. pp. 117–126. [Google Scholar]
- Plava J, Cihova M, Burikova M, Matuskova M, Kucerova L, Miklikova S, 2019. Recent advances in understanding tumor stroma-mediated chemoresistance in breast cancer. Molecular cancer 18,1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Provenzano PP, Eliceiri KW, Campbell JM, Inman DR, White JG, Keely PJ, 2006. Collagen reorganization at the tumor-stromal interface facilitates local invasion. BMC medicine 4, 1–15. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Quante M, Tu SP, Tomita H, Gonda T, Wang SS, Takashi S, Baik GH, Shibata W, DiPrete B, Betz KS, et al. , 2011. Bone marrow-derived myofibroblasts contribute to the mesenchymal stem cell niche and promote tumor growth. Cancer cell 19, 257–272. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rezakhaniha R, Agianniotis A, Schrauwen JTC, Griffa A, Sage D, Bouten C.v., Van De Vosse F, Unser M, Stergiopulos N, 2012. Experimental investigation of collagen waviness and orientation in the arterial adventitia using confocal laser scanning microscopy. Biomechanics and modeling in mechanobiology 11, 461–473. [DOI] [PubMed] [Google Scholar]
- Rich L, Whittaker P, 2017. Collagen and picrosirius red staining: a polarized light assessment of fibrillar hue and spatial distribution. Journal of morphological sciences 22, 0–0. [Google Scholar]
- Ronneberger O, Fischer P, Brox T, 2015. U-net: Convolutional networks for biomedical image segmentation, in: International Conference on Medical image computing and computer-assisted intervention, Springer. pp. 234–241. [Google Scholar]
- Sengupta S, Athwale A, Gulati T, Zelek J, Lakshminarayanan V, 2020. Funsyn-net: enhanced residual variational auto-encoder and image-to-image translation network for fundus image synthesis, in: Medical Imaging 2020: Image Processing, SPIE. pp. 665–671. [Google Scholar]
- Shin HC, Tenenholtz NA, Rogers JK, Schwarz CG, Senjem ML, Gunter JL, Andriole KP, Michalski M, 2018. Medical image synthesis for data augmentation and anonymization using generative adversarial networks, in: International workshop on simulation and synthesis in medical imaging, Springer. pp. 1–11. [Google Scholar]
- Shorten C, Khoshgoftaar TM, 2019. A survey on image data augmentation for deep learning. Journal of big data 6, 1–48. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Singh NK, Raza K, 2021. Medical image generation using generative adversarial networks: A review. Health informatics: A computational perspective in healthcare, 77–96. [Google Scholar]
- Sirinukunwattana K, Pluim JP, Chen H, Qi X, Heng PA, Guo YB, Wang LY, Matuszewski BJ, Bruni E, Sanchez U, et al. , 2017. Gland segmentation in colon histology images: The glas challenge contest. Medical image analysis 35, 489–502. [DOI] [PubMed] [Google Scholar]
- Sneider A, Kiemen A, Kim JH, Wu PH, Habibi M, White M, Phillip JM, Gu L, Wirtz D, 2022. Deep learning identification of stiffness markers in breast cancer. Biomaterials 285, 121540. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Song J, Meng C, Ermon S, 2020. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502. [Google Scholar]
- Steger C, 1998. An unbiased detector of curvilinear structures. IEEE Transactions on pattern analysis and machine intelligence 20,113–125. [Google Scholar]
- Tomko LA, Hill RC, Barrett A, Szulczewski JM, Conklin MW, Eliceiri KW, Keely PJ, Hansen KC, Ponik SM, 2018. Targeted matrisome analysis identifies thrombospondin-2 and tenascin-c in aligned collagen stroma from invasive breast carcinoma. Scientific reports 8, 1–11. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Valkenburg KC, De Groot AE, Pienta KJ, 2018. Targeting the tumour stroma to improve cancer therapy. Nature reviews Clinical oncology 15, 366–381. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Walsh AJ, Cook RS, Lee JH, Arteaga CL, Skala MC, 2015. Collagen density and alignment in responsive and resistant trastuzumab-treated breast cancer xenografts. Journal of biomedical optics 20, 026004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wershof E, Park D, Barry DJ, Jenkins RP, Rullan A, Wilkins A, Schlegelmilch K, Roxanis I, Anderson KI, Bates PA, et al. , 2021. A fiji macro for quantifying pattern in extracellular matrix. Life science alliance 4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Xu S, Wang Y, Tai DC, Wang S, Cheng CL, Peng Q, Yan J, Chen Y, Sun J, Liang X, et al. , 2014a. qfibrosis: a fully-quantitative innovative method incorporating histological features to facilitate accurate fibrosis scoring in animal model and chronic hepatitis b patients. Journal of hepatology 61, 260–269. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Xu T, Vavylonis D, Huang X, 2014b. 3d actin network centerline extraction with multiple active contours. Medical image analysis 18, 272–284. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Xu T, Vavylonis D, Tsai FC, Koenderink GH, Nie W, Yusuf E, Lee IJ, Wu JQ, Huang X, 2015. Soax: a software for quantification of 3d biopolymer networks. Scientific reports 5, 1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Xue Y, Ye J, Zhou Q, Long LR, Antani S, Xue Z, Cornwell C, Zaino R, Cheng KC, Huang X, 2021. Selective synthetic augmentation with histogan for improved histopathology image classification. Medical image analysis 67, 101816. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yu Y, Wang J, Ng CW, Ma Y, Mo S, Fong ELS, Xing J, Song Z, Xie Y, Si K, et al. , 2018. Deep learning enables automated scoring of liver fibrosis stages. Scientific reports 8, 1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhang TY, Suen CY, 1984. A fast parallel algorithm for thinning digital patterns. Communications of the ACM 27, 236–239. [Google Scholar]
- Zhao Q, Adeli E, Honnorat N, Leng T, Pohl KM, 2019. Variational autoencoder for regression: Application to brain aging analysis, in: International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer. pp. 823–831. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhuang P, Schwing AG, Koyejo O, 2019. Fmri data augmentation via synthesis, in: 2019 IEEE 16th International Symposium on Biomedical Imaging (ISBI 2019), IEEE. pp. 1783–1787. [Google Scholar]
