Method and device for determining size of object to be measured in image and storage medium
An in-image, object technology, used in image analysis, image data processing, instruments, etc., can solve the problems that the human eye is difficult to quickly identify the laser point, the recognition speed is slow, and the recognition accuracy is low.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 Shown is a flow chart of determining the size of an object to be measured in an image according to an embodiment of the present invention, showing specific implementation steps of the method, including:
[0043] S1, acquiring the image to be measured;
[0044] S2. Extracting pixel points satisfying preset conditions in the image to be measured as first feature points and second feature points;
[0045] S3. Calculate the pixel distance between the first feature point and the second feature point;
[0046] S4. Obtain a physical distance per pixel according to the pixel distance and the physical distance between the first feature point and the second feature point;
[0047] S5. Measure the pixel length of the object to be measured contained in the image to be measured, and obtain the size of the object to be measured according to the pixel length and the physical distance of the unit pixel.
[0048] Specifically, the step S2 includes:
[0049] S21. Dec...
Embodiment 2
[0063] This embodiment shows the actual scene where the present invention is applied in the field of bathymetry research, and the present invention realizes the measurement of the individual size of marine organisms in biological pictures. Such as figure 2 Shown is a flow chart of measuring the size of deep-sea organisms in an embodiment of the present invention, showing the specific implementation steps of the method, including:
[0064] S201. Acquire an original image.
[0065] In this example, the original image is obtained as the image to be measured, such as image 3 Shown is a raw image containing two laser spots and marine life for an embodiment of the invention, image 3 Markers 1 and 2 indicate the two laser spots contained in the original image.
[0066] S202. Decompose the original image to obtain a three-color grayscale image.
[0067] In this example, the original image is decomposed according to the three colors of RGB, and the grayscale image of the red cha...
Embodiment 3
[0100] The present invention also provides a device for determining the size of an object to be measured in an image, such as Figure 10 As shown, the device includes a processor 1001, a memory 1002, a bus 1003, and a computer program stored in the memory 1002 and operable on the processor 1001, the processor 1001 includes one or more processing cores, and the memory 1002 passes through the bus 1003 Connected to the processor 1001, the memory 1002 is used to store program instructions, and the processor implements the steps in the above method embodiments of the present invention when executing the computer program.
[0101] Further, as an executable solution, the device for determining the size of the object to be measured in the image may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. A system / electronic device may include, but is not limited to, a processor, memory. Those skilled in the art can understand that the compositi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com