JoVE Logo

Sign In

A subscription to JoVE is required to view this content. Sign in or start your free trial.

In This Article

  • Summary
  • Abstract
  • Introduction
  • Protocol
  • Results
  • Discussion
  • Disclosures
  • Acknowledgements
  • Materials
  • References
  • Reprints and Permissions

Summary

The size and shape of particles in activated sludge are important parameters that are measured using varying methods. Inaccuracies arise from non-representative sampling, suboptimal images, and subjective analysis parameters. To minimize these errors and ease measurement, we present a protocol specifying every step, including an open source software pipeline.

Abstract

Experimental bioreactors, such as those treating wastewater, contain particles whose size and shape are important parameters. For example, the size and shape of activated sludge flocs can indicate the conditions at the microscale, and also directly affect how well the sludge settles in a clarifier.

Particle size and shape are both misleadingly 'simple' measurements. Many subtle issues, often unaddressed in informal protocols, can arise when sampling, imaging, and analyzing particles. Sampling methods may be biased or not provide enough statistical power. The samples themselves may be poorly preserved or undergo alteration during immobilization. Images may not be of sufficient quality; overlapping particles, depth of field, magnification level, and various noise can all produce poor results. Poorly specified analysis can introduce bias, such as that produced by manual image thresholding and segmentation.

Affordability and throughput are desirable alongside reproducibility. An affordable, high throughput method can enable more frequent particle measurement, producing many images containing thousands of particles. A method that uses inexpensive reagents, a common dissecting microscope, and freely-available open source analysis software allows repeatable, accessible, reproducible, and partially-automated experimental results. Further, the product of such a method can be well-formatted, well-defined, and easily understood by data analysis software, easing both within-lab analyses and data sharing between labs.

We present a protocol that details the steps needed to produce such a product, including: sampling, sample preparation and immobilization in agar, digital image acquisition, digital image analysis, and examples of experiment-specific figure generation from the analysis results. We have also included an open-source data analysis pipeline to support this protocol.

Introduction

The purpose of this method is to provide a well-defined, repeatable, and partially-automated method for determining size and shape distributions of particles in bioreactors, particularly those containing activated sludge flocs and aerobic granules1,2. The rationale behind this method were to enhance the affordability, simplicity, throughput, and repeatability of our existing in-house protocols3,4, ease particle measurement for others, and facilitate sharing and comparison of data.

There are two broad categories of particle measurement analysis - direct imaging and inferential methods using such qualities as light scattering5. Although inferential methods can be automated and have large throughput, the equipment is expensive. In addition, while inferential methods can accurately determine the equivalent size of a particle6, they do not provide detailed shape information7.

Because of the need for shape data, we have based our method on direct imaging. While some high-throughput imaging methods exist, they have traditionally required either expensive commercial hardware or custom built solutions8,9. Our method has been developed to employ common, affordable hardware and software that, although suffering from a reduction in throughput, produces far more particle images than the minimum needed for many analyses10.

Existing protocols may not specify important sampling and image acquisition steps. Other protocols may specify manual steps that introduce subjective bias (such as ad hoc thresholding11). A well-defined method that specifies sampling, immobilization and image acquisition steps combined with freely available analysis software will enhance both within-lab image analysis and comparisons between labs. A major goal of this protocol is to provide a workflow and tools that should lead to reproducible results from different labs for the same sample.

Apart from normalizing the image analysis process, the data produced by this pipeline is recorded in a well-defined, well-formatted file12 suitable for use by popular data analysis packages13,14, easing experiment specific analyses (such as custom figure generation) and facilitating data sharing between labs.

This protocol is especially suggested for researchers who require particle shape data, do not have access to inferential methods, do not wish to develop their own image analysis pipeline, and wish to share their data easily with others

Protocol

1. Collect samples for particle analysis

  1. Determine the sample volume for specific reactors that will produce sufficient particles for statistical analysis10 (>500) while avoiding particle overlap.
    1. Assume that a range of 0.5 to 2 mL per sample of mixed liquor is sufficient for activated sludge samples with a mixed liquor suspended solids (MLSS) between 250 and 5,000 mg/L.
    2. Otherwise, prepare three test agar plates using 0.5, 2, and 5 mL of sample (steps 1.2 through 2.7).
    3. Visually estimate which (if any) sample volumes best meet the criteria listed in step 1.1.
    4. If particles still overlap for the 0.5 mL sample, repeat steps 1.1.2 and 1.1.3 with three 0.5 mL samples diluted with an added 0.5, 1, and 2 mL of phosphate buffered saline to determine the degree to which a 0.5 mL sample must be diluted prior to step 2.1.
      NOTE: Steps 1.1 − 1.1.4 need only be performed once per experiment, or if the reactor contents change such that subsequent measurements no longer meet the criteria listed in step 1.1.
  2. Acquire a representative sample from a well-mixed portion of the reactor by grabbing ~40 mL in a beaker or 50 mL centrifuge tube, gently mixing, and immediately pouring the determined sample volume of the well-mixed grab into a 15 mL centrifuge tube. Dilute the sample, necessary, as determined by step 1.1.4.
    NOTE: The protocol can be paused here and the sample may be stored under refrigeration (4 °C) for up to 48 hours. Do not freeze the sample.
    CAUTION: Common preservation media (e.g., formaldehyde/formamide) are not suitable. The large surface area of the plate, in combination with the open container, heat from the light source, and potentially poorly ventilated microscopy setup produce unnecessarily hazardous conditions for little gain in image quality.

2. Prepare agar plates of stained, immobilized particles

  1. Add 5 µL of 1% (w/v) methylene blue to each sample, then cap and gently invert at 3 least times to mix. Allow samples to stain for at least 5 but no more than 30 minutes at room temperature.
  2. Prepare approximately 10 mL per sample of 7.5% (w/v) agar in deionized water.
    NOTE: Agar may be produced ahead of time and stored indefinitely if sterilized. Agarose may be substituted, but does not substantially improve images.
  3. Melt agar using a microwave or water bath and allow to cool slightly before use. Ensure the agar is completely melted and pours easily. Solid globules of agar will stain differently, producing poor quality images.
  4. Transfer sufficient melted 7.5% (w/v) agar to the centrifuge tube to bring the total tube volume to between 6.5 and 9 mL.
  5. Recap centrifuge tubes and gently invert at least 3 times to mix.
  6. While pointing the cap away from oneself or in a hood, open the cap. Pour the tube contents into a 100 mm plastic Petri dish while gently rocking the dish to achieve a full, smooth coating and a visually uniform distribution of particles.
    CAUTION: The heat from the agar may produce a slight overpressure in the tube. This often produces an audible hiss and has the potential to expel small droplets of hot agar.
  7. Allow the plates to cool at room temperature for at least 5 minutes, until the agar solidifies.
    NOTE: The protocol may be paused here. Store plated inverted and sealed (e.g., in a sealing plastic bag or with paraffin film) for up to 48 hours under refrigeration (4 °C).

3. Acquire particle images using a stereomicroscope and digital camera

  1. Place the uncovered plate face up on the microscope stage of a stereomicroscope capable of 10x to 20x magnification. Illuminate the sample from below with even, diffuse light using equipment such as an LED illuminator stand or light plate.
  2. Open the image capture software, ensure the microscope light path is set to Photo, and click on the appropriate camera from the camera list.
  3. Adjust the microscope so that multiple particles appear in the software in the focal plane with large, well-defined edges. Use a magnification of 10-20x to measure particles while maintaining a relatively deep focal plane.
    1. Temporarily remove the agar plate and place the micrometer on the stage. Adjust the fine focus until the graduations on the micrometer appear sharply focused in the image capture software.
    2. If not previously calibrated, record the pixel to micro ratio for the current magnification.
      1. Set the zoom to 100% by clicking Zoom > Actual Size and select Options > Calibrate then align the red calibration bar in the main viewport along the long axis of the micrometer, with the vertical bars centered on the 0 and 200 µm graduations. In the Calibrate dialog box, enter the current magnification level and actual length of 200 µm.
    3. If already calibrated select Magnification from the menu bar, and the select the current magnification level and confirm the calibration.
      1. Select Measurements > Line > Arbitrary Line. Click on the intersection of the 0 graduation and long axis of the micrometer. Click again on the intersection at 200 and the long the axis. A correct calibration should display approximately 200 µm. Delete the line by clicking on it, pressing delete, and pressing Yes on the confirmation box.
        NOTE: The instructions given for selecting the camera and calibration are specific to the software used for this hardware. Similar functions should be available in other imaging software. The goal is to determine the pixel to micron ratio of the image for accurate particle size measurement.
  4. Replace the agar plate and adjust the fine focus to achieve maximum detail in the imaging software.
  5. Adjust the imaging software so that maximum image quality is achieved.
    1. Increase the bit depth to the maximum value allowed, by selecting the radio button in the Bit Depth panel of the Camera sidebar. Set the software to acquire grayscale images by selecting the appropriate radio button in the Color/Gray panel of the Camera sidebar.
    2. Collapse any open sidebar panels between exposure and histogram. Reduce the gain to 1.0 and increase the exposure until a clear image appears in the viewport and until the histogram appears as a distribution that is not clipped by either end of the histogram box.
    3. Adjust the histogram to avoid over and underexposure. In the histogram panel of the camera side bar, slide the left boundary of the histogram to just outside the lowest values and the right boundary to just outside the highest values.
  6. Save the image as an uncompressed TIFF, including magnification information in the image metadata, using the File > Save as dialog box, selecting the TIFF format, and ensuring that the Save with calibration information box is checked.
    NOTE: Saving image metadata, including spatial calibration, may vary between acquisition programs. FIJI15, the underlying software used by the pipeline, understands most common variants. The important information to record is the pixel height, width, and associated unit(s).
  7. Using either a mobile stage or manually moving the plate itself, select another area, which does not overlap previous images, following a path which alternates between left-to-right and right-to-left as one moves down the plate; also known as a ‘lawnmower search pattern’. Repeat step 3.6 until sufficient images are produced to capture at least 500 visually estimated particles, more are better.
    NOTE: Alternatives patterns (e.g., circular, random) are acceptable but should be reported. Acquiring multiple overlapping images for combination into a mosaic via digital stitching produces a resulting file size which greatly hinders downstream processing and artifacts from stitching may be introduced and is not currently recommended.
  8. Retain plates until after image analysis for potential follow-up imaging. After final imaging, discard as appropriate for biological waste.

4. Measure and analyze particle silhouettes

  1. Install the required image analysis software packages
    1. Install FIJI (an enhanced version of the National Institutes of Health’s ImageJ v1.52e following the instructions at: https://imagej.net/Fiji/Downloads
    2. Install git, if not already present, by following the instructions at: https://git-scm.com/downloads
    3. Acquire the particle analysis code from by cloning the git repository16.
      1. At the command line, retrieve the latest version of the code by typing:
        git clone https://github.com/joeweaver/SParMorIA-Sludge-Particle-Morphological-Image-Analysis.git
        1. Install the analysis code following the instructions in the README.md text file found in the top-level directory of the cloned repository.
          NOTE: Using git is preferred, as it will automatically retrieve the latest version of the code. If git is not available, it is also possible to download the code as a zip file on the release page at: https://github.com/joeweaver/SParMorIA-Sludge-Particle-Morphological-Image-Analysis/releases
    4. Edit a text file listing the directories to be processed, along with optional parameters. Refer to the examples/analysis subdirectory for a list of parameters and examples.
  2. Run the analysis on the command line by typing:
    <FIJI-PATH>\ImageJ-win64.exe --console -macro SParMorIA-SludgeParticle_Morphological_Image_Analysis <paramsfile>
    where <FIJI-path> is the directory in which ImageJ-win64.exe is located and <paramsfile> the location of the text file describing the analysis setup
    NOTE: The name of the executable may differ, depending on which operating system FIJI is installed on. Depending on the number and size of images, the analysis may take a few minutes to hours and will run automatically.
  3. Perform a quality control check
    1. Examine the quality control files located in the overlay subdirectory of the specified output directory. Note images with spurious, missed, and poorly captured particles, all apparent as shaded outlines which do not match the background. Refer to Figure 3 for examples of such. The particle data are now ready for experiment-specific analysis figure generation.
  4. Reject either whole plates or individual particles by specifying in the analysis code the noted files and/or particle IDs to be ignored. Refer to examples/censoring in the repository for relevant R and Python code.
  5. Generate experiment specific figures using the image analysis results for each image are stored in a TIDY12 comma separated text file in the results subdirectory of the specified output directory. Refer to the examples/figures/R and examples/figures/Python subdirectories for examples of how to read the results files.

Results

Files Generated
The process illustrated in Figure 1 will produce two files per image analyzed. The first file is a comma separated value (CSV) text file where each row corresponds to an individual particle and the columns describe various particle metrics such as area, circularity, and solidity and defined in the ImageJ manual17. Example CSV files are included as supplemental information and in the examples/data ...

Discussion

Although the image analysis system is fairly robust and QC steps are taken to ensure poor images are removed, proper attention to specific issues in sampling, plate preparation, and image acquisition can improve both the accuracy of the data and the proportion of images passing QC.

Sampling concentration
Assuming a representative sample has been taken, the most important step is to ensure that sufficient particles are present for representative9 a...

Disclosures

The authors have nothing to disclose.

Acknowledgements

This work was supported by a grant from the National Science Foundation CBET 1336544.

The FIJI, R, and Python logos are used with the in accordance with the following trademark policies:
Python: https://www.python.org/psf/trademarks/
R: https://www.r-project.org/Logo/ , as per the CC-BY-SA 4.0 license listed at: https://creativecommons.org/Licenses/by-sa/4.0/
Fiji: https://imagej.net/Licensing

Materials

NameCompanyCatalog NumberComments
10% Bleach solutionChlorox31009For workspace disinfection.
15 mL centrifuge tube with capCorning430790Per sample.
50 mL Erlenmeyer flaskCorning4980-50Other vessels are suitable so long as they can contain > 40 mL of sample and allow mixing
500 mL Kimax BottleKimble-Chase14395-50Or otherwise sufficient for agar handling
AgarBD214010Solid, to prepare 7.5% gel. 7 mL per sample.
Data analysis softwareN/AN/AR or Python are suggested
Deionized waterN/AN/ASufficient to prepare stain and agar. If unavailable, tap should be fine.
Desktop computerN/AN/AImage analysis is not CPU intensive, any 'ordinary' desktop computer circa 2017 should be sufficient.
External hard driveSeagateSTEB5000100Not fully required, but extremely useful given the number an size of images. 2 or more TB of storage suggested.
FIJINIHversion 1.51dVersion is ImageJ core. Plugins are updated as of writing. Available at: https://imagej.net/Fiji/Downloads
GITOpen Sourceversion 2.19.1 or laterAvailable at: https://git-scm.com/
Image capture softwareToupViewversion 3.7.5177Any compatible with camera, may come with camera. Should allow saving TIFF images with spatial calibration data.
Mechanical (X/Y) StageOMAXA512Not fully required, but greatly aids image acquisition.
Methylene blueFisherM291-100Solid, to prepare 1% w/v solution. 5 uL solution per sample.
Microscope cameraOMAXA35140UAny digitial camera compatible with microscope. Resolution providing at least 5 um per pixel at 10x magnification and a dynamic range of at least 8 bits per pixel per color channel is suggested.
Optical Stage MicrometerOMAXA36CALM1Or otherwise sufficient for spatial calibration.
Petri dish, 100 mmFisherFB08757121 per sample.
PPEN/AN/AStandard lab coat, gloves, and eyewear.
Sparmoria macroNCSUversion 0.2.1Available at github repository : https://github.com/joeweaver/SParMorIA-Sludge-Particle-Morphological-Image-Analysis
Stereo/dissecting microscopeNikonSMZ-2TShould provide 10 to 20x magnficiation and allow digital photos either with a buit-in camera or profide a mounting point for a CCD.

References

  1. Show, K. Y., Lee, D. J., Tay, J. H. Aerobic granulation: Advances and challenges. Applied Biochemistry and Biotechnology. 167 (6), 1622-1640 (2012).
  2. Adav, S. S., Lee, D. -. J., Show, K. -. Y., Tay, J. -. H. Aerobic granular sludge: Recent advances. Biotechnology Advances. 26 (5), 411-423 (2008).
  3. Initial Investigations of Aerobic Granulation in an Annular Gap Bioreactor. North Carolina State University Available from: https://repository.lib.ncsu.edu/handle/1840.16/2162 (2004)
  4. . Effect of Hydrodynamics on Aerobic Granulation Available from: https://repository.lib.ncsu.edu/handle/1840.16/8761 (2012)
  5. Tay, J. H., Liu, Q. S., Liu, Y. Microscopic observation of aerobic granulation in sequential aerobic sludge blanket reactor. Journal of Applied Microbiology. 91 (1), 168-175 (2001).
  6. Kelly, R. N., et al. Graphical Comparison of Image Analysis and Laser Diffraction Particle Size Analysis Data Obtained From the Measurements of Nonspherical Particle Systems. AAPS Pharm SciTech. 7 (3), E1-E14 (2006).
  7. Walisko, R., et al. The Taming of the Shrew -Controlling the Morphology of Filamentous Eukaryotic and Prokaryotic Microorganisms. Advances in Biochemical Engineering/Biotechnology. 149, 1-27 (2015).
  8. Campbell, R. A. A., Eifert, R. W., Turner, G. C. Openstage: A Low-Cost Motorized Microscope Stage with Sub-Micron Positioning Accuracy. PLoS ONE. 9 (2), e88977 (2014).
  9. Dias, P. A., et al. Image processing for identification and quantification of filamentous bacteria in in situ acquired images. BioMedical Engineering OnLine. 15 (1), 64 (2016).
  10. Liao, J., Lou, I., de los Reyes, F. L. Relationship of Species-Specific Filament Levels to Filamentous Bulking in Activated Sludge. Applied and Environmental Microbiology. 70 (4), 2420-2428 (2004).
  11. Cromey, D. W. Avoiding twisted pixels: ethical guidelines for the appropriate use and manipulation of scientific digital images. Science and Engineering Ethics. 16 (4), 639-667 (2010).
  12. Wickham, H. Tidy Data. Journal of Statistical Software. 59 (10), (2014).
  13. van Rossum, G. . Python tutorial. , (1995).
  14. Schindelin, J., Arganda-Carreras, I., Frise, E. FIJI: an open-source platform for biological-image analysis. Nature Methods. 9 (7), 676-682 (2012).
  15. . SParMorIA: Sludge Particle Morphological ImageAnalysis Available from: https://github.com/joeweaver/SParMorIA-Sludge-Particle-Morphological-Image-Analysis (2018)
  16. Ferreira, T., Rasband, W. . ImageJ User Guide: IJ 1.42 r. , (2012).
  17. Sezgin, M., Sankur, B. Survey over image thresholding techniques and quantitative performance evaluation. Journal of Electronic Imaging. 13 (1), 146-166 (2004).
  18. Kröner, S., Doménech Carbó, M. T. Determination of minimum pixel resolution for shape analysis: Proposal of a new data validation method for computerized images. Powder Technology. 245, 297-313 (2013).
  19. McKinney, W. Data Structures for Statistical Computing in Python. Proceedings of the 9th Python in Science Conference. , 51-56 (2010).
  20. Waskom, M., et al. . seaborn: v0.5.0 (November 2014). , (2014).
  21. . dplyr: A Grammar of Data Manipulation Available from: https://cran.r-project.org/web/packages/dplyr/index.html (2016)
  22. Riley, R. S., Ben-Ezra, J. M., Massey, D., Slyter, R. L., Romagnoli, G. Digital Photography: A Primer for Pathologists. Journal of Clinical Laboratory Analysis. 18 (2), 91-128 (2004).
  23. Singh, S., Bray, M. A., Jones, T. R., Carpenter, A. E. Pipeline for illumination correction of images for high-throughput microscopy. Journal of Microscopy. 256 (3), 231-236 (2014).
  24. Eastwood, B. S., Childs, E. C. Image Alignment for Multiple Camera High Dynamic Range Microscopy. Proceedings. IEEE Workshop on Applications of Computer Vision. , 225-232 (2012).
  25. High Dynamic Range Microscopy for Cytopathological Cancer Diagnosis. IEEE Journal of Selected Topics in Signal Processing (Special Issue on: Digital Image Processing Techniques for Oncology) Available from: https://www.lfb.rwth-aachen.de/en/ (2009)
  26. Jain, V., et al. Supervised Learning of Image Restoration with Convolutional Networks. 2007 IEEE 11th International Conference on Computer Vision. , 1-8 (2007).

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Explore More Articles

Activated Sludge ParticlesWastewater Treatment EfficiencyMeasurement ProtocolParticle MorphologyMicroplastics MeasurementMicroscopy TechniquesAgar PreparationCentrifuge Tube ProtocolStaining MethodVisual ReproducibilityParticle DistributionOpen Source Software Pipeline

This article has been published

Video Coming Soon

JoVE Logo

Privacy

Terms of Use

Policies

Research

Education

ABOUT JoVE

Copyright © 2025 MyJoVE Corporation. All rights reserved