Code relating to the scaling of bacterial cell size
- Download all contents of folder Code
- Open file SegmentationTest.m in MATLAB and run it.
- A figure window will open with cell overlays detected using the pipeline described in the paper. Select contours that are not correct.
- Output will be an overlay of detections and length and width of selected cell contours in pixel units.
- Download all contents of folder PhaseContrast
- Add the additional folders to the matlab path (bresenham/interparc/interpclosed)
- Open file PhaseSementation_v3.m in MATLAB and run it.
- A figure window will open with cell overlays detected using the pipeline described in the paper.
- Output will be an overlay of detections and length and width of selected cell contours in pixel units.
- A final figure of a L & W plot and histogram of Lengths and widhts will show up.
- Image Processing Toolbox
- Curve Fitting Toolbox
- Partial Differential Equation Toolbox
In case this code is used in any settings please refer to our paper that corresponds to this