Submitted:
02 June 2023
Posted:
05 June 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. A Brief Introduction to CNNs
2.1.1. ResNet-50
2.2. The dataset
2.3. Data Augmentation
| Algorithm 1 Chromosome Data Augmentation |
|
2.4. Straightening
2.4.1. Chromosome Image Binarization and Bending Centre Locating
| Algorithm 2 Rotation Score Calculation |
![]() |
2.4.2. Chromosome Arms Straightening and Final Image Creation
| Algorithm 3 Chromosome Arm Straightening |
![]() |
2.4.3. Algorithm Improvements
2.4.4. Additional Tests
2.5. Feature Transform-Based Techniques
- I.
-
First technique
- 1.
- Apply FFT to the grayscale chromosome image.
- 2.
- Shift the zero frequency component to the center of the frequency-domain.
- 3.
- Create a mask made of 1s with the same dimensions as the transformed and frequency-shifted image; this will preserve only selected frequencies in step 7.
- 4.
- Create two 2-D grids to represent the x and y coordinates.
- 5.
- Use the grids to compute the euclidean distance and get a colored distance matrix R (see Figure 12).
- 6.
- Select a radius (threshold) and set to zero the values of the mask inside this radius using the values of distance matrix R as coordinates.
- 7.
- Apply the mask to the transformed image.
- 8.
- Apply the inverse Fourier Transform (iFFT) to get the blurred grayscale image, visible in Figure 13 (b).
- II.
-
Second techniqueThis technique is similar to the previous one, except that the zero frequency is not shifted:
- 1.
- Apply FFT to the grayscale image.
- 2.
- Sort and store in an array the elements (IDs) of the transformed image by their intensity values.
- 3.
- Select a value that represents the percentage of points in the transformed image that will be set to zero.
- 4.
- Randomize the IDs array and set a portion of the elements corresponding to the selected percentage p to zero in the transformed image.
- 5.
- Apply the inverse Fourier Transform (iFFT) to recover the filtered grayscale image. The result is shown in Figure 13 (c).
- III.
-
Third techniqueThis method uses the Discrete Cosine Transform (DCT) for image processing instead of the Fourier Transform:
- 1.
- Convert the input RGB image to grayscale.
- 2.
- Apply the DCT to the grayscale image to obtain its frequency components.
- 3.
- Set to zero a low frequency range, which is a 10x10 square in this case.
- 4.
- Apply the inverse DCT (iDCT) to obtain the processed grayscale image (Figure 13 (d)).
3. Results
3.1. Metrics
3.2. Experiment settings
3.3. Experimental results
- None(1) achieves significantly lower performance than the network trained using an expanded training set. None(10) outperforms None(1), but its performance is not comparable to that achieved by CDA(10). It is clear that in this application data augmentation is a very important step.
- CDA(10) clearly outperforms CDA(1).
- The best performance, considering a single data augmentation approach, is obtained by STR(10).
- The ensemble trained with different augmentation methods can outperform each of its components, e.g., CDA(3) + STR(3) + FT(3) outperforms STR(10).
- The best result is obtained by CDA(3) + STR(3) + FT(3), which achieved an accuracy of 98.56%.
4. Conclusions
- A data augmentation algorithm called CDA was used to generate additional samples from the original dataset. This algorithm introduces different spatial orientations to the chromosomes, effectively diversifying the training data.
- We implemented a straightening procedure that utilizes projection vectors to straighten the chromosomes. This step removes curves from the subjects, allowing the neural network to learn other important features.
- In the end, we employed three feature transform-based techniques to create more images and alter their appearance through manipulations such as blur and contrast adjustments. These techniques contributed to further enhancing the diversity and variability of the training data.
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Wang, X.; Zheng, B.; Li, S.; Mulvihill, J.J.; Liu, H. A rule-based computer scheme for centromere identification and polarity assignment of metaphase chromosomes. Computer Methods and Programs in Biomedicine 2008, 89, 33–42. [CrossRef]
- Tjio, J.H.; Levan, A. The Chromosome Number in Man. Hereditas 2010, 42, 1 – 6. [CrossRef]
- Remani Sathyan, R.; Chandrasekhara Menon, G.; S, H.; Thampi, R.; Duraisamy, J.H. Traditional and deep-based techniques for end-to-end automated karyotyping: A review. Expert Systems 2022, 39, e12799. [CrossRef]
- Agam, G.; Dinstein, I. Geometric separation of partially overlapping nonrigid objects applied to automatic chromosome classification. IEEE Transactions on Pattern Analysis and Machine Intelligence 1997, 19, 1212–1222. [CrossRef]
- Errington, P.A.; Graham, J. Application of artificial neural networks to chromosome classification. Cytometry 1993, 14, 627–639. [CrossRef]
- Zhang, W.; Song, S.; Bai, T.; Zhao, Y.; Ma, F.; Su, J.; Yu, L. Chromosome Classification with Convolutional Neural Network Based Deep Learning. 2018 11th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), 2018, pp. 1–5. [CrossRef]
- Swati.; Gupta, G.; Yadav, M.; Sharma, M.; Vig, L. Siamese Networks for Chromosome Classification. 2017 IEEE International Conference on Computer Vision Workshops (ICCVW), 2017, pp. 72–81. [CrossRef]
- Huang, K.; Lin, C.; Huang, R.; Zhao, G.; Yin, A.; Chen, H.; Guo, L.; Shan, C.; Nie, R.; Li, S. A novel chromosome instance segmentation method based on geometry and deep learning. 2021 International Joint Conference on Neural Networks (IJCNN), 2021, pp. 1–8. [CrossRef]
- Abid, F.; Hamami, L. A survey of neural network based automated systems for human chromosome classification. Artificial Intelligence Review 2018, 49, 41–56. [CrossRef]
- Anh, L.Q.; Thanh, V.D.; Son, N.H.H.; Phuong, D.T.K.; Anh, L.T.L.; Ram, D.T.; Minh, N.T.B.; Tung, T.H.; Thinh, N.H.; Ha, L.V.; Ha, L.M. Efficient Type and Polarity Classification of Chromosome Images using CNNs: a Primary Evaluation on Multiple Datasets. 2022 IEEE Ninth International Conference on Communications and Electronics (ICCE), 2022, pp. 400–405. [CrossRef]
- Lin, C.; Zhao, G.; Yang, Z.; Yin, A.; Wang, X.; Guo, L.; Chen, H.; Ma, Z.; Zhao, L.; Luo, H.; Wang, T.; Ding, B.; Pang, X.; Chen, Q. CIR-Net: Automatic Classification of Human Chromosome Based on Inception-ResNet Architecture. IEEE/ACM Transactions on Computational Biology and Bioinformatics 2022, 19, 1285–1293. [CrossRef]
- Javan Roshtkhari, M.; Setarehdan, K. A novel algorithm for straightening highly curved images of human chromosome. Pattern Recognition Letters 2008, 29, 1208–1217. [CrossRef]
- Sharma, M.; Saha, O.; Sriraman, A.; Hebbalaguppe, R.; Vig, L.; Karande, S. Crowdsourcing for Chromosome Segmentation and Deep Classification. 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2017, pp. 786–793. [CrossRef]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778. [CrossRef]
- MathWorks. ResNet-50 convolutional neural network - MATLAB resnet50 - MathWorks. https://it.mathworks.com/help/deeplearning/ref/resnet50.html?lang=en, n.d. Accessed: April 27, 2023.
- Grisan, E.; Poletti, E.; Ruggeri, A. Automatic Segmentation and Disentangling of Chromosomes in Q-Band Prometaphase Images. IEEE Transactions on Information Technology in Biomedicine 2009, 13, 575–581. [CrossRef]
- Poletti, E.; Grisan, E.; Ruggeri, A. Automatic classification of chromosomes in Q-band images. 2008 30th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, 2008, pp. 1911–1914. [CrossRef]
- Ritter, G.; Gao, L. Automatic segmentation of metaphase cells based on global context and variant analysis. Pattern Recognition 2008, 41, 38–55. [CrossRef]
- Lin, C.; Yin, A.; Wu, Q.; Chen, H.; Guo, L.; Zhao, G.; Fan, X.; Luo, H.; Tang, H. Chromosome Cluster Identification Framework Based on Geometric Features and Machine Learning Algorithms. 2020 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), 2020, pp. 2357–2363. [CrossRef]
- Shorten, C.; Khoshgoftaar, T.M. A survey on Image Data Augmentation for Deep Learning. Journal of Big Data 2019, 6. [CrossRef]
- Moradi, M.; Setarehdan, S.; Ghaffari, S. Automatic locating the centromere on human chromosome pictures. 16th IEEE Symposium Computer-Based Medical Systems, 2003. Proceedings., 2003, pp. 56–61. [CrossRef]













| Method | Precision | Recall | Accuracy | F1 |
|---|---|---|---|---|
| Vanilla-CNN [6] | 0.8800 | 0.8600 | 0.8644 | 0.8700 |
| SiameseNet [7] | 0.8800 | 0.8700 | 0.8763 | 0.8700 |
| CIR-Net [11] | 0.9600 | 0.9600 | 0.9598 | 0.9600 |
| ResNet-50 | ||||
| None(1) | 0.8834 | 0.8767 | 0.8808 | 0.8775 |
| None(10) | 0.9246 | 0.9157 | 0.9216 | 0.9157 |
| CDA(1) | 0.9765 | 0.9743 | 0.9759 | 0.9749 |
| CDA(10) | 0.9822 | 0.9748 | 0.9812 | 0.9772 |
| STR(10) | 0.9834 | 0.9787 | 0.9822 | 0.9803 |
| FT(10) | 0.9846 | 0.9810 | 0.9836 | 0.9822 |
| CDA(5) + STR(5) | 0.9858 | 0.9814 | 0.9849 | 0.9831 |
| CDA(3) + STR(3) + FT(3) | 0.9864 | 0.9831 | 0.9856 | 0.9843 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

