Advanced Search
Last updated date: Nov 13, 2022 DOI: 10.21769/p2037 Views: 651 Forks: 0
An efficient method to quantify silique parameters in rapeseed
Yushun Jiao1, Guangsheng Yang1, 2, Dengfeng Hong1, 2*
1National Key Laboratory of Crop Genetic Improvement, Huazhong Agricultural University, Wuhan, China
2Hubei Hongshan Laboratory, Wuhan, China
*Correspondence: dfhong@mail.hzau.edu.cn
Abstract
During the late development stage of rapeseed, silique wall plays a major role in providing nutrition for developing seeds inside. Silique length is positively correlated with seed weight. Thus, larger silique accompanied with a higher yield potential is a favorable trait in rapeseed breeding. A common method to quantify silique length is to measure the replum length of mature siliques, by manual generally. However, this procedure is labor-intensive and time-consuming. Besides, silique width and thickness are often ignored by researchers because of the lack of proper quantifying method.
Here we provide a simple and efficient protocol to quantify silique parameters of rapeseed, including silique length, width, and thickness. We also create several Fiji/ImageJ macros to make the procedure automated, allowing researchers to quantify silique parameters in a high-throughput way.
Keywords: rapeseed, silique length, silique width, silique thickness, high-throughput quantifying
Plant materials
The siliques of rapeseed breeding material 7-5 were used for imaging and parameter quantifying.
Software
1. Fiji/ImageJ version 1.53q (https://imagej.net/software/fiji/?Downloads)
2. Java version 8 or above (https://www.java.com/en/download/)
Procedure
A. Images acquirement of rapeseed siliques

Figure 1. A flow chart of the steps to quantify silique parameters of rapeseed
B. Silique length and thickness measurement using Fiji
Since skeleton and distance map are used in this procedure, we call this method Skeleton-Distance method (SD-method).
1. Install Fiji software ((Schneider et al., 2012). Copy the script file “Prune_Skeleton_Short_Branch.bsh” into a subfolder of the ./plugins/ directory of Fiji installation, so that it will show up in the “Plugins” menu after restarting Fiji (e.g., D:/Fiji/Fiji.app/plugins/ Prune_Skeleton_Short_Branch.bsh). Mind that the file name must contain an underscore _ in order to be shown in the menu. The script file is freely provided on the website https://imagej.net/plugins/analyze-skeleton/ and also as an Additional file (Arganda-Carreras et al., 2010).

Figure 2. A quick view of the steps to quantify silique length and thickness of rapeseed
2. Quantify silique length and thickness from a single valve image
a. Open a valve image with Fiji and set a global scale (e.g., 16 pixels/mm, Figure 3) (Analyze > Set Scale). A sample file is provided as Additional file1.

Figure 3. Snapshot from Fiji showing how to set scale
b. Convert the image to 8-bit greyscale (Image > Type > 8-bit).
c. Set Autothreshold (Li method is recommended, Figure 4), or set threshold to a suitable range (e.g., “80-255”) (Image > Adjust > Threshold).

Figure 4. Snapshot from Fiji showing how to set threshold
d. Analyze > Analyze Particles, set “Size” to “100-500” (a suitable range according to the image), set “Show” to “Masks”, select “Clear results”, “Include holes”, “Overlay” and “Add to manage”, then press “OK” (Figure 5).

Figure 5. Snapshot from Fiji showing how to extract valve particles
e. Process > Filters > Gaussian blur, set “Sigma” to a suitable value (this is needed only when the object edges are far from smooth).
f. Process > Binary > Covert to Mask, to converts the image to black and white.
g. Process > Binary > Fill Holes.
h. Image > Duplicate…, set “Title” as default. The original binary image is used to generate a distance map, and the duplicated one is used to skeletonize.
i. On the duplicated image, run Process > Binary > Skeletonize, this step finds the topological skeletons of an object.
Plugins > Prune Skeleton Short Branch, this step prunes the branches of the skeleton if they are under a certain length (e.g., 4 mm, Figure 6).

Figure 6. Snapshot from Fiji showing plugin window of “Prune Skeleton Short Branch”
k. Analyze > Analyze Particles, set “Size” to “0-Infinity”, set “Show” to “Nothing”, select “Clear results”, “Include holes”, “Overlay” and “Add to manage”, then press “OK”. The skeleton will be recognized as ROI (region of interest) and shown in “ROI Manager” window (Figure 7).

Figure 7. Snapshot from Fiji showing how to extract skeleton particles and ROI manager window
l. Select the window of the original binary image, run Process > Binary > Distance Map. Each foreground pixel is replaced with a gray value equal to that pixel’s distance from the nearest background pixel.
m. Image > Overlay > From ROI Manager, add skeleton ROIs to the distance map. According the definition of distance map and skeleton, we can conclude that the pixel value of skeleton equals to the radius of the object.
n. Run “SkeletonLength.ijm”, which is provided as Additional file, to measure skeleton length by calculating the Euclidean distance along the skeleton between the first pixel and the last pixel. The values of the first pixel and the last pixel are also included to make the results more accurate. The skeleton length results are printed in log window.

Figure 8. Snapshot from Fiji showing results after running the macro
o. Select the “ROI Manager” window, click “Measure”, then the “Results” window will pop up to show all the parameters. In the “Results” window, click File > Save As…, to save the results to csv file. Mind that “Mean” is the average grey value of the skeleton pixels with unit “pixel”.

Figure 9. Snapshot from Fiji showing results window
3. Calculate silique length and thickness
Since the topological skeletons are single-pixel-wide shapes, the skeleton length can be measured by calculating the Euclidean distance along the skeleton between the first pixel and the last pixel. After that, we can calculate silique length by the formula (the scale is 16 pixels/mm),:

“Euclidean” is the length of the skeleton with unit “pixel”.
In the distance map, each pixel of the skeleton has a value equal to half of the silique thickness where that pixel locates. When the scale is 16 pixels/mm, we can calculate silique thickness as follows:

“Mean” is the average value of the skeleton pixels with unit “pixel”.
4. Silique length and thickness measurement for a batch of images
All the processing steps can be recorded in Fiji (Plugins > Macros > Record). With the help of the “Recorder”, we create a macro named “SiliqueLengthThickness.ijm” to automate analysis of valve images. The macro is provided as Additional file. Users can run the macro file by going to “Plugins > Macros > Run”, or just drag the file to Fiji window and click “Run”, and a window named “Silique Length and Thickness” will pop up.
a. Choose the processing directory and the saving directory, set the scale for the batch of images (see step 2. a), set the range of valve particle size (see step 2. d) and skeleton branch threshold (see step 2. i), select batch mode (hide windows and run faster), click “OK”, then a batch of files in the processing directory will be processed automatically.

Figure 10. Snapshot from Fiji showing macro running window
b. After the running, all data of the images can be exported to .csv file from the “Summary” window (File > Save As).

Figure 11. Snapshot from Fiji showing “Summary” window after running the macro
c. If some images fail to detect any particles, the “Massage” window will pop up to show the file names. Also “Log” window will display the massage after printing the name of the failed file.
C. Silique width measurement using Fiji
1. Quantify silique width from a single silique image
Open a silique image with Fiji. A sample file is provided as Additional file2. The following steps a-m are the same as silique length and thickness measurement.
2. Calculate silique width
The method is the same as silique thickness measurement. When the scale is 16 pixels/mm, we can calculate silique width as follows:

“Mean” is the average value of the skeleton pixels with unit “pixel”.
3. Silique width measurement for a batch of images
We create a macro named “SiliqueWidth.ijm” to automate analysis of silique images. The macro is provided as Additional file. The interface is almost the same as silique length and thickness measurement. Run the macro, and a window named “Silique Width” will pop up. Choose the processing directory and the saving directory, set the scale and the range of silique particle size, set skeleton branch threshold, then click “OK”, the batch of files in the processing directory will be processed automatically. After the running, all data of the images can be exported to .csv file from the “Summary” window (File > Save As).

Figure 12. Snapshot from Fiji showing “Silique Width” and “Summary” window

Figure 13. A quick view of the steps to quantify silique width of rapeseed
Acknowledgments
We gratefully acknowledge funding through National Natural Science Foundation of China (32072099, 31971977).
Competing interests
The authors declare that they have no competing interests.
Ethics
Not applicable.
Additional file information
Additional file1: The valve image used in the silique length and thickness measurement.
Additional file2: The silique image used in the silique width measurement.
All the macros used in this protocol are provided in the addition files.
References
Related files
Additonal file.zip
BioprotocolEx-An efficient method to quantify silique parameters in rapeseed.docx Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.
Share
Bluesky
X
Copy link