skip to main content
10.1145/3239576.3239595acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicaipConference Proceedingsconference-collections
research-article

Automatic Scaling of Fish Images

Authors Info & Claims
Published:16 June 2018Publication History

ABSTRACT

In aquaculture breeding programs where large numbers of fish need to be rapidly phenotyped, the absolute physical dimensions of fish (in millimeters or inches) are often required to be extracted from electronic images in order to measure the size of the fish. While it is possible to infer the length of the fish in pixels, the absolute scale of the image (in pixels-per-millimeter or dots-per-inch) is largely unknown without a reference grid, or requires additional hardware, data collection and/or record-keeping management overheads. One cost and time effective solution is to capture the absolute scale by including a measuring ruler in the photographed scene and from which a computer program can automatically identify the scale of the photo and calculate fish morphometric measurements. To assist such workflow, this study developed an algorithm that automatically detects a ruler in a given image, and automatically extracts its scale as distance (in fractional number of pixels) between the ruler's graduation marks. The algorithm was applied to 445 publicly available images of barramundi or Asian seabass (Lates calcarifer), where a millimeter-graded ruler was included in each image. Convolutional Neural Network (CNN) was trained to segment the images into ruler, background, fish and label sections. Then the distance-extraction algorithm was applied to the ruler section of the images. The false-negative rate was less than 2%, where the ruler graduation distances could not be extracted in only 2-6 (out of 445) images even when the test images were rotated up to 90 degrees. The mean absolute relative error (MARE) of the inferred distances was 1-2%.

References

  1. Hong, H., Yang, X., You, Z., Cheng, F. 2014. Visual quality detection of aquatic products using machine vision. Aquacult. Eng. 63, 62--71.Google ScholarGoogle ScholarCross RefCross Ref
  2. Miranda, J.M., Romero, M. 2017. A prototype to measure rainbow trout's length using image processing. Aquacult. Eng. 76, 41--49.Google ScholarGoogle ScholarCross RefCross Ref
  3. Zion, B. 2012. The use of computer vision technologies in aquaculture a review. Comput. Electron. Agr. 88, 125--132. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Zion, B., Shklyar, A., Karplus, I. 2000. In-vivo fish sorting by computer vision. Aquacult. Eng. 22, 165--179.Google ScholarGoogle ScholarCross RefCross Ref
  5. Saberioon, M., Gholizadeh, A., Cisar, P., Pautsina, A., Urban, J. 2016. Application of machine vision systems in aquaculture with emphasis on fish: state-of-the-art and key issues. Rev. Aquacult. 9, 369--387.Google ScholarGoogle ScholarCross RefCross Ref
  6. Costa, C., Antonucci, F., Boglione, C., Menesatti, P., Vandeputte, M., Chatain, B. 2013. Automated sorting for size, sex and skeletal anomalies of cultured seabass using external shape analysis. Aquacult. Eng. 52, 58--64.Google ScholarGoogle ScholarCross RefCross Ref
  7. Viazzi, S., Van Hoestenberghe, S., Goddeeris, B.M., Berckmans, D. 2015. Automatic mass estimation of jade perch scortum barcoo by computer vision. Aquacult. Eng. 64, 42--48.Google ScholarGoogle ScholarCross RefCross Ref
  8. Cobb, J.N., DeClerck, G., Greenberg, A., Clark, R., McCouch, S. 2013. Next-generation phenotyping: requirements and strategies for enhancing our understanding of genotype-phenotype relationships and its relevance to crop improvement. Theor. Appl. Genet. 126, 867--887.Google ScholarGoogle ScholarCross RefCross Ref
  9. Ueda, K., Baba, T., Nakagawa, Y., Amano, K. 2005. Detection of scale intervals in digital images. In 21st International Conference on Data Engineering Workshops (ICDEW'05). 1232--1232. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Zambanini, S., Herrmann, M., Kampel, M. 2013. An Automatic Method to Determine the Diameter of Historical Coins in Images. Scientific Computing and Cultural Heritage. Contributions in Mathematical and Computational Sciences. 3. Springer, Berlin, Heidelberg. 99--106.Google ScholarGoogle Scholar
  11. Bhalerao, A., Reynolds, G. 2014. Ruler detection for autoscaling forensic images. Int. J. Digit. Crime For. 6, 9--27. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Konovalov, D.A., Domingos, J.A., Bajema, C., White, R.D., Jerry, D.R. 2017. Ruler detection for automatic scaling of fish images, In Proceedings of the International Conference on Advances in Image Processing (Bangkok, Thailand). ACM, New York, NY, 90--95. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. LeCun, Y., Bengio, Y., Hinton, G. 2015. Deep learning. Nature 521, 436--444.Google ScholarGoogle ScholarCross RefCross Ref
  14. Shelhamer, E., Long, J., Darrell, T. 2016. Fully Convolutional Models for Semantic Segmentation. PAMI 2016. https://arxiv.org/abs/1411.4038.Google ScholarGoogle Scholar
  15. Long, J., Shelhamer, E., Darrell, T. 2015. Fully Convolutional Models for Semantic Segmentation. CVPR 2015. https://arxiv.org/abs/1411.4038v2.Google ScholarGoogle Scholar
  16. Ronneberger, O., Fischer, P., Brox, T. 2015. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Medical Image Computing and Computer-Assisted Intervention - MICCAI 2015. Lecture Notes in Computer Science, 9351. Springer, Cham, 234--241.Google ScholarGoogle Scholar
  17. Simonyan, K., Zisserman, A. 2014. Very deep convolutional networks for large-scale image recognition. CoRR. https://arxiv.org/abs/1409.1556.Google ScholarGoogle Scholar
  18. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L. 2009. ImageNet: A Large-Scale Hierarchical Image Database, In IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, 248--255.Google ScholarGoogle ScholarCross RefCross Ref
  19. Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bern- stein, M., Berg, A.C., Fei-Fei, L. 2015. ImageNet Large Scale Visual Recognition Challenge. Int. J. Comput. Vis. 115, 211--252. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Jia, Y., Shelhamer, E., Donahue, J., Karayev, S., Long, J., Girshick, R., Guadarrama, S., Darrell, T. 2014. Caffe: Convolutional architecture for fast feature embedding. In Proceedings of the 22Nd ACM International Conference on Multimedia (Orlando, Florida, USA) ACM, New York, NY. 675--678. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Chollet, F., et al. 2015. Keras. https://github.com/fchollet/keras.Google ScholarGoogle Scholar
  22. Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G.S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R., Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K., Tucker, P., Vanhoucke, V., Vasudevan, V., Viégas, F., Vinyals, O., Warden, P., Wattenberg, M., Wicke, M., Yu, Y., Zheng, X. 2015. TensorFlow: Large- scale machine learning on heterogeneous systems. http://tensorflow.org.Google ScholarGoogle Scholar
  23. Glorot, X., Bengio, Y. 2010. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics (Sardinia, Italy). PMLR 9, 249--256. http://proceedings.mlr.press/v9/glorot10a.html.Google ScholarGoogle Scholar
  24. Badrinarayanan, V., Kendall, A., Cipolla, R. 2017. Segnet: A deep convolutional encoder-decoder architecture for scene segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence 39, 2481--2495.Google ScholarGoogle ScholarCross RefCross Ref
  25. Zuiderveld, K. 1994. Contrast Limited Adaptive Histogram Equalization. Graphics Gems IV. Academic Press Professional Inc., San Diego, CA. 474--485. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Kingma, D.P., Ba, J. 2015. Adam: A method for stochastic optimization. In 3rd International Conference for Learning Representations, San Diego, http://arxiv.org/abs/1412.6980.Google ScholarGoogle Scholar
  27. Schneider, C.A., Rasband, W.S., Eliceiri, K.W. 2012. NIH Image to Imagej: 25 years of image analysis. Nat. Meth. 9, 671--675.Google ScholarGoogle ScholarCross RefCross Ref
  28. Fawcett, T. 2006. An introduction to ROC analysis. Pattern Recog. Lett. 27, 861--874. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Automatic Scaling of Fish Images

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        ICAIP '18: Proceedings of the 2nd International Conference on Advances in Image Processing
        June 2018
        261 pages
        ISBN:9781450364607
        DOI:10.1145/3239576

        Copyright © 2018 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 16 June 2018

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader