ALL Metrics
-
Views
-
Downloads
Get PDF
Get XML
Cite
Export
Track
Brief Report
Revised

Image analysis method for heterogeneity and porosity characterization of biomimetic hydrogels

[version 2; peer review: 2 approved]
PUBLISHED 12 Apr 2021
Author details Author details
OPEN PEER REVIEW
REVIEWER STATUS

This article is included in the NEUBIAS - the Bioimage Analysts Network gateway.

Abstract

This work presents an image processing procedure for characterization of porosity and heterogeneity of hydrogels network mainly based on the analysis of cryogenic scanning electron microscopy (cryo-SEM) images and can be extended to any other type of microscopy images of hydrogel porous network. An algorithm consisting of different filtering, morphological transformation, and thresholding steps to denoise the image whilst emphasizing the edges of the hydrogel walls for extracting either the pores or hydrogel walls features is explained. Finally, the information of hydrogel porosity and heterogeneity is presented in form of pore size distribution, spatial contours maps and kernel density dot plots. The obtained results reveal that a non-parametric kernel density plot effectively determines the spatial heterogeneity and porosity of the hydrogel.

Keywords

image processing, transformation, noise, filter, pixel, frequency, kernel, distribution, hydrogel, pore

Revised Amendments from Version 1

There are some clarifications made to better explain the hydrogel material network and the artefacts associated with the imaging. Furthermore, it is mentioned how to use the code to extract hydrogel pore or wall thickness features. lastly, the result of measurement with the method is compared quantitatively with the reported values in the source paper to validate the method. Figures 1 and 2 have been updated.

See the authors' detailed response to the review by Miroslava Dušková-Smrčková

Introduction

Biomimetic engineered hydrogels often serve as 3D microporous extracellular microenvironment mimics in regenerative medicine, tissue engineering1 and in-vitro cancer studies2. The physical properties of these gels may provide a mechanical cue to regulate the cell phenotypic activities and functions via cellular mechanotransduction3,4. Moreover, it has been shown that a change in the stiffness/elasticity of hydrogel is associated with the morphological change in the structure of the hydrogel mesh5. This article presents an image analysis method applied to characterise hydrogel structure heterogeneity and porosity resulting from the treatment of fully hydrated hydrogels during plunge-freezing to acquire their cryogenic scanning electron microscopy (cryo-SEM) images. It should be mentioned that during the process of sample preparation for cryo-SEM microscopy, the sample undergoes a probable morphological alteration, furthermore the process itself might introduce artifacts according to the nature of the material and swelling rate. Readers are encouraged to refer to the studies specialized on the imaging of different hydrogel network by Kalasova et al.6 and Pradny et al.7.

Methods

Image processing

The image processing algorithm of the present work has been written as a code in the Python 3.8 language and was applied to analyse the cryo-SEM images of hydrogel, however it is applicable to analyse any other type of images of hydrogel porous network. The present study uses cryo-SEM images of fully hydrated hydrogels adopted with permission from Kaberova et al.8 as input data. To detect the pores precisely, the edges of the hydrogel walls are highlighted, and a band pass frequency filter is applied to optimize the removal of noise with preservation of the edges of hydrogel walls. To detect and measure the thickness of the hydrogel walls, the look up table of the binary image should be inversed to bring hydrogel walls in foreground (white) refer to Figure 1.

7e1f65e3-bd98-491e-8da2-9dbf77c8d971_figure1.gif

Figure 1. Image processing algorithm of sample cryo-SEM micrograph of glycidyl methacrylate hydrogel crosslinked with 0.3 mol% (ethylene glycol) dimethacrylate.

Images on the left show the output images of each step in the processing algorithm and the relevant flowchart is illustrated on the right to distinguish foreground (pores) from background (hydrogel walls). The source image adapted from Kaberova et al.8 with permission.

Pre-processing. After loading the image from the specified path, it was first normalized to stretch the Gray level histogram between 0 and 255 and enhance the image contrast. Next, to filter out the noise, a Gaussian (σ =0.7, 3×3) spatial filter convolution was applied to the image. The filtered image is a weighted average of the neighbourhood pixels that better preserve the edges in lower contrast areas while removing the noise9. Afterwards, to extract the edges of the hydrogelwalls, a range of the non-linear 3×3 edge detection filters including Sobel was applied to the image to highlight the locations of sharp intensity transitions. Both the noise and edges belong to the high pass frequencies of the image in essence10 and the edge emphasising filter might introduce some artifacts in these range. Therefore, in the next step, a band pass frequency filter was used to highlight the desired quasi- high range of the frequencies for a better edge detection (refer to Figure 1).

Thresholding. The binarization of cryo-SEM images of gels is challenging as there is no standard method for thresholding. Since in most of the cryo-SEM images there is uneven illumination, the adaptive threshold technique was undertaken to segment the background (hydrogel walls, value=0 black) and foreground pores (pores, value=1 white). The algorithm calculates the optimal value of threshold based on the weighted mean and standard deviation of the pixel values within the neighbouring window of fixed size for each pixel and outperforms the conventional methods11. In the present work, the adaptive Gaussian threshold has been applied to the image on a window size of 25×25 pixels. The window size should be optimized depending on the density of the details (information) and a lower or greater size may be chosen.

Morphological transformation. The pores touching the boarders of the image were excluded and then basic morphological transformation (erosion×1 and opening×5) was applied to ensure that the isolated pixels both in the background and foreground (pores) were eliminated. For all transformations, a 3×3 elliptical structuring element was applied. Erosion transformation was applied to separate the touching pores and remove the remaining very small pores. Following, the holes within the detected pores were filled up. And lastly, the image was reconstructed based on the erosion and opening results and then a watershed algorithm was used to segment the pores and measure pore properties on the final image.

To validate the method, the screenshot images of a hydrogel network from a previously published work where the corresponding pore diameters have been reported, were analysed with the proposed method using Otsu’s thresholding method and setting 0.05 max watershed threshold. The obtained results of the proposed method (17 µm) were compared with the available reported measurement (15 µm from Figure 4 of the reference)12.

Hydrogel porosity and heterogeneity analysis

After performing the pore detection analysis, each single detected pore was associated with the centre of mass and area and the results were exported in a text file. The cryo-SEM image of the sample hydrogel shown in Figure 1A reveals that the hydrogel structure is heterogenous in spatial domain. Therefore, pore size distribution and statistical analysis alone might not represent the spatial heterogeneity and clustering of the detected pores. To quantify and visualize the spatial heterogeneity of the hydrogel, the kernel density estimation function was fitted on the centre of mass of the detected pores on the spatial domain of the cryo-SEM image.

Results

Comparing the obtained results of the proposed method with the available reported measurements of the pore sizes of fluorescent images of hydrogel elsewhere12, the method has been validated with acceptable accuracy (17 µm compared to the reported value was 15 µm for average pore size). Moreover, the average equivalent diameter of the pores of the analysed source image (adopted from Kaberova et al.8) was equal to 12.36 µm with the corresponding pore size distribution range of 2–36 µm. the comparison of the results with the range reported by Kaberova et al.8 (2–40 µm) shows a good agreement and reliability of the presented method as it is shown in Figure 2B. The results of spatial heterogeneity quantification are presented in the form of contour plots (Figure 2). A higher density value indicates the presence of more pores in the unit of area; therefore, it might represent the location of smaller pore clusters and compactness of the pore clusters. On the other hand, a lower value indicates a less dense area, or an area covered with larger pores. It can be observed from the kernel density contours of a sample image (Figure 2D) that the distribution of most of the larger pores are almost uniformly dispersed; however, the smaller pores formed clusters at the top-left corner of the image.

7e1f65e3-bd98-491e-8da2-9dbf77c8d971_figure2.gif

Figure 2. Porosity and heterogeneity analysis of glycidyl methacrylate hydrogel crosslinked with 0.3 mol% di(ethylene glycol) dimethacrylate.

A) Detected pores of cryo-SEM micrographs. B) Pore size distribution. C) Spatial contour maps of pore area. D) Kernel density estimation dot plots demonstrating the spatial density of detected pores. Data adapted from Kaberova et al.8 with permission.

Conclusion

The algorithm provides an image analysis method for biomaterial science research to investigate the structural heterogeneity of hydrogels. This simple and flexible analysis method allows optimization of different parameters to ideally analyse a broad range of images. We have also demonstrated that based on the data extracted from the image, the kernel density estimation function is a powerful graphical tool to visualize and compare spatial heterogeneity and porosity of the hydrogel. The application of this method can be extended to structural analysis of any other porous network. Furthermore, it is worth mentioning that applying more sophisticated segmentation methods13 to combine classical transformation with deep learning models in the future works might improve the accuracy and performance of the method to distinguish touching pores and separate hydrogel walls.

Data availability

Zenodo: niliou/Hydrogel-pore-size: Hydrogel pore size distribution. https://doi.org/10.5281/zenodo.430890714.

This project contains the following underlying data:

  • - Hydrogel pore size source images (original source image files in TIF format)

Data are available under the terms of the Creative Commons Zero "No rights reserved" data waiver (CC0 1.0 Public domain dedication).

Code availability

Source code available from: https://github.com/niliou/Hydrogel-pore-size.git

Archived source code at time of publication: https://doi.org/10.5281/zenodo.430890714.

License: MIT Licence

Comments on this article Comments (0)

Version 2
VERSION 2 PUBLISHED 15 Dec 2020
Comment
Author details Author details
Competing interests
Grant information
Copyright
Download
 
Export To
metrics
Views Downloads
F1000Research - -
PubMed Central
Data from PMC are received and updated monthly.
- -
Citations
CITE
how to cite this article
Jamshidi M and Falamaki C. Image analysis method for heterogeneity and porosity characterization of biomimetic hydrogels [version 2; peer review: 2 approved]. F1000Research 2021, 9:1461 (https://doi.org/10.12688/f1000research.27372.2)
NOTE: If applicable, it is important to ensure the information in square brackets after the title is included in all citations of this article.
track
receive updates on this article
Track an article to receive email alerts on any updates to this article.

Open Peer Review

Current Reviewer Status: ?
Key to Reviewer Statuses VIEW
ApprovedThe paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approvedFundamental flaws in the paper seriously undermine the findings and conclusions
Version 2
VERSION 2
PUBLISHED 12 Apr 2021
Revised
Views
21
Cite
Reviewer Report 02 Jul 2021
Susana Rocha, Molecular Imaging and Photonics, KU Leuven, Leuven, Belgium 
Approved
VIEWS 21
The influence of mechanical and physical cues on cell behaviour has lead to an increasing interest in the quantitative analysis of structural features of hydrogels. The authors here present an algorithm to analyze 2D Cryo-SEM images of a glycidyl methacrylate ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Rocha S. Reviewer Report For: Image analysis method for heterogeneity and porosity characterization of biomimetic hydrogels [version 2; peer review: 2 approved]. F1000Research 2021, 9:1461 (https://doi.org/10.5256/f1000research.55764.r86092)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
Views
71
Cite
Reviewer Report 20 Apr 2021
Miroslava Dušková-Smrčková, Institute of Macromolecular Chemistry, Academy of Sciences of the Czech Republic, Prague, Czech Republic 
Approved
VIEWS 71
I have reviewed the authors' answers to my points and I liked them and I agree with the modifications/explanations ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Dušková-Smrčková M. Reviewer Report For: Image analysis method for heterogeneity and porosity characterization of biomimetic hydrogels [version 2; peer review: 2 approved]. F1000Research 2021, 9:1461 (https://doi.org/10.5256/f1000research.55764.r83172)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
Version 1
VERSION 1
PUBLISHED 15 Dec 2020
Views
72
Cite
Reviewer Report 02 Mar 2021
Miroslava Dušková-Smrčková, Institute of Macromolecular Chemistry, Academy of Sciences of the Czech Republic, Prague, Czech Republic 
Approved with Reservations
VIEWS 72
It brings a useful piece of computer image analyses software development applicable to quantification of images of heterogeneous materials, namely of 2D projection of pores/distinguishable distributed objects – such as bubbles, particles etc.

First, a brief generic ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Dušková-Smrčková M. Reviewer Report For: Image analysis method for heterogeneity and porosity characterization of biomimetic hydrogels [version 2; peer review: 2 approved]. F1000Research 2021, 9:1461 (https://doi.org/10.5256/f1000research.30250.r79780)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
  • Author Response 12 Apr 2021
    Cavus Falamaki, Chemical Engineering Department, Amirkabir University of Technology, P.O. Box 15875-4413, Tehran, Iran
    12 Apr 2021
    Author Response
    Author’s Respond to Reviewer:

    Authors would like to sincerely thank reviewer not only for their constructive comments and scientific clarification that improves the scientific quality of the paper, but ... Continue reading
COMMENTS ON THIS REPORT
  • Author Response 12 Apr 2021
    Cavus Falamaki, Chemical Engineering Department, Amirkabir University of Technology, P.O. Box 15875-4413, Tehran, Iran
    12 Apr 2021
    Author Response
    Author’s Respond to Reviewer:

    Authors would like to sincerely thank reviewer not only for their constructive comments and scientific clarification that improves the scientific quality of the paper, but ... Continue reading

Comments on this article Comments (0)

Version 2
VERSION 2 PUBLISHED 15 Dec 2020
Comment
Alongside their report, reviewers assign a status to the article:
Approved - the paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations - A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approved - fundamental flaws in the paper seriously undermine the findings and conclusions
Sign In
If you've forgotten your password, please enter your email address below and we'll send you instructions on how to reset your password.

The email address should be the one you originally registered with F1000.

Email address not valid, please try again

You registered with F1000 via Google, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Google account password, please click here.

You registered with F1000 via Facebook, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Facebook account password, please click here.

Code not correct, please try again
Email us for further assistance.
Server error, please try again.