{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T01:12:53Z","timestamp":1760058773798,"version":"build-2065373602"},"reference-count":30,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2025,4,29]],"date-time":"2025-04-29T00:00:00Z","timestamp":1745884800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100000780","name":"European Union-Next Generation EU, Mission 4 Component 1","doi-asserted-by":"publisher","award":["CUP F53D23002700006","COMANCHE","P20229RMLB"],"award-info":[{"award-number":["CUP F53D23002700006","COMANCHE","P20229RMLB"]}],"id":[{"id":"10.13039\/501100000780","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100007359","name":"Fondazione di Sardegna","doi-asserted-by":"publisher","award":["CUP F53D23002700006","COMANCHE","P20229RMLB"],"award-info":[{"award-number":["CUP F53D23002700006","COMANCHE","P20229RMLB"]}],"id":[{"id":"10.13039\/100007359","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000780","name":"PRIN-PNRR 2022 project \u201cAQuAInt\u2013Approximation and Quadrature for Applicative Integral Models\u201d","doi-asserted-by":"publisher","award":["CUP F53D23002700006","COMANCHE","P20229RMLB"],"award-info":[{"award-number":["CUP F53D23002700006","COMANCHE","P20229RMLB"]}],"id":[{"id":"10.13039\/501100000780","id-type":"DOI","asserted-by":"publisher"}]},{"name":"INdAM-GNCS 2024 Project \u201cAlgebra lineare numerica per problemi di grandi dimensioni: aspetti teorici e applicazioni\u201d","award":["CUP F53D23002700006","COMANCHE","P20229RMLB"],"award-info":[{"award-number":["CUP F53D23002700006","COMANCHE","P20229RMLB"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>The mathematical model for photometric stereo makes several restricting assumptions, which are often not fulfilled in real-life applications. Specifically, an object surface does not always satisfies Lambert\u2019s cosine law, leading to reflection issues. Moreover, the camera and the light source, in some situations, have to be placed at a close distance from the target, rather than at infinite distance from it. When studying algorithms for these complex situations, it is extremely useful to have at disposal synthetic datasets with known exact solutions, to assert the accuracy of a solution method. The aim of this paper is to present a Matlab package which constructs such datasets on the basis of a chosen exact solution, providing a tool for simulating various real camera\/light configurations. This package, starting from the mathematical expression of a surface, or from a discrete sampling, allows the user to build a set of images matching a particular light configuration. Setting various parameters makes it possible to simulate different scenarios, which can be used to investigate the performance of reconstruction algorithms in several situations and test their response to lack of ideality in data. The ability to construct large datasets is particularly useful to train machine learning based algorithms.<\/jats:p>","DOI":"10.3390\/computers14050166","type":"journal-article","created":{"date-parts":[[2025,4,30]],"date-time":"2025-04-30T05:05:57Z","timestamp":1745989557000},"page":"166","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["On Generating Synthetic Datasets for Photometric Stereo Applications"],"prefix":"10.3390","volume":"14","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-1226-0168","authenticated-orcid":false,"given":"Elisa","family":"Crabu","sequence":"first","affiliation":[{"name":"Departmentof Mathematics and Computer Science, University of Cagliari, Via Ospedale, 72, 09124 Cagliari, Italy"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9054-8712","authenticated-orcid":false,"given":"Giuseppe","family":"Rodriguez","sequence":"additional","affiliation":[{"name":"Departmentof Mathematics and Computer Science, University of Cagliari, Via Ospedale, 72, 09124 Cagliari, Italy"}]}],"member":"1968","published-online":{"date-parts":[[2025,4,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"690","DOI":"10.1109\/34.784284","article-title":"Shape from Shading: A Survey","volume":"21","author":"Zhang","year":"1999","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"22","DOI":"10.1016\/j.cviu.2007.09.003","article-title":"Numerical methods for Shape-from-Shading: A new survey with benchmarks","volume":"109","author":"Durou","year":"2008","journal-title":"Comput. Vis. Image Underst."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/978-981-99-0776-2_1","article-title":"An overview of some mathematical techniques and problems linking 3D vision to 3D printing","volume":"Volume 54","author":"Cristiani","year":"2023","journal-title":"Mathematical Methods for Object Reconstruction: From 3D Vision to 3D Printing"},{"key":"ref_4","first-page":"136","article-title":"Photometric stereo: A reflectance map technique for determining surface orientation from image intensity","volume":"Volume 155","author":"Woodham","year":"1979","journal-title":"Proceedings of the Image Understanding Systems and Industrial Applications I"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"139","DOI":"10.1117\/12.7972479","article-title":"Photometric method for determining surface orientation from multiple images","volume":"19","author":"Woodham","year":"1980","journal-title":"Opt. Eng."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/0096-3003(91)90001-4","article-title":"Existence and uniqueness in photometric stereo","volume":"44","author":"Kozera","year":"1991","journal-title":"Appl. Math. Comput."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"616","DOI":"10.1137\/110857258","article-title":"Uniqueness and approximation of a photometric shape-from-shading model","volume":"6","author":"Mecca","year":"2013","journal-title":"SIAM J. Imaging Sci."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Crabu, E., Pes, F., Rodriguez, G., and Tanda, G. (2023). Ascertaining the ideality of photometric stereo datasets under unknown lighting. Algorithms, 16.","DOI":"10.3390\/a16080375"},{"key":"ref_9","first-page":"132","article-title":"Recent improvements in photometric stereo for rock art 3D imaging","volume":"2","author":"Mannu","year":"2015","journal-title":"Digit. Appl. Archaeol. Cult. Herit. (DAACH)"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Lichy, D., Sengupta, S., and Jacobs, D.W. (2022, January 18\u201324). Fast light-weight near-field photometric stereo. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.01228"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"101","DOI":"10.1007\/s11263-022-01689-3","article-title":"A CNN based approach for the point-light photometric stereo problem","volume":"131","author":"Logothetis","year":"2023","journal-title":"Int. J. Comput. Vis."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Ikehata, S., Wipf, D., Matsushita, Y., and Aizawa, K. (2012, January 16\u201321). Robust photometric stereo using sparse regression. Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA.","DOI":"10.1109\/CVPR.2012.6247691"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"3014","DOI":"10.1007\/s11263-022-01684-8","article-title":"Normattention-psn: A high-frequency region enhanced photometric stereo network with normalized attention","volume":"130","author":"Ju","year":"2022","journal-title":"Int. J. Comput. Vis."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Logothetis, F., Budvytis, I., Mecca, R., and Cipolla, R. (2021, January 10\u201317). Px-net: Simple and efficient pixel-wise training of photometric stereo networks. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Montreal, QC, Canada.","DOI":"10.1109\/ICCV48922.2021.01252"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Abada, L., Hannachi, I., Laallam, M.W., and Aouat, S. (2023, January 25\u201326). Enhanced three-dimensional reconstruction by photometric stereo. Proceedings of the 2023 5th International Conference on Pattern Analysis and Intelligent Systems (PAIS), Setif, Algeria.","DOI":"10.1109\/PAIS60821.2023.10322023"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, K., Qi, L., Qin, S., Luo, K., Ju, Y., Li, X., and Dong, J. (2024, January 18\u201324). Image Gradient-Aided Photometric Stereo Network. Proceedings of the Pacific Rim International Conference on Artificial Intelligence, Kyoto, Japan.","DOI":"10.1007\/978-981-96-0122-6_25"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1007\/978-981-99-0776-2_2","article-title":"Photometric stereo with non-Lambertian preprocessing and Hayakawa lighting estimation for highly detailed shape reconstruction","volume":"Volume 54","author":"Cristiani","year":"2023","journal-title":"Mathematical Methods for Object Reconstruction: From 3D Vision to 3D Printing"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Guo, H., Ren, J., Wang, F., Shi, B., Ren, M., and Matsushita, Y. (2024, January 17\u201318). DiLiGenRT: A Photometric Stereo Dataset with Quantified Roughness and Translucency. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR52733.2024.01122"},{"key":"ref_19","unstructured":"Mecca, R., Logothetis, F., Budvytis, I., and Cipolla, R. (2021). Luces: A dataset for near-field point light source photometric stereo. arXiv."},{"key":"ref_20","unstructured":"Ren, J., Wang, F., Zhang, J., Zheng, Q., Ren, M., and Shi, B. (2022, January 18\u201324). Diligent102: A photometric stereo benchmark dataset with controlled shape and material variation. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Shi, B., Wu, Z., Mo, Z., Duan, D., Yeung, S.K., and Tan, P. (2016, January 27\u201330). A benchmark dataset and evaluation for non-Lambertian and uncalibrated photometric stereo. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.403"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Ikehata, S. (2018, January 8\u201314). CNN-PS: CNN-based photometric stereo for general non-convex surfaces. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.","DOI":"10.1007\/978-3-030-01267-0_1"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Ikehata, S. (2022, January 18\u201324). Universal photometric stereo network using global lighting contexts. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.01226"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Ikehata, S. (2023, January 18\u201322). Scalable, detailed and mask-free universal photometric stereo. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.","DOI":"10.1109\/CVPR52729.2023.01268"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Santo, H., Samejima, M., Sugano, Y., Shi, B., and Matsushita, Y. (2017, January 22\u201329). Deep photometric stereo network. Proceedings of the IEEE International Conference on Computer Vision Workshops, Venice, Italy.","DOI":"10.1109\/ICCVW.2017.66"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Concas, A., Dess\u00ec, R., Fenu, C., Rodriguez, G., and Vanzi, M. (2021, January 13\u201316). Identifying the lights position in photometric stereo under unknown lighting. Proceedings of the 2021 21st International Conference on Computational Science and Its Applications (ICCSA), Cagliari, Italy.","DOI":"10.1109\/ICCSA54496.2021.00013"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Bj\u00f6rck, \u00c5. (1996). Numerical Methods for Least Squares Problems, SIAM.","DOI":"10.1137\/1.9781611971484"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"3079","DOI":"10.1364\/JOSAA.11.003079","article-title":"Photometric stereo under a light source with arbitrary motion","volume":"11","author":"Hayakawa","year":"1994","journal-title":"J. Opt. Soc. Am. A\u2014Opt. Image Sci. Vis."},{"key":"ref_29","first-page":"5005512","article-title":"Shadow-based lightsource localization with direct camera\u2013lightsource geometry","volume":"73","author":"Jin","year":"2023","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_30","unstructured":"Brown, C.W. (2025, April 27). Learn WebGL. Available online: https:\/\/learnwebgl.brown37.net\/."}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/5\/166\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:24:32Z","timestamp":1760030672000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/5\/166"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,29]]},"references-count":30,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2025,5]]}},"alternative-id":["computers14050166"],"URL":"https:\/\/doi.org\/10.3390\/computers14050166","relation":{},"ISSN":["2073-431X"],"issn-type":[{"type":"electronic","value":"2073-431X"}],"subject":[],"published":{"date-parts":[[2025,4,29]]}}}