CN-121982161-A - Image processing method, apparatus, device, storage medium, and program product
Abstract
The embodiment of the application provides an image processing method, an image processing device, a storage medium and a program product. The method comprises the steps of obtaining size information of a product to be detected, generating a walking scheme of an image acquisition device according to the size information of the product to be detected, wherein the walking scheme is a walking path for image acquisition by the image acquisition device, controlling the image acquisition device to acquire images according to the walking scheme so as to obtain X-ray images of at least one inner area of the product to be detected, and performing stitching processing on the X-ray images to obtain a panoramic image of the interior of the product to be detected. The method can realize automatic splicing and panoramic reconstruction of the X-ray images of the multi-size products, and improves the product detection efficiency based on the X-ray images.
Inventors
- ZHAO SHANMIN
- WANG JIANXUN
- ZHOU WEN
- XU CHEN
Assignees
- 转转一零二四(北京)科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251223
Claims (11)
- 1. An image processing method, comprising: Generating a position moving scheme of the image acquisition equipment according to the size information of the product to be detected, wherein the position moving scheme is a position moving path of the image acquisition equipment for image acquisition; according to the walking scheme, controlling the image acquisition equipment to acquire images so as to obtain an X-ray image of at least one inner area of the product to be detected; And performing stitching processing on each X-ray image to obtain a panoramic image of the interior of the product to be detected.
- 2. The method according to claim 1, wherein the stitching each of the X-ray images to obtain a panoramic image of the interior of the product to be detected comprises: Performing feature processing on the X-ray image to obtain image features of the X-ray image, wherein the image features comprise edge features, line features and at least one image key point; Determining an overlapping area between the X-ray images corresponding to each two adjacent internal areas according to the image characteristics of the X-ray images corresponding to each two adjacent internal areas in the product to be detected; and splicing the X-ray images according to the overlapping areas to obtain a panoramic image of the inside of the product to be detected.
- 3. The method according to claim 2, wherein the performing feature processing on the X-ray image to obtain an image feature of the X-ray image includes: The method comprises the steps of obtaining a correction matrix of the image acquisition equipment, wherein the correction matrix comprises calibration parameters obtained by calibrating the image acquisition equipment based on a calibration plate; correcting the X-ray image according to the correction matrix to obtain a corrected image; And extracting the characteristics of the corrected image to obtain the image characteristics corresponding to the X-ray image.
- 4. The method according to claim 2, wherein the stitching each of the X-ray images according to each of the overlapping areas to obtain a panoramic image of the interior of the product to be detected includes: cutting each overlapping area according to the walking scheme to obtain at least one processed X-ray image; And splicing the at least one processed X-ray image to obtain a panoramic image of the inside of the product to be detected.
- 5. The method according to claim 1, wherein generating a positioning scheme of an image acquisition device according to the size information of the product to be detected comprises: and generating a walking scheme of the image acquisition equipment according to the size information and the category information of the product to be detected.
- 6. The method according to claim 1, wherein controlling the image acquisition device to perform image acquisition according to the walking scheme to obtain an X-ray image of at least one inner region of the product to be detected comprises: generating a walking instruction according to the walking scheme, wherein the walking instruction comprises the walking scheme; the position moving instruction is sent to an upper computer, wherein the position moving instruction is used for controlling the image acquisition equipment to acquire images according to a position moving scheme so as to obtain an X-ray image of at least one inner area of the product to be detected; and receiving at least one X-ray image of the product to be detected, which is sent by the upper computer.
- 7. The method according to any one of claims 1-6, further comprising: And adjusting the walking scheme of the image acquisition equipment in real time according to the image quality information of the X-ray image, wherein the image quality information comprises definition and contrast.
- 8. An image processing apparatus, comprising: the system comprises a generation module, a detection module and a display module, wherein the generation module is used for acquiring the size information of a product to be detected and generating a position moving scheme of the image acquisition equipment according to the size information of the product to be detected, wherein the position moving scheme is a position moving path of the image acquisition equipment for image acquisition; The acquisition module is used for controlling the image acquisition equipment to acquire images according to the walking scheme so as to obtain an X-ray image of at least one inner area of the product to be detected; and the splicing module is used for carrying out splicing processing on each X-ray image to obtain a panoramic image of the inside of the product to be detected.
- 9. An electronic device is characterized by comprising a memory and a processor; the memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-7.
- 10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
- 11. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 1-7.
Description
Image processing method, apparatus, device, storage medium, and program product Technical Field The present application relates to the field of image processing technologies, and in particular, to an image processing method, apparatus, device, storage medium, and program product. Background In the field of recycling and quality inspection of second-hand electronic products (such as mobile phones, notebook computers, tablets and the like), whether the products are overhauled is a core problem affecting recycling price and user experience. The traditional detection method relies on manual disassembly and inspection, so that the requirement on professional ability of technicians is extremely high, equipment is easy to damage in the disassembly process, and the product value is further reduced. The X-ray imaging technology is the preferred scheme for replacing manual disassembly because the X-ray imaging technology can penetrate through the equipment shell and generate an internal structure image. In the prior art, an X-ray device is utilized to locally image the device, and the position of the device is manually adjusted or images are manually spliced after multiple times of shooting. However, in the above manner, the detection efficiency of the subsequent product is low due to the manual adjustment of the device parameters and the image stitching process. Disclosure of Invention The application provides an image processing method, an image processing device, image processing equipment, a storage medium and a program product, which realize automatic splicing and panoramic reconstruction of X-ray images of multi-size products and improve the detection efficiency of products based on the X-ray images. In a first aspect, the present application provides an image processing method, including: Generating a position moving scheme of the image acquisition equipment according to the size information of the product to be detected, wherein the position moving scheme is a position moving path of the image acquisition equipment for image acquisition; according to the walking scheme, controlling the image acquisition equipment to acquire images so as to obtain an X-ray image of at least one inner area of the product to be detected; And performing stitching processing on each X-ray image to obtain a panoramic image of the interior of the product to be detected. In one possible implementation manner, the stitching processing is performed on each of the X-ray images to obtain a panoramic image of the interior of the product to be detected, including: Performing feature processing on the X-ray image to obtain image features of the X-ray image, wherein the image features comprise edge features, line features and at least one image key point; Determining an overlapping area between the X-ray images corresponding to each two adjacent internal areas according to the image characteristics of the X-ray images corresponding to each two adjacent internal areas in the product to be detected; and splicing the X-ray images according to the overlapping areas to obtain a panoramic image of the inside of the product to be detected. In a possible implementation manner, the performing feature processing on the X-ray image to obtain an image feature of the X-ray image includes: The method comprises the steps of obtaining a correction matrix of the image acquisition equipment, wherein the correction matrix comprises calibration parameters obtained by calibrating the image acquisition equipment based on a calibration plate; correcting the X-ray image according to the correction matrix to obtain a corrected image; And extracting the characteristics of the corrected image to obtain the image characteristics corresponding to the X-ray image. In a possible implementation manner, the stitching, according to each overlapping area, the X-ray images to obtain a panoramic image of the interior of the product to be detected includes: cutting each overlapping area according to the walking scheme to obtain at least one processed X-ray image; And splicing the at least one processed X-ray image to obtain a panoramic image of the inside of the product to be detected. In one possible implementation manner, the generating a positioning scheme of the image acquisition device according to the size information of the product to be detected includes: and generating a walking scheme of the image acquisition equipment according to the size information and the category information of the product to be detected. In a possible implementation manner, the controlling the image acquisition device to acquire an X-ray image of at least one inner area of the product to be detected according to the walking scheme includes: generating a walking instruction according to the walking scheme, wherein the walking instruction comprises the walking scheme; the position moving instruction is sent to an upper computer, wherein the position moving instruction is used for controlling the i