2.4. Image compression
ImageJ was used as the preferred platform for image processing. Users need to select Plugins→Macros→Record commands in ImageJ to record the processing procedure and create a new macro for batch processing. The first step is to convert the RGB image captured by the high-definition microscope into 8 bits and resize the image (see ”image compress.ijm” in the supplementary material). All the images were converted automatically to greyscale, and the size was compressed in batches by the Process→Batch→Macro commands according to the recorded processing method, as shown in Figure 1B and Fig.SB.