{'fraction_non_alphanumeric': 0.03286735939797164, 'fraction_numerical': 0.018215344745956992, 'mean_word_length': 5.2027820710973725, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A massively multi-scale approach to characterising tissue architecture by synchrotron micro-CT applied to the human placenta

Multi-scale structural assessment of biological soft tissue is challenging but essential to gain insight into structure-function relationships of tissue/organ. Using the human placenta as an example, this study brings together sophisticated sample preparation protocols, advanced imaging, and robust, validated machine-learning segmentation techniques to provide the first massively multi-scale and multi-domain information that enables detailed morphological and functional analyses of both maternal and fetal placental domains. Finally, we quantify the scale-dependent error in morphological metrics of heterogeneous placental tissue, estimating the minimal tissue scale needed in extracting meaningful biological data. The developed protocol is beneficial for high-throughput investigation of structure-function relationships in both normal and diseased placentas, allowing us to optimise therapeutic approaches for pathological pregnancies. In addition, the methodology presented is applicable in characterisation of tissue architecture and physiological behaviours of other complex organs with similarity to the placenta, where an exchange barrier possesses circulating vascular and avascular fluid spaces.


I. INTRODUCTION
Understanding complex vascular-rich organs such as the placenta has traditionally necessitated the adoption of multiple parallel imaging-based approaches, applied correlatively to gain structural and functional understanding of the tissue. These approaches generally require balancing resolution with sample volume. Structural analyses of placental vessels from whole organ or single villous branches have been conducted using multiple imaging modalities [1,2] including CT angiography [3], micro-CT [4,5], confocal laser scanning microscopy [6] and fluorescent CLSM [7]. Each of these methods has positives and negatives associated with it, however, none of them provide access to 3D micro-structures in situ, at high enough resolution to resolve the blood vessels, or functional units of the placenta, and still provide contextual information of the tissue.
Segmenting biological image data is a major challenge due to the structural complexity and intra/inter sample heterogeneity [8,9]. Manual segmentation is commonly used for biological data segmentation, however, as the number and size of datasets increases this approach has become increasingly impractical [10]. Thus, an automatic or semi-automatic segmentation algorithm with high accuracy is required for high throughput segmentation of biological structure.
As one of the most complex vascular organs of the human body, the placenta is a well-suited model system for development of 3D imaging pipelines. The human placenta is an exchange organ with a large surface area of the feto-maternal interface packed in a relatively small volume, and an extensive feto-placental vascular network [11]. Its tightly integrated structural constituents span the spatial range from ∼10 -6 -10 -1 m, necessitating a truly massive multi-scale imaging modality. Thus, new experimental and theoretical approaches are needed to bridge the microstructure of the placental exchange barrier and its macroscopic organ-level function, including the three-dimensional characterisation of the mesoscopic (between ~0.1-1 mm) tissue domain [1,11].
In this study, synchrotron X-ray imaging is used in combination with various sample processing conditions, including tissue contrast agents, vascular cast resins, fixation and embedding methods to generate high resolution massively multi-scale datasets of the human placenta. We then apply machine learning-based segmentation techniques for robust and efficient decomposition of maternal and fetal micro-domains in the large (≈8 mm 3 ) datasets.
Finally, spatial statistics and flow simulations of the feto-placental vascular network and associated intervillous porous space of the placental tissue are presented, and the results are validated against other modalities such as traditional 2D stereology analysis and in vivo magnetic resonance imaging.
The developed protocols for 3D multi-domain characterisation of tissues presented here, using the human placenta as an example, will enable more direct hypothesis-testing of the structure-function relationship in other organs where there are complex physiological fluidic/exchanger systems, such as in the kidney, lung, lymphatics, spleen, central nervous system, gut, bone-marrow and in wound healing and tumour biology.

A. Morphological study of mesoscopic placental tissue (i). Comparative analysis of tissue preparation for X-ray micro-tomography (micro-CT) of complex soft tissues
Preparation of placental specimens for synchrotron micro-CT requires careful fixation, perfusion, staining and dehydration/embedding ( Figure S1). Here we apply and qualitatively evaluate various specimen preparation methods to successfully image the complex architecture of human placenta ( Figure 1). Tissue zinc-based fixative Z7 applied to all specimens provides tissue contrast when in-line phase contrast synchrotron imaging is performed ( Figure S2). Specimen 2 ( Figure S2A, D, G-J), fresh frozen by plunging in liquid nitrogen, preserves the physiological structures. Placental architectures, including a well resolved syncytiotrophoblast, blood vessels, capillaries, red blood cells and stroma can be differentiated in the 2D cross sectional and 3D rendered images. The syncytiotrophoblast appears as a thin (~3 µm) envelope around an intermediate villous ( Figure 2G). It is also  Figure S2L. From here, a machine-learning algorithm (U-Net) can be applied to segment and quantify the intervillous space (IVS) but not the vascular network or the stroma. Additional staining with 1% phosphotungstic acid (PTA) solution can further enhance the contrast for stroma ( Figure S2F; Specimen 4) making it segmentable. PTA solution has low viscosity and so infiltrates into the IVS but takes several days (3 days for an 8 mm3 sample) to provide good contrast and signal-to-noise.
In order to confidently segment the complex 3D vascular network resin infiltration casting via the fetal villi network is required to give sufficient contrast and phase differences. Specimens 1 ( Figure S2C) and 3 ( Figure S2B, E, K-L) were Zinc-7 fixed and perfused via the fetal side with casting resins (Batson's and Yasuaki's resins for Specimen 1 and 3, respectively), then ethanol dehydrated and wax-embedded. Batson's contrast agent penetrates deeply into the fetoplacental circulation ( Figure S2C) but shrinks inside larger vessels and possibly over-inflates smaller vessels, due to the high exertion force needed to infuse the resin via the fetal arterial cannula. Yasuaki's resin is less viscous and highly has high X-ray attenuating than Batson's and shrinks less, thereby likely better preserving vessel diameters. Both agents give good contrast to highlight the fetal lumen ( Figure S2B, C). The viscosity of both Batson's and Yasuaki's reagents make them unfavourable for infusion into the IVS since filling is incomplete. Extent of tissue processing influences final architecture.
Ethanol dehydration and wax embedding (Specimen 3 and 4) may introduce tissue deformation, in particular the villous trophoblast appears to delaminate from the villi stroma ( Figure S2B, E). Tissue deformation occurred to much less extent with CP-dried specimens (Specimen 1; Figure S2C). Whilst, cryo-freezing seems to have caused syncytiotrophoblast shedding to occur, but overall it has preserved the morphology of specimens more than the other methods. However, synchrotron micro-CT imaging of cryo-frozen specimens requires a cryo-stream or cold stage to maintain the specimen at cryo-condition during scanning. Figure S1A provides a summary of various sample processing conditions tested here and a flow chart ( Figure S1B) that recommends appropriate processing pipelines to resolve the multiscale structures in the placenta.

(ii). Characterisation of feto-placental vascular network in 3D
Feto-placental vascular network and porous materno-placental tissue domain were quantified in 3D for Specimen 1 (normal) and Specimen 2 (pregnancy with fetal growth restriction, FGR). The scanned 9 mm3 cubed samples generated ≈ 8 mm 3 of digital 3D data.
The entire volume (14.2 billion voxels) was segmented and analysed to identify placental tissue architecture across multiple scales (Figure 1 and Supplementary Video 1). A disambiguated 3D rendering ( Figure 1B Once the complex tissue was segmented, multiple data analysis pipelines and simulations could be run, across the imaging scales. Figure  3) for a single connected tree. A limitation in the current analysis is that skeletonization and quantification of blood vessels for the entire network ( Figure 2A) was carried out on down-sampled image data due to computational limitations. Therefore, the measurements from the entire vascular network are likely to be less accurate in comparison to those from the single connected tree, where the full resolution data was used.

B. Characterisation of the porous materno-placental tissue domain in 3D
To characterize the maternal blood porous space, the centre region of the scan, ≈1.8 mm 3 from the entire data set (see supplementary Figure S3A) and the porous space that encompasses the single connected tree (from Figure 2C   The connectivity of the IVS domain was also explored as a function of the minimal porethroat diameter needed to connect a random central pore to the periphery of the domain ( Figure S6A-F). Such critical diameter was found to be just about 25% of the pore size, pointing to a highly connected IVS that facilitates flow-limited transport at the tissue mesoscale of ~1 mm (see S8 in the Supplementary Text for more details).

D. Uncertainty quantification and scale-dependence of morphological metrics
Placental tissue area fraction fluctuates across the 3D volume in both specimens. Based on the central tissue region (≈1.8 mm 3 ), the area fraction of Specimen 1 ranges from 0.54-0.73 (mean: 0.64) and that of Specimen 2 ranges from 0.58-0.71 (mean: 0.65; see Figure 4A and Supplementary Figure S7A, B). The tissue volume fractions for Specimens 1 and 2 are 0.64 and 0.65 respectively. Figure 4B shows how the standard deviation of the volume fraction decreases with increasing ROI size (see also Figure S7C). The scale-dependent error in fetal tissue volume fraction, specific surface area ( Figure 4C) and the 2-point correlation function vs. distance for both specimens ( Figure 4D) are also presented. Figure 4C illustrates that the relative magnitude of fluctuations in both the tissue volume fraction and specific surface area fall approximately inversely proportional to the square root of the ROI volume (σ/μ ∼ VROI −1/2 ) for the sufficiently large ROI size (compared to the characteristic lengthscale λ ∼ 200 μm; see Figure 4D and Table 1). This is in agreement with theoretical predictions for a generic porous medium (see S9 in the Supplementary Text for more details). Thus, to reduce the estimation error in morphological metrics by a factor of 2, a four-fold increase in the ROI volume is required. For smaller ROI volumes (i.e. when the ROI size is less than ca. 200 μm), the morphometric fluctuations are even more sensitive to the measurement scale.
Three-dimensional (3D) morphometrics were also compared to the estimates based on twodimensional (2D) 'virtual' stereology ( Figure S8) on the same dataset to cross-validate the estimated tissue volume fractions and specific surface areas between these two approaches. Table 1 reports the villous tissue volume fraction and specific surface area for Specimen 2 estimated by traditional 2D stereology and 3D morphological analysis. Comparison to the direct 3D estimates (Table 1) shows good agreement for the volume fraction but an up to 40% relative difference for the specific surface area.  SD is shown with shaded lines); the corresponding approximate transition range to uncorrelated meso-scale (mean autocorrelation ≲ 1%) is shown as a grey stripe in C.

III. DISCUSSION
In this study, we present a novel approach to quantitatively characterise the 3D structure of complex mesoscale tissues using the human placenta as a model. We demonstrate how up to four orders of magnitude can be bridged in a single imaging dataset using synchrotron X-ray micro-tomography, and propose an optimized pipeline for tissue sample processing and image segmentation to robustly evaluate morphological data of complex vascular systems.
To our knowledge, this is the first study to characterise the maternal placental IVS porous region and to demonstrate the inter-relationship between maternal blood flow and fetal vascular network. Finally, we compare traditional stereological approaches with direct 3D structural analysis and quantify the scale-dependent fluctuations in common morphological metrics. The developed framework helps to identify a minimal characteristic size for heterogeneous placental and other complex soft tissues and provides the tools to control the associated uncertainties for robust and scalable predictions.
The placental specimens in this study were prepared using different tissue processing techniques (critical point (CP)-drying, fresh-frozen, wax-embedding) and perfused with different contrast agents (Batson's and Yasuaki's; Table S1). CP-dried and wax-embedded specimens showed more deformation and shrinkage of villous tissue in comparison to freshfrozen specimens that maintained the tissue at near-native anatomical condition. Among the three processing techniques, CP-dried specimens displayed the best image contrast between fetal tissue and maternal IVS ( Figure S2). Yasuaki's gave a superior contrast of the fetal vascular network than Batson's, meaning Yasuaki's-perfused specimens could be easily segmented with contrast-based image segmentation methods while Batson's-perfused specimens require more complex segmentation strategies. However, one drawback with Yasuaki's resin was lower perfusion efficiency which manifests as smaller arterioles and venules in the terminal capillaries. Sample processing must be considered in light of both the preservation of the region of interest, but also the downstream data analysis and segmentation strategy ( Figure S1A). In an ideal case ( Figure S1B, specimens would immediately be Z7 fixed, fetal network infiltrated with a resin, paraformaldehyde (PFA) fixed, and then cryo-frozen and micro-CT imaged under cryo-conditions. If a cryo-stage is not available then specimens should be ethanol dehydrated and CP-dried before imaging under ambient conditions. In order to segment the various structures a machine-learning algorithm (U-Net) should be employed. This proposed sample preparation and imaging pipeline would be applicable to other vascular-rich organs [13][14][15].
In recent years, automatic or semi-automatic segmentation methods using deep learning algorithms have become popular in the vascular biology [16] and placental biology fields [17]. Convolution neural networks (e.g. U-Net) have been successfully applied in segmenting various vascular systems including retina [18,19], brain [20], whole placental volume [21], and larger placental vessels [22]. Here for the first time, we apply a U-Net towards multidomain segmentation of the intricate fetal vascular network and maternal porous space, including terminal capillary loops where vessel diameters are smaller than 50 μm. The semiautomatic algorithm used here requires a minimal amount of training data (≈1% of entire volume). The most striking aspect of the U-Net segmentation is the detection of the smallest terminal capillaries, with diameters of the fixed tissue as small as ≈2.5 μm (IQR: 6.2-8.6).
These tiny terminal capillaries are exceedingly difficult to segment manually, so their presence in the U-Net segmentation provides a less time-consuming and more consistent method for their inclusion in analyses.
The U-Net predictions were assessed by dice score coefficient, a commonly used voxel-based validation metric for image segmentation algorithms [23]. Using the dice score, comparisons between multiple manual expert segmentations of complex, biological components have varied between ≈0.27 and ≈0.69 [24]. When comparing the U-Net segmentations to expert manual validation segmentations, the dice scores for vascular and tissue regions are 0.8 and 0.9 respectively ( Figure S9). There are, however, some artefacts present in the U-Net segmentation (mislabelling of maternal porous region as fetal tissue) that could lead to overestimation of the surface area of fetal tissue. In addition, the current U-Net model was not able to generalize across datasets, instead requiring manual training data from each individual dataset. This may be due to the variation in specimen processing and imaging, which manifested significantly different appearances in the final datasets.
Understanding the structural development of the placenta is critical since the common pregnancy disorders FGR and pre-eclampsia are associated with impaired development of the placental vascular network [25,26]. The human placenta is hemochorial and possesses a dual blood supply; maternal and fetal circulations are separated, but work collaboratively as a multi-villous exchange system [27]. Defects in either supply could impair nutrient and gaseous exchange. Here, we have quantified the continuous fetal vascular networks from a ≈8 mm 3 placental tissue block capturing the transition from the micro-to meso-scale, with the size range of blood vessels and intervillous pores of the order of 10-1000 µm (Figure 2).
In order to appreciate the spatial inter-relationship between these two circulations, we have visualized the maternal flow intertwined with the fetal vascular network ( Figure 3C). We simulated maternal blood flow in a large portion of the segmented intervillous pore space for a fixed pressure gradient of ~10 Pa/mm within placental tissue [28,29]. The predicted flow had an exponential distribution of velocities, typical for a random porous medium [30], with the range of ≈0-2 mm/s. This is consistent with previous MRI in vivo estimations that reported regions of slow (< 0.5 mm/s) and fast (> 1 mm/s) blood flow [31]. Furthermore, our results suggest a new hypothesis that local IVS pore sizes influence nutrient and gaseous exchange efficacy. Future studies are needed to identify whether IVS porosity spatially correlates with the calibres and orientation of associated villous microvessels, and to determine the extent of maternal-fetal placental flow matching. The impact of villous tissue compliance on flow distribution in the IVS, particularly, in the proximity of decidual arterial inflows, also warrant further investigation.
With the intention of understanding the normal physiological blood flow and deviations occurring in diseased pregnancies, numerous mathematical and computational models have been developed and attempt to replicate the utero-placental circulations [11,[32][33][34]. A particular challenge is the geometric complexity of intervillous maternal porous regions which are difficult to characterize [33]; therefore, there is a lack of knowledge on placental porous structure. Porosity within human tissues has been extensively investigated in bone and other soft tissues (e.g. adipose tissue) from the perspective of tissue engineering [35][36][37][38]. Nonetheless, the placental maternal IVS porous medium has been less well studied.
Here, we have quantified the size of porous regions, the connecting throats between individual pores, and the length of connecting throats. Moreover, we report the number of coordination for individual pores, and also visually examine the connectivity by thresholding the size of connected regions ( Figure S6). Both qualitative and quantitative analyses suggest that the maternal porous space is highly connected and there is no unconnected, isolated porous region. The minimal diameter of throat is 0.86 μm (IQR: 14.4-43.6), in line with the average thickness of a human red blood cell (0.8-1 μm), indicating blood flow could occur throughout the porous medium with some impedance [39]. However, the resistance to IVS flow would vary depending on the length and diameter of connecting throats/pores, suggesting a potential explanation for the heterogeneous maternal flow velocity reported in [29] and also in our flow simulations.
Contrast imaging and mesoscopic flow analysis reported here could readily be applied to other organs where it is challenging to understand structure-function relationships when a fluid circulates around epithelia or where flow is not confined to a vascularised system. This type of anatomy can be found in the intestine and the central canal of the spine. In the gut, uptake of nutrients and therapeutic compounds occur from the crypts of the jejunum lumen, passing into the systemic circulation having traversed associated villi. The crypt lumen has been observed to become vacuolated following chemotherapy, altering their porosity, which is hypothesised to affect the efficacy of nutrient and therapeutic uptake [40]. In a second example, the motile cilia of the spinal cord central column and brain generate an efficiency of cerebrospinal fluid flow that is sensed and regulates structural modelling of the shape of an organism during embryonic development [41]. Thus, the workflow we have developed could provide anatomical insights on tissue structure and function in homeostasis and pathology.
It is important to note that the pore diameters measured here could be influenced by the flow and the hydrostatic pressure within the IVS during perfusion fixing, compared to nonperfusion fixed tissue, where villous and IVS deflation could occur [42]. Following partum, the placenta collapses and loses a significant volume of maternal blood from the IVS.
However, a more physiological pressure and flow within the IVS in vivo can be recapitulated during ex vivo dual perfusion of the human placenta, yielding a more normal spatial arrangement of villi compared to the arrangement produced by the direct immersion fixing of deflated placental material. Consequently, most historic stereological analyses have likely under-estimated the volume fractions of the IVS in this tissue [42]. In turn this will have led to an under-representation of pore size diameter and connectivity characteristics. However, potential confounders of the ex vivo perfusion model relate to an artificial rheology, created by a blood-free environment, with some compromise in viscosity linked to altered shear stress within the two circulatory systems. One unresolved question is how to determine the tissue sample size required to accurately obtain statistically-representative data. This is particularly true for placental tissue due to its inherent heterogeneous nature. While it is true that the larger the tissue section, the more information one can retrieve, using a largesized sample comes with technical and economic burdens. Therefore, systematically characterising the minimal tissue size that could provide adequate information with the least error is advantageous. Using uncertainty quantification and scale-dependence of morphological metrics applied to a variety of placental tissue samples, we identified a transition from microscopic fluctuations to tissue-scale properties at the mesoscale of ~200 μm (Table 1). Thus, the smallest ROI volume required, without failing to comprehend the heterogeneous nature of the finest features of exchange villi in placental tissue, is of the order of magnitude of 0.1 mm 3 (see Figure 4). Although, this smallest cut-off point might vary in other tissues with different geometric properties (e.g. larger blood vessels), the generic scale-dependence of the magnitude of 3D morphometric fluctuations (inversely proportional to the square root of the ROI volume, extending the results of [43]) is shown to be sufficiently universal for a wide class of porous media found in biological solute and gas exchangers. Future work is needed to further refine and extend the developed framework to placental pathologies and to other organs.
In conclusion, this paper offers both a novel approach and a validated workflow for massively multi-scale characterization of soft tissues with complex vascular networks. In addition, several detailed morphology and functional characteristics of our chosen model tissue, placenta, have been analysed in 3D. In future, these methods could be used to explore underlying causes of disease and inform potential future treatments. This approach was enabled by a combination of innovative sample preparation, advanced synchrotron-based imaging, and state-of-the-art segmentation algorithms that bridge the gap of previously disconnected characterisation strategies using traditional X-ray tomography and angiography (cf. Figure 1A), light microscopy (cf. Figure 1B) and confocal or electron-microscopy (cf. Figure 1F). In the placental research arena the data generated here represents, for the first time, a multi-scale approach applied to characterise the architecture of both maternal and fetal domains by synchrotron micro-CT. Additionally, the recommendations provided for future researchers should allow translating the workflow to quantify structures in other complex, soft tissues.

Ex vivo placental perfusion and preparation of tissue blocks
Ex vivo dual perfusion of human placental cotyledons was conducted as previously described [42] from two pregnancies complicated by FGR and two from uncomplicated pregnancies (see Table S1). Briefly, placentas were collected within 30 minutes of delivery and the chorionic plate artery and vein corresponding to an intact cotyledon were each cannulated. Various contrast reagents were infused into the fetal or maternal circulatory compartments (Table S1).
Colloidal dispersion of NiAl layered double hydroxide (LDH) "Yasuaki" resin was prepared following our previous report [45]. Briefly, NiCl2·6H2O and AlCl3·6H2O were dissolved in a mixture of EtOH and ultra-pure water followed by the addition of acetylacetone (acac). To this mixture, propylene oxide (PO) was added as an alkalization agent [46] and the container was sealed and kept at a room temperature (RT ∼20 C). The obtained suspension was kept The postperfusion fixed and post-contrast-infused cotyledon was excised from the nonperfused tissue and a 5 mm vertical slice of the cotyledon, adjacent to the inflow locus of the maternal cannula, was dissected from the cotyledon and fixed in a PFA fixative overnight to stiffen and further preserve the tissue. In all cases, following PFA diffusion fixing, 5 mm sized cubes were dissected from the vertical tissue sections and stored in sterile PBS. In some cases, the small blocks were infused with a further contrast agent, phosphotungstic acid (PTA), for several days or hours. In other cases, the cubes underwent CP-drying using an E3100 Critical Point Dryer (Quorum, UK), following manufacturer's instructions, and dipped into liquid nitrogen to freeze fracture a 3 x 3 mm 2 cross-sectional sample for imaging, or prior to wax embedding.
The methods for processing whole-organ vascular casts (see Figure 1A) were as previously described [5].

3D tomographic imaging
At the Diamond Light Source (DLS) facility (Harwell, UK; Manchester Imaging Branchline, I13-2), in-line high-resolution synchrotron-sourced phase contrast micro-computed X-ray tomography was used to generate images, following various methodologies to optimise image quality and feature extraction [47,48]. Briefly, micro-computed tomography employed filtered (1.3 mm pyrolytic graphite and 3.2 mm Al filters) polychromatic X-ray beams with energy in the range of 8−30 keV to probe the samples. Transmitted X-rays produce visible light on striking a scintillator (500 μm thick CdWO4) positioned between 60-100 mm away, in-line with the sample. The light was then magnified with various objectives and imaged on a sCMOS (2560x2160 px) detector (pco.edge 5.5; PCO AG, Germany). Optical magnification of 8x was employed resulting in an effective isotropic px size of 0.81 μm. In total, 3001−4001 X-ray projections were recorded over 0−180° rotation using exposure times between 80-200 ms. Projections were reconstructed into 3D datasets using a filtered-back projection algorithm [49] incorporating dark-and flat-field correction, ring artefact suppression and lens-blurring [50,51].
Samples (3x3x3 mm3 cubes) were prepared following various methodologies (see above and Table S1) to optimise image quality and feature extraction.
These segmented regions along with the corresponding image data were then used to train two separate 2D U-Net models for binary segmentation [54]. All aspects of model construction, training and data prediction were done using the fastai deep learning Python library [55]. The U-Net model architecture used a ResNet34 [56] encoder that accepts images of size 256×256 px and that had been pre-trained on the ImageNet dataset [57]. To overcome the issues of using a 2-dimensional network to predict 3-dimensional segmentation, a data-averaging approach was developed. To generate the vascular network and maternal/fetal blood volume segmentations for the full 2520×2520×2120 px (2.05x2.05x1.72 mm) data, the image data volume was sliced into three stacks of 2dimensional images parallel to the xy, xz and yz planes. The corresponding segmentation for each of these image stacks was predicted before being recombined back into a 3-dimensional dataset, thereby producing 3 separate segmented volumes. The image data volume was then rotated by 90 degrees around the 4-fold symmetry axis running perpendicular to the xy plane and the entire slicing and prediction process was repeated again. After 4 cycles of this process, the resulting 12 segmented volumes were summed and a final segmentation produced by applying a threshold to the data where there was agreement between 6 and more of the predictions in the case of the maternal/fetal blood volumes and between 9 and more of the predictions in the case of the blood vessels.
To segment the fetal tissue components from Specimen 2, the central region of the full resolution dataset (2520x2520x2120 px = 2.05x2.05x1.72 mm) was cropped to obtain a volume of 1500x1500x1500 px (1.22x1.22x1.22 mm) (see Supplementary Figure S3A), which was then down-sampled to obtain a volume of 750x750x750 px. This down-sampled, cropped volume was then split into eight sub-volumes, each of which were manually segmented using SuRVoS (Supplementary Figure S3B to S3D).
Segmentation and analysis along with U-Net training and prediction were carried out on a High-Performance Computing Cluster node. The node had two Intel® Xeon® Gold 6242R Processors each with 20 cores running at 3.1 GHz, and 768 GiB of system memory. The GPU used was an NVIDIA Tesla V100 with 32 GB of available memory.

C. Validation of semi-automated segmentation by U-Net
To validate the U-Net prediction of fetal vascular network in Specimen 1, two different

D. CT-based stereology
Following synchrotron imaging of a placental block, capturing 2520×2520×2120 px 3 tissue (approximately 8 mm 3 ) at ≈80 μm slice intervals with an image resolution of 0.8125 μm/px, systematic analysis of villous volume density and syncytiotrophoblast surface density was performed using a traditional stereology method, as described previously [58,59]. Every 100 th image taken was imported into Image J software [60], providing 22 images in total ( Figure S8A).
Within each image, a smaller 1800×1800 px 2 field of view (FOV) was generated systematically ( Figure S8B). A grid of 11x11 dots was superimposed on the FOV. The number of grid points hitting the villi and IVS was scored and the volume density of each of these morphological features was assessed using where VV is the volume fraction of the feature of interest, Pp is the number of points that hit features of interest, and Pn is the total number of test points in the grid [59].
From each synchrotron image, a smaller 543×543 px 2 field of view (FOV) was generated systematically ( Figure S8C). A grid of 10x10 crosses (line length: 12 μm) was superimposed onto the FOV. In processing for surface density estimation, line intersects with the syncytiotrophoblast were scored (N = 100 intersects per image, N = 22 images). The horizontal lines were used as intercepts to estimate the specific surface area of syncytiotrophoblast SV (syn) within tested volume: where IL is the intersection count fraction (the number of intersections with the villous boundary per unit length of test line) [61].

E. 3D morphological analysis
The structure of the fetal vascular network (Specimen 1) was analysed using Avizo software 2020.1 (Thermo Fisher Scientific). Using the 'Centreline tree' module which extracts the center lines of labelled 3D image volume as described in [62], the vascular network was skeletonized from placental tissue from the entire dataset of ≈8 mm 3 ( Figure 2A) and a small cropped region of ≈0.2 mm 3 ( Figure 2B). The vascular branching structure (length, diameter and tortuosity) of the entire network and a single connected tree inside the small cropped region was analysed. Only vessels with a diameter ≥3 px (2.4 μm) were included since the vessels smaller than this could not be resolved.
To evaluate the size and connectivity of the porous region (maternal IVS), the 'Separate objects' module (Avizo 2020.1) using a watershed method [63,64] was employed on the labelled 3D image volume to separate the porous regions ( Figure 2F). Afterwards, the 'Pore Network Model' module (Avizo) [62][63][64] was applied to generate the spheres at separated porous regions. The centre of two spheres were connected by 'throat' (a throat is a region that connects two individual pores) ( Figure 2G).
In analysing the maternal porous region, the central placental tissue region of ≈1.8 mm 3 (see supplementary Figure S3A) and the porous region that encompasses the single connected tree (from Figure 2C) were used. Distributions of diameters of pores and throat, length of throat and number of pore coordination (how many pores are connected to an individual pore) were analysed to characterize the placental porous medium.
The tortuosity of porous regions was analysed using the 'Flow tortuosity' module (Avizo) which computes the tortuosity based on the flow velocity vector field (the output of the 'Absolute Permeability Experiment Simulation' module [62,63]). The flow velocity vector was calculated using a fixed pressure drop across the domain (see below for more details).
Porous tortuosity was computed with various minimal lengths and compared between Specimen 1 and 2.
Maternal blood flow into the IVS was simulated using the 'Absolute permeability experiment simulation' module (Avizo 2020.1) which solves Stokes flow in a segmented intervillous porous space geometry [62,63]. The simulation was performed on the small cropped region of ≈0.2 mm 3 (as described above). However, the dataset was downsampled (2x) as flow simulation on full resolution data would be computationally prohibitive. The simulations were done in three directions (x, y and z) across the tissue thickness of ≈500 μm (x and z directions) and ≈950 μm (y direction). Three simulations were performed with a fixed pressure gradient across the three principal directions (pressure drop of 10 Pa in the y, or 5 Pa in the x and z directions respectively, accounting for ≈1:2:1 (x:y:z) aspect ratio; i.e. ≈10 Pa/mm within tissue [28,29]). The other four domain boundaries (in the transverse to the applied gradient direction) were assumed impermeable in each simulation, and a no-slip flow condition was used at the fluid-solid interfaces. A constant blood viscosity of 0.003 Pa.s was assumed. The calculated net flow rate was used to estimate the empirical hydraulic permeability in each principal direction from Darcy's law [62].
The area and volume fraction of segmented fetal tissue components from Specimen 1 and 2 were analysed using the 'Volume fraction' module (Avizo 2020.1). The surface area of segmented fetal tissue components was analysed using the 'Label analysis' module (Avizo) which calculates the surface area of labelled regions from 3D image volume. The area fraction was analysed for individual slices. Volume fraction and surface area were analysed using different region of interest (ROI) sizes. To obtain the ROI cubes at different sizes, the tissue cubes with various x and y length and fixed z thickness (243.75 μm) were cropped without overlapping. For those ROI sizes with more than 1000 ROI cubes, a systematic random sampling method (picking n th ROI cubes) was used in order to get 1000 random ROI cubes for statistical analysis. For those ROI sizes with fewer than 1000 cubes, all ROI cubes were included. The analysis was done for both Specimen 1 and 2 and performed on the central tissue region (as shown in supplementary Figure S3A).

Statistical Handling
For the purposes of stereology, a systematic random sampling protocol was used, where every 100th image from a stack of 2120 images was analysed for volume fraction and specific surface area (N=22 fields of view).

Acknowledgments
Imaging was performed on the Branchline I13-2 of the Diamond Light Source synchrotron in Oxfordshire, UK, on beamtimes MG23941 and MG22562. The authors would like to thank beamline scientists Dr Andrew Bodey and Dr Shashi Marathe and collaborators Dr Saurabh Shah and Prof Peter D. Lee (University College London) for providing access to the cold-stage and assistance with setting up. We also thank Dr James Carr, Dr Tristan Lowe, Dr Kerstin Schirrmann, Ms Ruth Whelan-Jeans and Ms Saskia Port (University of Manchester) for their help with pre-synchrotron optimisation of micro-CT protocols and image analysis.

Author Contributions
WMT performed 3D image segmentation, data analysis and simulations, created movies and wrote the manuscript.
GP contributed to project design, data collection and data analysis, proposed optimised pipeline for specimen preparation and data segmentation and wrote the manuscript.
GN and HB refined and performed the perfusion and specimen collection, processed tissue and prepared blocks for imaging, and performed stereological analysis.
ONFK developed the U-Net segmentation algorithm and wrote the manuscript.
MB supervised development of U-Net segmentation algorithm, data segmentation, data analysis and movie creation.
YT developed and manufactured Yasuaki's resin.
RML and EDJ contributed to the interpretation of results and provided critical feedback to shape the research, and wrote the manuscript.
PB conceived and designed the project, performed tissue sample collections, sample preparations and stereological analysis, contributed to the interpretation of the results, provided critical feedback, supervised the project and wrote the manuscript.
MCD supervised image segmentation, data analysis and simulations, contributed to the interpretation of the results, provided critical feedback, supervised the project and wrote the manuscript.
ILC conceived and designed the project, designed and performed the scale dependence error analysis, contributed to the interpretation of the results, supervised the project and wrote the manuscript.
All authors discussed the results and contributed to the writing of the manuscript.

Competing Interests
The authors declare no competing interests.

Data availability
All data needed to evaluate the results and conclusions are present in the paper and/or the Additional data related to this paper may be requested from the authors.

Ethics
All human placental tissues used in this study were acquired from term placentas delivered at St Mary's Hospital, Manchester, with appropriate informed written consent and ethical approval (Tommy's Project REC 15/NW/0829).