{"title":"基于聚焦的视频距离测量","authors":"Harasim Eugen, C. Donciu","doi":"10.1109/EPE50722.2020.9305593","DOIUrl":null,"url":null,"abstract":"In monovision field- distance determination with a single camera or video- the methods for determining distances are varied and we can divide them as follows: a) based on focusfixing the lens in the position corresponding to the maximum sharpness of the acquired image (DFF- depth-from focusing); b) based on the blur / defocus of the lenses - (DFD - depth-from defocusing); c) combined methods. The DFF method scans the “scene” by taking sequences of images with various lens settings and tries to find the best focus. This paper presents a method of measuring distances based on focus. It is used a web video camera. To achieve the autofocus, the camera lens moves to a position where the clearest image is obtained. The maximum clarity is measured from the histograms of the images on which a filter with the role of highlighting the edges was initially applied. Knowing the focal length of the lens, the distances can be found from the lens equation (1). Theoretically, for each position of the lens, in which the maximum clarity is reached, it corresponds a measured distance between the object and the camera. Because the camera used has only 16 positions of the lens, each position corresponds to a range of distances, this range being of the order of centimeters. Measurement accuracy can be improved by applying a linear and parabolic interpolation process. In this way the errors reach the order of millimeters. The distance measuring device in the present paper consists of a fixed video camera, a PC with the role of information processing and an object moving in front of the camera on its optical axis. Both the camera and the object are arranged on a graduated ruler support on which the camera is calibrated.","PeriodicalId":250783,"journal":{"name":"2020 International Conference and Exposition on Electrical And Power Engineering (EPE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-10-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Video distance measurement based on focus\",\"authors\":\"Harasim Eugen, C. Donciu\",\"doi\":\"10.1109/EPE50722.2020.9305593\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In monovision field- distance determination with a single camera or video- the methods for determining distances are varied and we can divide them as follows: a) based on focusfixing the lens in the position corresponding to the maximum sharpness of the acquired image (DFF- depth-from focusing); b) based on the blur / defocus of the lenses - (DFD - depth-from defocusing); c) combined methods. The DFF method scans the “scene” by taking sequences of images with various lens settings and tries to find the best focus. This paper presents a method of measuring distances based on focus. It is used a web video camera. To achieve the autofocus, the camera lens moves to a position where the clearest image is obtained. The maximum clarity is measured from the histograms of the images on which a filter with the role of highlighting the edges was initially applied. Knowing the focal length of the lens, the distances can be found from the lens equation (1). Theoretically, for each position of the lens, in which the maximum clarity is reached, it corresponds a measured distance between the object and the camera. Because the camera used has only 16 positions of the lens, each position corresponds to a range of distances, this range being of the order of centimeters. Measurement accuracy can be improved by applying a linear and parabolic interpolation process. In this way the errors reach the order of millimeters. The distance measuring device in the present paper consists of a fixed video camera, a PC with the role of information processing and an object moving in front of the camera on its optical axis. Both the camera and the object are arranged on a graduated ruler support on which the camera is calibrated.\",\"PeriodicalId\":250783,\"journal\":{\"name\":\"2020 International Conference and Exposition on Electrical And Power Engineering (EPE)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-10-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 International Conference and Exposition on Electrical And Power Engineering (EPE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/EPE50722.2020.9305593\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 International Conference and Exposition on Electrical And Power Engineering (EPE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EPE50722.2020.9305593","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
In monovision field- distance determination with a single camera or video- the methods for determining distances are varied and we can divide them as follows: a) based on focusfixing the lens in the position corresponding to the maximum sharpness of the acquired image (DFF- depth-from focusing); b) based on the blur / defocus of the lenses - (DFD - depth-from defocusing); c) combined methods. The DFF method scans the “scene” by taking sequences of images with various lens settings and tries to find the best focus. This paper presents a method of measuring distances based on focus. It is used a web video camera. To achieve the autofocus, the camera lens moves to a position where the clearest image is obtained. The maximum clarity is measured from the histograms of the images on which a filter with the role of highlighting the edges was initially applied. Knowing the focal length of the lens, the distances can be found from the lens equation (1). Theoretically, for each position of the lens, in which the maximum clarity is reached, it corresponds a measured distance between the object and the camera. Because the camera used has only 16 positions of the lens, each position corresponds to a range of distances, this range being of the order of centimeters. Measurement accuracy can be improved by applying a linear and parabolic interpolation process. In this way the errors reach the order of millimeters. The distance measuring device in the present paper consists of a fixed video camera, a PC with the role of information processing and an object moving in front of the camera on its optical axis. Both the camera and the object are arranged on a graduated ruler support on which the camera is calibrated.