How to build and install your own CaptuRING
Abstract
Producción Científica
Full text
Dendrochronologia 76 (2022) 126021 Available online 20 October 2022 1125-7865/© 2022 The Authors. Published by Elsevier GmbH. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). How to build and install your own CaptuRING Miguel García-Hidalgo a , * , Jos´ e Miguel Olano a , Jos´ e Reyes-L´ opez b , Susana G´ omez Martinez c , Victor Alonso G´ omez d , Gabriel Sangüesa-Barreda a a EiFAB-iuFOR, Universidad de Valladolid, E-42004 Soria, Spain b Servicio de Medios Audiovisuales, Universidad de Valladolid, E-42004 Soria, Spain c Departamento de Filología Inglesa, Facultad de Traducci´ on e Interpretaci´ on, Universidad de Valladolid, E-42004 Soria, Spain d Departamento de Física Aplicada-EiFAB, Universidad de Valladolid, E-42004 Soria, Spain ARTICLE INFO Keywords: Digitization DIY hardware Open source software Tree rings Tutorial video ABSTRACT CaptuRING is a reliable and affordable tool to transform tree-ring samples into digital images combining open source software and do-it-yourself philosophies. A Raspberry Pi runs the system through an Arduino board that controls the wood sample movement across a linear screw at the time that a digital camera takes sequential high resolution (>4500 dpi) images from a wood sample. Here, we present three video tutorials, with English and Spanish subtitles, to construct and install CaptuRING (github.com/CambiumRG/CaptuRING) from scratch. First video tutorial explains the necessary components and how to assemble them to construct the CaptuRING platform, second tutorial covers Arduino board and Raspberry Pi connections, and the third tutorial is devoted to hardware configuration, software installation and CaptuRING use. 1. Introduction Image acquisition of wood samples is already a common task in many tree-ring laboratories worldwide. The ease of storing, processing, analyzing, and exchanging images of wood samples is moving dendrochronology towards digitization (Maxwell and Larsson, 2021; Rademacher et al., 2021). Initially, high-resolution flatbed scanners led this transformation (Maxwell et al., 2011), but digital photography has emerged as a solid alternative due to its many benefits over scanning for irregular samples (Soille and Misson, 2001; Fonti and García-Gonz´ alez, 2008). First, digital photography is less constrained by physical sample size as well as slices can be photographed, i.e core length acquisition is not limited by the size of the scanner working area. Second, image sharpness increases while processing times for digitization are reduced using digital cameras comparing to flatbed scanners. Third, autofocus option in digital photography enables sharp captures even in non-perfectly flat surfaces (Bonet-Sanz et al., 2022). All in all, different photography-based devices have appeared in the last years (Griffin et al., 2021; García-Hidalgo et al., 2022; Schauer et al., 2022), promoting digitization in dendrochronology. CaptuRING tool is based on a Do-It-Yourself hardware and opensource software for wood cores digitization (García-Hidalgo et al., 2022), while an adaptation for wood slices is coming soon. The greatest advantage of CaptuRING is its relatively low cost (approximately 1 700 € ), affordable for small-budget tree-ring laboratories and, being open-source hardware and software, it empowers users to customize their devices to research needs. CaptuRING can be assembled with just basic manual skills to connect the components. However, detailed video tutorials on CaptuRING hardware and software set up and installation makes this task much easier for the community. Here, we present three video tutorials with associated subtitles in English and Spanish to show step by step ’How to build and install your own CaptuRING’ from hardware assembly to electronic connection and configuration. 2. Tutorial one overview In the first video, we show how to construct the CaptuRING platform. The first part of the video shows all the hardware components needed to build CaptuRING: 1 enlarger base, 1C-Beam actuator with step motor, 1 or 2 endstop switches, 2 linear rails, 1 Arduino controlling board for a 3D printer, 1 power supply, 4 wood screws for the linear rails, 8 nuts, and 12 machine screws. All the components can be acquired in an electronic or 3D printing store for an efficient purchase. In addition, we need to 3D print the sample holder and 2 rail adapters. 3D designs and further information on required materials can be consulted directly at * Corresponding author. E-mail address: [email protected] (M. García-Hidalgo). Contents lists available at ScienceDirect Dendrochronologia journal homepage: www.elsevier.com/locate/dendro https://doi.org/10.1016/j.dendro.2022.126021 Received 24 August 2022; Received in revised form 7 October 2022; Accepted 18 October 2022
Dendrochronologia 76 (2022) 126021 2 CambiumRG github repository (https://github.com/CambiumRG/ CaptuRING). In the second part of the video, we show step by step how to assemble all the components. At the end of this video, we will have built the CaptuRING structure. 3. Tutorial two overview In the second video, we show how to connect the electronic components with the Arduino board and Raspberry Pi. In this phase, we need: 1 Arduino board with and associated power supply, 1 Raspberry Pi kit and the components cited in the previous video. After this video, we will be done with CaptuRING hardware. CaptuRING is based on Video S1. A video clip is available online. Supplementary material related to this article can be found online at doi:10.1016/j.dendro.2022.126021. Video S2. A video clip is available online. Supplementary material related to this article can be found online at doi:10.1016/j.dendro.2022.126021. M. García-Hidalgo et al.
Dendrochronologia 76 (2022) 126021 3 multiplatform open source software and, with few modifications, could run in any operative system (e.g., MacOS or Windows). However, the complete acquiring process is optimized using a low-cost computer such as Raspberry Pi (Linux based). 4. Tutorial three overview In the third video, we show step-by-step how to configure all the electronic components and install and launch CaptuRING from scratch. We follow specific guidelines on the terminal window in the Raspberry Pi to configure the caption system. Once we have completed this task, we can acquire our dendrochronological samples in high resolution. 5. Final steps The individual images are then stitched following the standards for image analysis to avoid image artifacts. We recommend the guidelines proposed by von Arx et al. (2016) using PTGui (New House Internet Services B.V., Rotterdam, NL) for quantitative wood anatomy. Other options include open source programs for image analysis as ImageJ (Schneider et al., 2012), or OpenCV (Bradski and Kaehler, 2000). We encourage the dendro community to make developments in CaptuRING to increase the usability and versatility of the system. Further information for CaptuRING set up is available through Cambium Research Group website (cambiumresearch.eu) and github repository (github.com/CambiumRG/CaptuRING). Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgments MG-H was supported by Grant PRE2018-084106 funded by MCIN/ AEI/10.13039/501100011033 and "ESF Investing in your future"; GS-B was supported by a Postdoctoral grant (IJC2019-040571-I) funded by MCIN/AEI/10.13039/501100011033. IR2020-1-UVA08, and the Spanish MCIN/AEI/10.13039/501100011033 project PROWARM (PID2020- 118444GA-100); Junta de Castilla y Le´ on-Consejería de Educaci´ on [IR2020-1-UVA08; VA171P20) and EU LIFE Soria Forest Adapt [LIFE19 CCA/ES/001181] and UE FEDER Funds. Caja Rural de Soria [C´ atedra de Conocimiento e Innovaci´ on 2021] and FUNGE-UVa [26/04/2022 TCUE 2021–2023]. Appendix A. Supporting information Supplementary data associated with this article can be found in the online version at doi:10.1016/j.dendro.2022.126021. References von Arx, G., Crivellaro, A., Prendin, A.L., ˇ Cufar, K., Carrer, M., 2016. Quantitative wood anatomy — practical guidelines. Front. Plant Sci. 7, 781. Bonet-Sanz, M., Machado-S´ anchez, F., Borromeo, S., 2022. An algorithm selection methodology for automated focusing in optical microscopy. Microsc. Res. Tech. 85 (5), 1742–1756. Bradski, G., Kaehler, A., 2000. Open CV. Dr. Dobb’s J. Softw. tools 3, 120. Fonti, P., García-Gonz´ alez, I., 2008. Earlywood vessel size of oak as a potential proxy for spring precipitation in mesic sites. J. Biogeogr. 35 (12), 2249–2257. García-Hidalgo, M., García-Pedrero, ´ A., Col´ on, D., Sangüesa-Barreda, G., García- Cervig´ on, A.I., L´ opez-Molina, J., Hern´ andez-Alonso, H., Rozas, V., Olano, J.M., Alonso-G´ omez, V., 2022. CaptuRING: a do-it-yourself tool for wood sample digitization. Methods Ecol. Evol. 2022, 1–7. https://doi.org/10.1111/2041- 210x.13847. Griffin, D., Porter, S.T., Trumper, M.L., Carlson, K.E., Crawford, D.J., Schwalen, D., McFadden, C.H., 2021. Gigapixel macro photography of tree rings. Tree-Ring Res. 77, 86–94. https://doi.org/10.3959/TRR2021-3. Video S3. A video clip is available online. Supplementary material related to this article can be found online at doi:10.1016/j.dendro.2022.126021. M. García-Hidalgo et al.
Dendrochronologia 76 (2022) 126021 4 Maxwell, R.S., Larsson, L.A., 2021. Measuring tree-ring widths using the CooRecorder software application. Dendrochronologia 67, 125841. Maxwell, R.S., Wixom, J.A., Hessl, A.E., 2011. A comparison of two techniques for measuring and crossdating tree rings. Dendrochronologia 29 (4), 237–243. Rademacher, T., Seyednasrollah, B., Basler, D., Cheng, J., Mandra, T., Miller, E., Richardson, A.D., 2021. The Wood Image Analysis and Dataset (WIAD): open-access visual analysis tools to advance the ecological data revolution. Methods Ecol. Evol. 12 (12), 2379–2387. Schauer, M., Czekansky, J., Kreutzer, M., & Bienhaus, D., 2022. Robot-based image acquisition for dendrochronological analysis of curved wooden surfaces. In: Proceedings of the ISR Europe 2022 54th International Symposium on Robotics. VDE. pp. 1–6. Schneider, C.A., Rasband, W.S., Eliceiri, K.W., 2012. NIH image to ImageJ: 25 years of image analysis. Nat. Methods 9 (7), 671–675. Soille, P., Misson, L., 2001. Tree ring area measurements using morphological image analysis. Can. J. For. Res. 31 (6), 1074–1083. M. García-Hidalgo et al.