Image splicing method and system
Through the cooperation of the traveling device and the sensing component, the motion data of the C-arm X-ray machine is accurately measured, which solves the problem of inaccurate coordinate positioning, improves the efficiency and quality of image stitching, and reduces radiation exposure.
Patent Information
- Application Number
- CN202410844537.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-15
AI Technical Summary
The existing C-arm X-ray machine cannot accurately measure the coordinate position of the S-point light source when moving, resulting in inaccurate coordinate positioning when splicing multiple images, affecting the splicing quality and efficiency.
The target device is driven by the traveling device to move, and the motion data captured by the sensing component coupled to the traveling device is received in real time, the motion data is compared with the initial position in real time, and prompt information is issued to ensure that the current coordinate information is obtained after the target device is in place, which is used for images. Registration and fusion processing.
It achieves precise coordinate measurement of the target device, improves the efficiency and quality of image stitching, and reduces radiation exposure to the human body.
Smart Images

Figure CN118766480A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical device technology, and in particular to an image stitching method and system. Background Art
[0002] A C-arm X-ray machine refers to an X-ray device with a C-shaped frame, which is used for real-time dynamic imaging during surgery. The main uses of the C-arm include orthopedic nailing, bone setting, and reduction; as well as surgical pacemaker implantation, removal of foreign bodies in the body, some angiography, and some interventional surgery. The application of X-ray medical imaging, especially for orthopedics, requires doctors to obtain the patient's complete upper and lower limb lines. Due to the limited size of the imaging device in the photographic system, larger images are usually divided into multiple shots and then stitched into a complete image in subsequent processing. How to stitch multiple overlapping images of the same scene into a larger image is of great significance in fields such as medical imaging.
[0003] The two key steps of image stitching are registration and fusion. The purpose of registration is to register images to the same coordinate system based on the geometric motion model; fusion is to combine the registered images into a large stitched image. In the process of multiple image registration, the geometric motion models used are mainly: translation model, similarity model, affine model and perspective model. Among them, the translation model of the image means that the image only moves in the X and Y directions in two-dimensional space. If the camera only undergoes translational motion, the translation model can be used.
[0004] The existing C-arm X-ray machine can move in any direction when it is moved. Although it is convenient for pushing, when collecting images at the next position, the coordinate position of the C-arm X-ray machine (especially the S-point light source on it) cannot be accurately measured due to the irregular and arbitrary movement of the C-arm X-ray machine, which is not conducive to the coordinate positioning when stitching multiple images. Summary of the invention
[0005] The embodiments of the present application provide an image stitching method and system, which can accurately measure the current coordinate position of a target device, thereby providing accurate coordinate positions for cropping and stitching of multiple images, thereby improving image stitching efficiency and stitching quality.
[0006] According to a first aspect of an embodiment of the present application, there is provided an image stitching method for stitching at least two images acquired by a target device, wherein the target device is disposed on a moving device, and the moving device can drive the target device to move along a predetermined direction; the method comprises:
[0007] Acquire a first image captured by the target device at an initial position;
[0008] receiving instruction information for moving to a next position for shooting, and receiving in real time motion data captured by a sensing component coupled to the traveling device;
[0009] Compare the motion data with the initial position in real time, and issue a prompt message when the motion data is within a preset range; wherein the prompt message is used to indicate that the target device has moved into position;
[0010] Acquire a second image captured after the target device is in place, and acquire current coordinate information of the target device determined based on the motion data;
[0011] Based on the initial position and current coordinate information, the second image and the first image are registered and fused.
[0012] In a feasible implementation, the target device is connected to a cross arm assembly, and the cross arm assembly is movably disposed on a support frame of the traveling device;
[0013] The step of receiving in real time the motion data captured by the sensing component coupled to the traveling device comprises:
[0014] receiving a trigger signal sent by the sensing component, and determining whether the cross arm component drives the target device to move;
[0015] If the cross arm assembly drives the target assembly to move, the moving position information of the cross arm assembly is obtained, and the motion data of the target device is determined in combination with the distance information output by the sensing assembly;
[0016] If the cross arm assembly is not driving the target assembly to move, the moving position information of the traveling device is obtained, and the motion data of the target device is determined in combination with the distance information output by the sensing assembly.
[0017] In a feasible implementation, the traveling device includes a handle assembly, a transmission assembly, and a moving assembly that are sequentially connected in transmission, and the sensing assembly includes a first sensing member and a second sensing member, the first sensing member is arranged on the moving assembly, and the second sensing member is arranged corresponding to the handle assembly;
[0018] The step of acquiring the moving position information of the traveling device and determining the motion data of the target device in combination with the acquired distance information output by the sensing component comprises:
[0019] receiving a trigger signal sent by the second sensing element to obtain position data of the mobile component;
[0020] receiving data information sent by the first sensing component to obtain distance data of the mobile component;
[0021] The motion data of the target device is obtained by corresponding the orientation data and the distance data.
[0022] In a feasible implementation, the traveling device further includes a locking assembly, which is used to limit the handle assembly so as to limit the moving assembly in the X direction or the Y direction; the second sensing member includes at least two sensors, which are arranged on the locking assembly and can be triggered when the locking assembly limits the handle assembly;
[0023] The step of obtaining the position data of the mobile component comprises:
[0024] A trigger signal of the sensor is received to obtain whether the moving direction of the target device is the X direction or the Y direction.
[0025] In a feasible implementation, the first sensing member includes an angular displacement encoder, and the angular displacement encoder is installed on the moving component;
[0026] The step of obtaining the distance data of the mobile component comprises:
[0027] The data information of the angular displacement encoder is received to generate the moving distance information of the moving component.
[0028] In a feasible implementation, the angular displacement encoder includes a photoelectric encoder, and the code disk in the photoelectric encoder includes two pulse signals with a phase difference;
[0029] The step of generating the moving distance information of the moving component comprises:
[0030] The pulse signal sent by the code disk is received to determine whether the moving component moves forward or backward, and the moving distance information is obtained by adding and subtracting the data information.
[0031] In a feasible implementation, the cross arm assembly drives the target device to move along the X direction, and the cross arm assembly includes a third sensing member, and the third sensing member is arranged corresponding to the support frame;
[0032] The step of acquiring the moving position information of the cross arm component and determining the motion data of the target device in combination with the acquired distance information output by the sensing component comprises:
[0033] The data information sent by the third sensing element is received to obtain the position data and the distance data of the target device, and the motion data of the target device is calculated according to the position data and the distance data.
[0034] In a feasible implementation, the step of comparing the motion data with the initial position in real time and issuing a prompt message when the motion data is within a preset range includes:
[0035] Get the size of the image captured by the target device;
[0036] Based on the image size, retrieve the overlapping area range of adjacent images to obtain the moving range of the target device;
[0037] Instruction information indicating that the target device enters the moving range is received, so as to issue prompt information indicating that the target device is in position.
[0038] In a feasible implementation, the range of the overlapping area of adjacent images is the ratio a of the overlapping area to the image size, where a is 0.2-0.3.
[0039] In a feasible implementation, the method further includes:
[0040] Acquire multiple images captured by the target setting, and obtain multiple coordinate information corresponding to the multiple images;
[0041] Based on the coordinate information, the multiple images are cropped and spliced to form a fused image for output.
[0042] According to a second aspect of an embodiment of the present application, an image stitching system is provided, for stitching at least two images acquired by a target device, wherein the target device is disposed on a traveling device, and the traveling device can drive the target device to move along a predetermined direction; the system comprises:
[0043] An image acquisition unit, configured to acquire a first image captured by the target device at an initial position;
[0044] A receiving unit, used to receive instruction information for moving to a next position for shooting, and to receive in real time motion data captured by a sensing component coupled to the traveling device;
[0045] A comparison unit, used for comparing the motion data with the initial position in real time, and issuing a prompt message when the motion data is within a preset range; wherein the prompt message is used to indicate that the target device has moved into position;
[0046] The image acquisition unit is further used to acquire a second image captured after the target device is in place, and to acquire current coordinate information of the target device determined based on the motion data;
[0047] The fusion unit performs registration and fusion processing on the second image and the first image based on the initial position and the current coordinate information.
[0048] The image stitching method and system provided in the embodiment of the present application drives the target device to move in a predetermined direction through a traveling device, and receives data information sent by a sensing component coupled to the traveling device in real time to obtain the motion data of the target device (including azimuth data and distance data). This setting can accurately measure the current coordinate position of the target device, thereby providing accurate coordinate positions for the cropping and stitching of multiple images, improving the image stitching efficiency and stitching quality. In addition, the current motion data of the target device can be compared with the initial position to ensure that the target device is moved to the appropriate position before shooting, avoiding radiation damage to the human body caused by multiple shots. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 This is one of the overall structural schematic diagrams of a C-arm X-ray machine provided according to an embodiment of the present application;
[0051] Figure 2 This is the second schematic diagram of the overall structure of the C-arm X-ray machine provided according to the embodiment of the present application;
[0052] Figure 3 It is one of the overall structural schematic diagrams of the traveling device provided according to the embodiment of the present application;
[0053] Figure 4 This is the second schematic diagram of the overall structure of the traveling device provided according to the embodiment of the present application;
[0054] Figure 5 is a schematic diagram of the structural disassembly of a locking assembly provided according to an embodiment of the present application;
[0055] Figure 6 is one of the cross-sectional schematic diagrams of the locking assembly (corresponding to the X direction) provided according to an embodiment of the present application;
[0056] Figure 7 This is a second cross-sectional schematic diagram of a locking assembly (corresponding to the Y direction) provided according to an embodiment of the present application;
[0057] Figure 8 is a schematic diagram of the structure of a mobile assembly provided according to an embodiment of the present application;
[0058] Fig. 9It is a schematic diagram of the structural disassembly of the mobile assembly and the first sensing element according to an embodiment of the present application;
[0059] Fig.10 is a cross-sectional schematic diagram of a moving assembly and a first sensing element provided according to an embodiment of the present application;
[0060] Fig.11 is a schematic diagram of the overall structure of a cross arm assembly provided according to an embodiment of the present application;
[0061] Fig.12 is a schematic diagram of the structural disassembly of a cross arm assembly provided according to an embodiment of the present application;
[0062] Fig.13 This is one of the flowcharts of the image stitching method provided in the embodiment of the present application;
[0063] Fig.14 is a schematic diagram of the imaging principle of a C-arm provided according to an embodiment of the present application;
[0064] Fig.15 This is a second flow chart of the image stitching method provided according to an embodiment of the present application;
[0065] Fig.16 This is a third flow chart of the image stitching method provided according to an embodiment of the present application;
[0066] Fig.17 It is a structural schematic diagram of an image stitching system provided according to an embodiment of the present application.
[0067] Reference numerals:
[0068] 100, support frame; 110, upper chassis; 120, lower chassis;
[0069] 200, moving assembly; 210, steering wheel; 211, wheel axle; 220, mounting bracket; 230, first sensing element; 231, light source; 232, photoelectric element; 233, code disc; 234, fixing bracket;
[0070] 300, handle assembly; 310, handle shaft seat; 320, bearing;
[0071] 400, transmission assembly; 410, transmission wheel; 420, transmission bar; 430, transmission rod; 440, transition wheel;
[0072] 500, locking assembly; 510, steering limiter; 511, base plate; 512, protrusion; 513, elastic member; 514, step screw; 515, fixing bolt; 520, clamping member; 521, cam; 5211, groove; 530, second sensing member;
[0073] 600, cross arm assembly; 610, moving frame; 620, cross arm handle; 621, brake lever; 630, third induction member;
[0074] 700. Image stitching equipment;
[0075] 800, sliding assembly; 810, brake component;
[0076] 900, training wheels;
[0077] 10. Image acquisition unit; 20. Receiving unit; 30. Comparison unit; 40. Fusion unit. DETAILED DESCRIPTION
[0078] The following is a further detailed description of the implementation of the present application in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but cannot be used to limit the scope of the present application.
[0079] The traveling device in the present application can be understood as a traveling device used in a C-arm X-ray machine, but it is not limited to this. The X-rays emitted by the S point light source of the C-arm X-ray machine are first converted into visible light through the input conversion screen of the X-ray image intensifier. The visible light irradiates the photocathode and emits electrons. After being accelerated and focused, the electron beam bombards the fluorescent output screen to produce a visible light image. The projection method of the X-rays of the C-arm X-ray machine is central projection. Figure 1 As shown, when the C-arm X-ray machine adjusts the angle of the X-ray device, medical personnel can take multiple sets of images by moving the mobile device along a certain direction. At this time, different human body imaging areas can be obtained by moving the position of the C-arm X-ray machine's emission point S. However, the existing C-arm X-ray machine has casters that can move in any direction when the device is moving. Although it is conducive to pushing, it is not restricted when moving, and it is difficult to image multiple sets of images in a limited area, which is not conducive to image cropping.
[0080] Based on the above problems, the present application embodiment first provides a traveling device for carrying an image stitching device. Figure 2 This is the second schematic diagram of the overall structure of the C-arm X-ray machine provided according to the embodiment of the present application; Figure 3 It is one of the overall structural schematic diagrams of the traveling device provided according to the embodiment of the present application; Figure 4 This is the second schematic diagram of the overall structure of the traveling device provided according to the embodiment of the present application. Figure 2-4 As shown, the traveling device is used to drive the image stitching device 700 disposed thereon to move. Taking the above-mentioned C-arm X-ray machine as an example, the image stitching device 700 in this example can be a C-arm, which can move under the drive of the traveling device, thereby realizing the shooting of different areas of the human body.
[0081] Travel device mechanism
[0082] In some embodiments, the traveling device may include a support frame 100 , a moving assembly 200 , a handle assembly 300 , and a transmission assembly 400 .
[0083] The moving component 200 includes at least one group of steering wheels 210 and a mounting bracket 220 for fixing on the support 100, and the steering wheel 210 is provided with a first sensing element 230; the handle component 300 is rotatably arranged on the support frame 100, and a second sensing element 530 is arranged at the handle component 300; the transmission component 400 includes a plurality of transmission wheels 410 and a transmission bar 420, and the transmission bar 420 is wound around the plurality of transmission wheels 410, at least one transmission wheel 410 is connected to the handle component 300, and the remaining transmission wheels 410 are correspondingly connected to the steering wheel 210, and the transmission component 400 is configured to move the moving component 200 in a predetermined direction under the driving force applied by the handle component 300, obtain distance information through the output value of the first sensing element 230, and obtain orientation information through the output value of the second sensing element 530, so as to determine the current coordinate information of the image stitching device 700.
[0084] It can be understood that the moving assembly 200 in this example is connected to the handle assembly 300 through the transmission assembly 400, that is, the moving direction of the moving assembly 200 can be controlled by rotating the handle assembly 300. The moving assembly 200 in this example can be a universal wheel. Due to the limitation of the transmission assembly 400, the universal wheel can only move in one direction, thereby driving the image stitching device 700 to move in a predetermined direction. This setting can prevent the moving device from being unrestricted when moving, and it is difficult for the multiple groups of images taken by the image stitching device 700 to be imaged in a limited area, which is not conducive to the subsequent cropping and stitching of multiple images.
[0085] The handle assembly 300 can be rotated manually, and the transmission assembly 400 can be directly connected to the mobile assembly 200 as a transmission rod 430, so as to achieve the purpose of rotating the handle assembly 300 to a specific direction, and the mobile assembly 200 can follow the predetermined direction of rotation (consistent with the specific direction, or having a corresponding relationship). Of course, considering the rationality of setting the mobile assembly 200 and the handle assembly 300 on the support frame 100, as well as the convenience of use, the transmission assembly 400 can adopt a chain, a synchronous belt, a wire rope, a worm gear, a gear rack and the like. Under the drive of the handle assembly 300, the force is effectively transmitted to the mobile assembly 200 to limit the mobile assembly 200 to a predetermined direction. This arrangement can realize the movement of the image stitching device 700 in a predetermined direction when the traveling device is driven to move by an external force, that is, the regular movement of the image stitching device 700 is realized, so that the displacement of the image stitching device 700 can be easily determined, which is convenient for calculating the coordinates of the image stitching device 700 after movement, and is beneficial to the subsequent cropping and stitching of multiple images.
[0086] Taking the above-mentioned transmission component 400 as a synchronous belt as an example, the handle component 300, that is, a conventional handle, can be rotatably set on the support frame 100 by means of a rotating shaft and a bearing, and the moving component 200, that is, a universal wheel, can also be rotatably set on the support frame 100 by means of a rotating shaft and a bearing. In order to achieve synchronous transmission of the two, the synchronous belt can be connected to the rotating shafts of the two. When the handle component 300 rotates, it will drive the connected synchronous belt to move, and the synchronous belt will drive the connected moving component 200 to rotate; when the handle component 300 stops rotating, the synchronous belt also stops moving immediately, and can also effectively prevent the moving component 200 from rotating, so that the moving component 200 can only move in a predetermined direction.
[0087] During the movement of the moving assembly 200 along a predetermined direction, in order to prevent the moving assembly 200 from deflecting, the moving assembly 200 can be limited by manually holding the handle assembly 300 continuously to prevent the handle assembly 300 from deflecting. Of course, a locking assembly 500 can also be provided between the handle assembly 300 and the support frame 100, and the locking assembly 500 can be used to limit the handle assembly 300 in a preset direction, so as to indirectly limit the moving assembly 200, so as to maintain the accuracy of the position of the traveling device during the movement.
[0088] In order to facilitate the description of the process of the moving device driving the image stitching device 700 to move in a preset direction and obtaining the coordinate information of the image stitching device 700, this example defines that the moving device can drive the image stitching device 700 to move in two dimensions in the horizontal direction, and the moving direction includes the X direction or the Y direction, and the X direction and the Y direction are defined to be perpendicular to each other. Of course, in actual applications, the horizontal moving direction of the moving device can be customized according to the actual shooting scene, and can include a third direction in addition to the X direction and the Y direction, and the X direction can also be made not perpendicular to the Y direction, which is not limited here.
[0089] When the image stitching device 700 needs to move in the X direction, the handle assembly 300 is rotated, and the second sensing member 530 corresponding to the handle assembly 300 can be triggered due to the rotation of the handle assembly 300, thereby sending out a first orientation signal (corresponding to the X direction). Since the force transmission of the transmission assembly 400 limits the moving assembly 200, that is, the moving assembly 200 can only move in the X direction, during the movement of the moving assembly 200, the first sensing member 230 provided on the moving assembly 200 continuously sends out the first data information (distance data). The host computer that is in communication connection with the first sensing member 230 and the second sensing member 530 will determine the current coordinate information of the image stitching device 700 after receiving the first orientation signal and the first data information, so as to facilitate the cropping and fusion processing of the multiple images acquired by the image stitching device 700 according to the coordinate information.
[0090] It should be noted that the first sensing element 230 may obtain the distance data by subtracting the coordinates of the previous image (including the dot coordinates) from the position coordinates of the image stitching device 700 after movement.
[0091] Similarly, when the image stitching device 700 needs to move in the Y direction, the handle assembly 300 can be rotated to turn the moving assembly 200 to the Y direction, and then the moving assembly 200 can be driven by an external force to move in the Y direction. During this process, the second sensor 530 is triggered to send out a second orientation signal (corresponding to the Y direction), and the first sensor continuously sends out a second data information (distance data). The host can confirm the current coordinate information of the image stitching device 700 based on the received orientation information and distance information.
[0092] In addition, in addition to the method of pushing the moving device as a whole to drive the image stitching device 700 to move, in some embodiments, the moving device also includes a cross arm assembly 600, which is arranged on the support frame 100 and is connected to the image stitching device 700. The cross arm assembly 600 can move relative to the support frame 100 to drive the image stitching device 700 to move in a predetermined direction; wherein, the cross arm assembly 600 also includes a third sensing element 630, and the third sensing element 630 is used to output the moving distance of the image stitching device 700.
[0093] Specifically, the cross arm assembly 600 can reciprocate along the X direction relative to the support frame 100, that is, the cross arm assembly 600 can only drive the image stitching device 700 to move along the X direction. Since the moving direction of the cross arm assembly 600 is determined, in order to obtain the coordinate information of the image stitching device 700 in this scene, a third sensing element 630 is provided on the cross arm assembly 600. The third sensing element 630 can continuously send out third data information (distance data). After receiving the third data information, the host will immediately determine the moving direction of the image stitching device 700, and then confirm the current coordinate information of the image stitching device 700 in combination with the distance data.
[0094] It should be noted that, during the process of shooting multiple images, the image stitching device 700 can move only along the X direction or the Y direction, or move alternately in the X direction and the Y direction. Regardless of the movement method, the coordinates of each image shot by the image stitching device 700 are obtained. After the image shooting is completed, the host will crop and stitch the multiple images according to the obtained multiple images and the corresponding coordinates, so as to finally merge a complete image.
[0095] In the present application, the moving component 200 and the handle component 300 are connected through the transmission component 400, so that the steering wheel (image stitching device 700) in the moving component 200 can only move in a predetermined direction through the handle component 300, and through the setting of the first sensing component 230 (distance information) and the second sensing component 530 (orientation information), the current coordinate position of the image stitching device 700 can be accurately measured, thereby providing accurate coordinate positions for cropping and stitching of multiple images, thereby improving image stitching efficiency and stitching quality.
[0096] Next, we will refer to Figure 1-Figure 12 The structure of the traveling device provided in the embodiment of the present application is described in detail.
[0097] Figure 5 is a schematic diagram of the structural disassembly of a locking assembly provided according to an embodiment of the present application; Figure 6 is one of the cross-sectional schematic diagrams of the locking assembly (corresponding to the X direction) provided according to an embodiment of the present application; Figure 7 This is the second cross-sectional schematic diagram of the locking assembly (corresponding to the Y direction) provided according to the embodiment of the present application.
[0098] like Figure 5-Figure 7 As shown, in some embodiments, the traveling device further includes a locking assembly 500, which is disposed between the support frame 100 and the handle assembly 300, and the locking assembly 500 is configured to limit the steering wheel 210 to a preset direction.
[0099] It can be understood that a locking assembly 500 is provided between the support frame 100 and the handle assembly 300, which can limit and lock the handle assembly 300 during the rotation of the handle assembly 300, so that the handle assembly 300 is located in a specific direction (corresponding to the X direction or the Y direction), and the limitation of the handle assembly 300 is also the limitation of the moving assembly 200, thereby precisely limiting the moving assembly 200 in the X direction or the Y direction. Even if the handle assembly 300 is not held continuously, the moving assembly 200 is not easy to deviate during the movement, thereby providing a guarantee for providing accurate coordinates of the image stitching device 700.
[0100] The locking assembly 500 can be a rebound rod, one end of which is fixed on the support frame 100, and the other end is provided with a protrusion, and is abutted against the rotating shaft of the handle assembly 300. The rotating shaft is provided with at least two slots adapted to the protrusion. When the handle assembly 300 rotates, the rotating shaft will move relative to the rebound rod, thereby engaging the protrusion in the slot, or causing the protrusion to be disengaged from the slot, thereby realizing the locking or unlocking of the handle assembly 300 by the rebound rod.
[0101] The above-mentioned locking assembly 500 can also be, in some embodiments, the locking assembly 500 includes a steering limit member 510 and a clamping member 520; the steering limit member 510 is movably arranged on the support frame 100, the clamping member 520 is fixedly connected to the handle assembly 300 or the transmission assembly 400, and the steering limit member 510 abuts against the clamping member 520; the clamping member 520 is configured to rotate under the drive of the handle assembly 300 to achieve clamping locking with the steering limit member 510.
[0102] Specifically, the handle assembly 300 in this example may include a handle body, a handle shaft seat 310 and a bearing 320. The handle body is rotatably arranged on the support frame 100 through the handle shaft seat 310 and the bearing 320. One end of the handle body may be provided with a shaft or directly fixedly connected to the transmission rod 430 described below. The shaft or the transmission rod 430 is fixedly connected to the clamping member 520 so that the clamping member 520 rotates with the rotation of the handle assembly 300. The steering limiter 510 is rotatably arranged on the support frame 100, and is used to clamp and lock the clamping member 520. The clamping and locking method may be that the steering limiter 510 is arranged on the support frame 100 through a buckle, etc. When the clamping member 520 rotates to a specific direction with the handle assembly 300, the steering limiter 510 can be locked by manually bending the buckle, so that the steering limiter 510 continuously applies force to the clamping member 520, thereby locking the clamping member 520.
[0103] Of course, in addition to the above method, the steering limiter 510 can also be set as a rubber pad, and a plurality of protrusions 512 can be constructed on the clamping member 520. When the protrusions 512 rotate to the rubber pad along with the clamping member 520, the friction force of the rotation will be increased, thereby achieving the locking of the clamping member 520 and the steering limiter 510.
[0104] In order to enhance the locking firmness of the clamping member 520 and the steering limiter 510, in some embodiments, the steering limiter 510 is configured with a groove 5211, and the clamping member 520 is configured with a plurality of protrusions 512 adapted to be engaged with the groove 5211. Specifically, by configuring the groove 5211 adapted to the protrusion 512 in the steering limiter 510, when the protrusion 512 rotates to the groove 5211, the protrusion 512 is engaged with the groove 5211, thereby achieving effective locking of the clamping member 520 and the steering limiter 510.
[0105] Of course, this can also be achieved by providing the protrusion 512 on the steering limiter 510 and the groove 5211 on the clamping member 520 .
[0106] To achieve the rotation of the handle assembly 300, a relatively small force is required to lock or unlock the handle assembly 300. Figure 5As shown, in some embodiments, the steering limit member 510 includes a base plate 511 and a protrusion 512, one end of the base plate 511 is rotatably connected to the support frame 100, and the other end is connected to the support frame 100 through an elastic member 513; the protrusion 512 is arranged on the base plate 511 and abuts against the clamping member 520, so that when the clamping member 520 rotates, the base plate 511 rotates around the end away from the elastic member 513, so that the protrusion 512 switches between a locked position and an unlocked position. In the locked position, the protrusion 512 is clamped with one of the grooves 5211 on the clamping member 520, and the elastic member 513 maintains a first tension state. In the unlocked position, the protrusion 512 abuts against the outer edge of the clamping member 520, and the elastic member 513 maintains a second tension state.
[0107] Specifically, at least two grooves 5211 that are adapted to be engaged with the protrusion 512 are provided on the clamping member 520. Under the action of the elastic member 513, the protrusion 512 continues to abut against the clamping member 520. When the handle assembly 300 is rotated, the clamping member 520 and the grooves 5211 thereon rotate accordingly until one of the grooves 5211 is engaged with the protrusion 512 (for example, so that the moving assembly 200 is in the first direction). Since the elastic member 513 continuously applies force, it is difficult for the protrusion 512 to fall out of the groove 5211, thereby avoiding the problem of displacement of the moving assembly 200 during movement.
[0108] In addition, the elastic member 513 adopts a tension spring, and the tension spring is kept in a stretched state (there is a rebound tension). Even if the tension in the first tension state is smaller than the tension in the second tension state, this arrangement can make the protrusion 512 continue to abut against the clamping member 520.
[0109] It should be noted that if Figure 5 As shown, one end of the base plate 511 can be rotatably mounted on the support frame 100 by a step screw 514, and the other end is connected with a fixing bolt 515, which is connected to one end of the tension spring, and the other end of the tension spring is also connected with a fixing bolt 515, so as to fix the other end of the tension spring on the support frame 100. When the clamping member 520 is driven to rotate by the handle assembly 300, the protrusion 512 abutting against the clamping member 520 may abut against the inner groove 5211 of the clamping member 520, or abut against the outer edge of the clamping member 520. In the process of switching between the two situations, the protrusion 512 may cause the base plate 511 to rotate around the step screw 514. The setting of the tension spring can keep the protrusion 512 in the unlocked position or the locked position.
[0110] like Figure 6 and Figure 7 As shown, in some embodiments, the protrusion 512 is a locking wheel, and the locking wheel is rotatably disposed on the base plate 511.
[0111] Specifically, the locking wheel is rotatably arranged on the base plate 511. On the one hand, it is convenient for the groove 5211 arranged on the clamping member 520 to be clamped with the locking wheel. On the other hand, when the locking wheel contacts other parts of the clamping member 520 where the groove 5211 is not arranged, it will not cause excessive friction, thereby reducing the force applied by rotating the handle assembly 300 and improving the user experience of the operator.
[0112] In some embodiments, the clamping member 520 includes a cam 521, which is fixedly connected to the handle assembly 300 or the transmission assembly 400. At least two grooves 5211 are configured at the edge of the cam 521. When the handle assembly 300 rotates, the grooves 5211 are used to fit and clamp with the clamping wheel.
[0113] It is understandable that the shaft hole in the cam 521 can be fixedly connected to the rotating shaft of the handle assembly 300, or can be fixedly connected to the transmission rod 430 described below, and the end of the transmission rod 430 is fixedly connected to the handle body, so as to achieve the purpose of rotating the handle body to drive the cam 521 to rotate. Two grooves 5211 can be set on the edge of the cam 521 to correspond to the X direction and the Y direction respectively. Of course, three grooves 5211, four grooves 5211 or more grooves 5211 can also be set according to actual conditions, and there is no limitation here.
[0114] When the handle assembly 300 is rotated, the cam 521 and the groove 5211 thereon will be driven to rotate together until the locking wheel falls into the groove 5211 of the cam 521. At this time, the distance from the center point of the locking wheel to the center point of the cam 521 is the smallest, the length of the tension spring being stretched is the shortest, and the rotational inertia of the substrate 511 is the smallest. If the locking wheel is rotated out of the groove 5211, it is necessary to overcome a large resistance, and a relatively obvious resistance will also be felt when the handle assembly 300 is rotated. Similarly, when the locking wheel falls into the groove 5211 of the cam 521, there will also be an obvious sense of gear position. Through the self-locking between the two, the locking of the handle assembly 300 can be achieved, that is, the locking of the moving assembly 200 is achieved, and the moving assembly 200 is prevented from deflecting during the movement, resulting in inaccurate coordinate position acquisition of the image stitching device 700.
[0115] like Figure 6 and Figure 7 As shown, in some embodiments, the second sensing member 530 includes at least two sensors corresponding to the grooves 5211 , one of which can be triggered after the groove 5211 is engaged with the locking wheel to obtain the deflection direction of the moving assembly 200 .
[0116] Specifically, a plurality of sensors corresponding to the grooves 5211 are arranged on the cam 521, and the sensors may be position switches, contact switches, or photoelectric switches, which are not limited here. The purpose of setting the sensors is that when the positioning wheel falls into the groove 5211 of the cam 521, the sensor corresponding to the groove 5211 will be triggered and send a trigger signal to the host, and the host will determine whether the movement direction of the image splicing device 700 is in the X direction or the Y direction after receiving the trigger signal.
[0117] This example takes the three grooves 5211 set on the cam 521 as an example for explanation. In order to reduce the angle of the rotating handle assembly 300, the three grooves 5211 are set on one side of the cam 521, that is, two of the grooves 5211 are set opposite to each other, and the third groove 5211 is set between the two grooves 5211, and three sensors are set on the sides of the three grooves 5211. For example, when the positioning wheel is located in the middle groove 5211, its corresponding sensor is triggered by the positioning wheel, and the host will receive the trigger signal to determine that the movement direction of the image splicing device 700 is in the X direction, corresponding to Figure 6 Similarly, if any of the grooves 5211 on the two sides is triggered by the positioning wheel, the host will determine that the movement direction of the image splicing device 700 is in the Y direction according to the received trigger signal, corresponding to Figure 7 shown.
[0118] Figure 8 is a schematic diagram of the structure of a mobile assembly provided according to an embodiment of the present application; Fig. 9 It is a schematic diagram of the structural disassembly of the mobile assembly and the first sensing element according to an embodiment of the present application; Fig.10 It is a cross-sectional schematic diagram of a moving component and a first sensing element provided according to an embodiment of the present application.
[0119] like Figure 8-Figure 10 As shown, in some embodiments, the moving assembly 200 includes at least one set of steering wheels 210 and a mounting bracket 220 supporting the steering wheels 210 , and the mounting bracket 220 is disposed on the support frame 100 via a rotating shaft.
[0120] Specifically, in this example, in addition to the moving assembly 200 connected to the transmission assembly 400, a plurality of auxiliary wheels 900 for driving the support frame 100 to move may also be included. For example, the traveling device may include a set of steering wheels 210 (two) and a set of auxiliary wheels 900 (two), such as Figure 3 As shown, the steering wheel 210 can move in a directional manner under the action of the transmission assembly 400, the handle assembly 300, and the locking assembly 500, and the auxiliary wheel 900 is used to follow the directional movement of the steering wheel 210. Alternatively, the traveling device only includes two sets of steering wheels 210 (four), such as Figure 4As shown, the two sets of steering wheels 210 are connected to the transmission assembly 400 and can move in the same direction.
[0121] like Figure 3 or Figure 4 As shown, in some embodiments, the transmission assembly 400 may include a plurality of transmission wheels 410 and transmission bars 420. At least one of the transmission wheels 410 is connected to the clamping member 520, and the remaining transmission wheels 410 are fixedly connected to the rotating shaft; the transmission bar 420 is wound around the plurality of transmission wheels 410, and the transmission bar 420 is configured to drive the transmission wheels 410 to rotate under the drive of the handle assembly 300, so that the steering wheel 210 is located in a preset direction.
[0122] Specifically, the transmission wheel 410 connected to the clamping member 520 serves as a driving wheel, which can drive the transmission bar 420 to move under the drive of the handle assembly 300, and then drive the remaining transmission wheels 410 to rotate through the transmission bar 420. Since the remaining transmission wheels 410 are fixedly connected to the rotating shaft of the mounting bracket 220, the moving direction of the steering wheel 210 is limited to the X direction or the Y direction.
[0123] In this example, the transmission wheel 410 may be a transmission gear, and the transmission bar 420 may be a chain, a synchronous belt, or a wire rope, etc., which is not limited here.
[0124] In addition, in order to promote the movement of the traveling device, two handle assemblies 300 are usually arranged on the support frame 100, and the two handle assemblies 300 are respectively connected to the symmetrically arranged transmission assembly 400 and the moving assembly 200. When the moving direction of the image stitching device 700 needs to be changed, the two handle assemblies 300 need to be rotated synchronously, so that the moving directions of the steering wheels 210 of the moving assembly 200 are in the same direction. Of course, in order to avoid cumbersome operation, only one of the handle assemblies 300 can be connected to the transmission assembly 400, and the transmission bar 420 of the transmission assembly 400 can connect multiple steering wheels 210 in series, so as to achieve the purpose of turning one handle assembly 300 to make all steering wheels 210 turn synchronously.
[0125] Since the multiple steering wheels 210 are arranged at dispersed positions, in order to prevent the transmission bar 420 from contacting other parts of the support frame 100 when connecting the multiple steering wheels 210 in series, resulting in excessive friction when the transmission bar 420 moves, in this example, multiple transition wheels 440 (such as transition gears) are arranged on the support frame 100 and close to the transmission wheels 410. Figure 4 As shown, the transmission direction of the transmission bar 420 can be changed without affecting the transmission synchronization.
[0126] In some embodiments, the support frame 100 includes an upper chassis 110 and a lower chassis 120, the handle assembly 300 and the locking assembly 500 are arranged on the upper chassis 110, and the moving assembly 200 is arranged on the lower chassis 120; the transmission assembly 400 also includes a transmission rod 430, the transmission rod 430 is located between the upper chassis 110 and the lower chassis 120, and is used to connect the clamping part 520 and its corresponding transmission wheel 410.
[0127] Specifically, the handle assembly 300 is arranged on the upper chassis 110 to facilitate the operation of the operator. To effectively connect the clamping member 520 with the transmission wheel 410, the transmission wheel 410 corresponding to the clamping member 520 is first arranged on the lower chassis 120 directly below the clamping member 520, and then the transmission rod 430 is fixed between the clamping member 520 and the transmission wheel 410. When the handle assembly 300 is rotated, the force is sequentially transmitted to the clamping member 520, the transmission rod 430, and the transmission wheel 410 until the transmission wheel 410 drives the transmission bar 420 to move.
[0128] By adjusting the moving direction of a group of steering wheels 210 in the X direction or the Y direction, the purpose of directional movement of the image stitching device 700 along the X direction or the Y direction can be achieved. However, in order to avoid interference of the movement of the auxiliary wheel 900 with the directional movement of the steering wheel 210, in some embodiments, the moving assembly 200 includes two groups of steering wheels 210, and the transmission bar 420 is sequentially wound around the transmission wheels 410 corresponding to the two groups of steering wheels 210, so as to synchronously adjust the deflection direction of the two groups of steering wheels 210 through the handle assembly 300.
[0129] It should be understood that two groups of steering wheels 210 are provided on the support frame 100, for example, two groups of steering wheels 210 are provided at intervals along the X direction, and one group of steering wheels 210 includes two steering wheels 210, and the two steering wheels 210 are provided at intervals along the Y direction. The provision of two groups of steering wheels 210 can achieve the support and movement of the traveling device, and the auxiliary wheel 900 may not be required. That is, in this example, all steering wheels 210 provided on the support frame 100 can adjust their movement direction through the handle assembly 300, so as to achieve the purpose of all steering wheels 210 moving synchronously in the X direction or the Y direction.
[0130] In some embodiments, the first sensing element 230 includes an angular displacement encoder, which is disposed at the moving assembly 200 to obtain the moving distance of the steering wheel 210 .
[0131] Specifically, the angular displacement encoder can calculate the moving distance of the image stitching device 700 by measuring the number of rotations of the steering wheel 210. The angular displacement sensor can be an angle sensor, which is usually installed on the rotating shaft of the steering wheel 210. However, in order to reduce friction and make the rotation of the steering wheel 210 smoother, a bearing is installed between the steering wheel 210 and its axle 211 in this example, so that the axle of the steering wheel 210 can remain stationary when the steering wheel 210 rotates.
[0132] To achieve effective measurement of angular displacement encoder, such as Fig. 9 and Fig.10 As shown, in some embodiments, the angular displacement encoder may include a light source 231, a photoelectric element 232 and a code disk 233; the light source 231 is fixed to the mounting bracket 220 through a fixing frame 234; the photoelectric element 232 is arranged on the fixing frame 234 and is arranged corresponding to the light source 231; the code disk 233 is fixedly connected to the steering wheel 210, and at least a portion of the code disk 233 is located between the light source 231 and the photoelectric element 232.
[0133] Specifically, the angular displacement encoder can adopt a photoelectric encoder, but there is no specific limitation. The code disc 233 is provided with multiple bar holes at equal intervals, and the multiple bar holes are distributed around the center of the code disc 233 to form regular light-transmitting and light-impermeable areas on the code disc 233. The code disc 233 is fixedly connected to the steering wheel 210 and can rotate at the same speed as the steering wheel 210. The fixed frame 234 is a U-shaped frame, one end of which is fixed to the mounting bracket 220. The U-shaped frame can cover the edge of the code disc 233, and the light source 231 and the photoelectric element 232 are respectively arranged on the opposite sides of the U-shaped frame. When the code disk 233 rotates with the steering wheel 210, due to the alternating changes of the translucent and opaque lines on the code disk 233, the light intensity emitted by the light source 231 received by the photoelectric element 232 will change, thereby generating a series of electrical pulse signals. After being processed by the circuit, the pulse signal can be converted into data information about the position of the code disk 233. The host can calculate the moving distance of the image stitching device 700 based on the data information.
[0134] It should be noted that during the movement of the image stitching device 700, the steering wheel 210 rotates forward and reverse alternately. In order to accurately calculate the moving distance of the image stitching device 700, that is, to facilitate the determination of the rotation direction of the steering wheel 210 and thus increase or decrease the moving distance, two pulse signals with a phase difference of 90° can be set in the photoelectric encoder to determine the rotation direction of the steering wheel 210 by determining the phase of the received pulse signal.
[0135] Fig.11 is a schematic diagram of the overall structure of a cross arm assembly provided according to an embodiment of the present application; Fig.12Schematic diagram of the structural disassembly of the cross arm assembly provided in the embodiment of the present application. Fig.11 and Fig.12 As shown, in some embodiments, the traveling device also includes a sliding assembly 800, and the sliding assembly 800 is arranged on the support frame 100; the cross arm assembly 600 may include a moving frame 610 and a cross arm handle 620; the moving frame 610 is movably arranged on the sliding assembly 800; the cross arm handle 620 is arranged outside the moving frame 610, and the cross arm handle 620 is used to drive the moving frame 610 to move relative to the sliding assembly 800; wherein, the third sensing element 630 is arranged on the inner side wall of the moving frame 610, and is arranged corresponding to the sliding assembly 800.
[0136] Specifically, the sliding assembly 800 has a plurality of rollers, and the moving frame 610 of the cross arm assembly 600 is used to contact the rollers of the sliding assembly 800, so that the moving frame 610 can move along the X direction relative to the sliding assembly 800. The cross arm assembly 600 can be moved by manually driving the cross arm handle 620, or by driving the moving frame 610 by a motor, etc., which is not limited here.
[0137] The third sensing element 630 is arranged on the inner wall of the movable frame 610. Specifically, the end of the movable frame 610 close to the target component can be arranged, and the third sensing element 630 is arranged corresponding to the sliding component 800. When the movable frame 610 moves, the third sensing element 630 is driven to move synchronously, and the distance between the third sensing element 630 and the sliding component 800 changes accordingly. The changed distance will be sent to the host by the third sensing element 630 as distance data, so as to obtain the moving distance of the image stitching device 700 in the X direction, and then obtain the coordinate position of the image stitching device 700.
[0138] It should be noted that the third sensing element 630 may be a grating sensor, but there is no specific limitation. For example, it may also be an infrared sensor, an ultrasonic sensor, etc., as long as it has the function of measuring the distance between it and the sliding component 800.
[0139] like Fig.11 and Fig.12 As shown, in some embodiments, the sliding assembly 800 is provided with a brake member 810; the cross arm handle 620 is connected to a brake rod 621, the brake rod 621 is slidingly connected to the brake member 810, and the brake rod 621 is configured to rotate under the drive of the cross arm handle 620 so that the brake member 810 locks or releases the brake rod 621.
[0140] Specifically, the brake component 810 includes a brake seat, a brake spring, an eccentric wheel and a retaining ring. The eccentric wheel is arranged at one end of the brake spring. The number of retaining rings can be set to two, which are respectively arranged on both sides of the eccentric wheel. The brake rod 621 connected to the cross arm handle 620 can pass through the retaining ring, the mounting hole of the eccentric wheel and the retaining ring in sequence, and the mounting hole of the eccentric wheel is adapted to the shape of the brake rod 621. The cross section of the brake rod 621 can be square or triangular. This arrangement can drive the eccentric wheel to rotate when the brake rod 621 rotates. When the short side of the eccentric wheel abuts against the brake spring, the mounting hole of the eccentric wheel and the through hole of the retaining ring are coaxially arranged, and the brake rod 621 can slide freely in the brake component 810. When the cross arm handle 620 drives the brake rod 621 to rotate, the brake rod 621 drives the eccentric wheel to rotate until the long side of the eccentric wheel abuts against the brake spring. Under the action of the brake spring, the mounting hole of the eccentric wheel and the through hole of the retaining ring are misaligned, so that the side wall of the brake rod 621 abuts against the retaining ring, and the cross arm assembly 600 is locked by the friction force between the brake rod 621 and the inner wall of the retaining ring.
[0141] The structure of a C-arm X-ray machine
[0142] like Figure 1 and Figure 2 As shown, an embodiment of the present application further provides a C-arm X-ray machine, which may include a C-arm and the traveling device in the above embodiment, and the C-arm is connected to the traveling device via a C-arm sliding sleeve.
[0143] It can be understood that the C-shaped arm serves as the above-mentioned image stitching device 700, and the operator can move the C-shaped arm along the X direction or the Y direction to capture multiple sets of images. Different human body imaging areas can be obtained by moving the position of the emission point S on the C-shaped arm. The method of moving the emission point S of the C-shaped arm can be understood with reference to the above-mentioned examples. For example, the emission point S can be driven to move along the X direction by the cross arm assembly 600, or the emission point S can be driven to move along the X direction by the moving assembly 200, or the emission point S can be driven to move along the Y direction by the moving assembly 200.
[0144] Image stitching system
[0145] Before introducing the following image stitching process, the imaging principle of the image stitching device 700 is first introduced. Fig.14As shown, taking a C-arm X-ray machine as an example, the projection method of its X-ray is central projection. Central projection is: the projection line starts from the projection center S, and projects the space △ABC onto the projection surface H. The resulting △abc is the projection of △ABC. This projection method in which the projection line starts from the projection center is called central projection method, and the resulting projection is called central projection. Central projection has the following characteristics: if the distance or position between the projection element and the projection center or the projection surface is changed, the size of its projection will also change. In other words, when the distance between the X-ray source 231 and the detected human body is changed, the size and clarity of the image will change accordingly.
[0146] Therefore, in order to ensure the consistency of subsequent cropping and stitching of multiple images, the vertical distance between the X-ray source 231 and the human body under test needs to be kept constant during the shooting of the same set of images. In other words, during the shooting of the same set of images, the image stitching device 700 can only move in the horizontal plane, for example, in the X direction or the Y direction.
[0147] Since the image stitching device 700 only undergoes translational motion in the horizontal plane, a translation model can be used to stitch (align, fuse) multiple images. Of course, other geometric motion models can also be used in this example to stitch multiple images, and are not limited to translation models.
[0148] It should be noted that the purpose of image registration is to register images into the same coordinate system according to the geometric motion model, while fusion is to combine the registered images into a complete stitched image. The operation of registering multiple images taken into the same coordinate system can be that after the initial positioning of the image stitching device 700 (C-arm) is completed, the distance h between the emission point of the X-ray tube emitter and the measured human body is determined; each image taken under each coordinate corresponds to a unique image.
[0149] Based on the above description and the description of the structure of the aforementioned traveling device, in order to further introduce the process of cutting and splicing at least two images acquired by the image splicing device 700, Fig.13 This is one of the flowcharts of the image stitching method provided in the embodiment of the present application; Fig.14 Schematic diagram of the imaging principle of the C-arm provided in the embodiment of the present application. Fig.13 and Fig.14 As shown, in some embodiments, the image stitching method may include:
[0150] Step S101, acquiring a first image captured by the image stitching device 700 at an initial position;
[0151] Step S102, receiving instruction information for moving to a next position for shooting, and receiving in real time motion data captured by a sensing component coupled to the traveling device;
[0152] Step S103, comparing the motion data with the initial position in real time, and issuing a prompt message when the motion data is within a preset range; wherein the prompt message is used to indicate that the image stitching device 700 has moved into position;
[0153] Step S104, obtaining a second image captured after the image stitching device 700 is in place, and obtaining current coordinate information of the image stitching device 700 determined based on the motion data;
[0154] Step S105: Based on the initial position and current coordinate information, the second image and the first image are registered and fused.
[0155] Specifically, this example further defines the X direction as the direction in which the emission point S moves forward and backward, the Y direction as the direction in which the emission point S moves horizontally, and the Z direction as the direction in which the emission point moves up and down. For the same set of images, the height between the emission point S of the X-ray tube emitter and the detected human body remains unchanged and is positioned as h. Therefore, after the image stitching device 700 is positioned, the coordinates of the emission point S of the X-ray tube emitter can be defined as (0, 0, h). When the image stitching device 700 moves xmm in the X direction, the coordinate position of the emission point S is (x, 0, h); when the image stitching device 700 moves ymm in the Y direction, the coordinate position of the emission point S is (0, y, h); when h is fixed, the coordinates of the emission point S are completely corresponding to the range of image imaging. The coordinates (0, 0, h) correspond to the image imaging area (a, b, c), and the coordinates (x, y, h) correspond to the imaging area (a', b', c'), where a and a', b and b', and c and c' are linear relationships. Through the above convenience, the image imaging area can be registered to the same coordinate system.
[0156] By moving the moving assembly 200 or the cross arm assembly 600 in the above example and the corresponding sensing element, the coordinate position of the emission point S of the X-ray tube emitter can be measured.
[0157] In step S101, first adjust the initial position of the image stitching device 700, determine the height h between the X-ray tube emission point S and the measured body, and lock it; then click the confirmation button on the C-arm X-ray machine to zero the coordinate position of the emission point S, that is, the coordinates of the X-ray tube emission point S are automatically set to (0, 0, h); finally, take an image, that is, obtain the first image.
[0158] In step S102, after the first image is captured, an instruction message will be displayed on whether to move to the next position for shooting, so as to prompt the user to choose to end shooting or continue shooting. If shooting is ended, the acquired first image will be output as the final imaging picture; if shooting is continued, the sensing component coupled to the moving device will be controlled to start working, so as to receive its motion data during the movement of the image stitching device 700.
[0159] The sensing components in this example include the first sensing element 230, the second sensing element 530 and the third sensing element 630 in the above example. Regardless of whether the image stitching device 700 moves through the moving component 200 or through the cross arm component 600, the host will receive motion data sent by the corresponding sensing elements, and the motion data includes the azimuth information and distance information of the image stitching device 700.
[0160] More specifically, if it is determined that the cross arm assembly 600 moves, the distance measurement in the X direction is directly performed; if it is determined that the moving assembly 200 moves, it is necessary to further determine whether it moves in the X direction, the Y direction, or a combination of the two directions based on the signal of the second sensing element 530, and receive the distance measurement data sent by the first sensing element 230 in real time.
[0161] In step S103, the host compares the received motion data (orientation data, distance data) with the initial position or the last shooting position in real time. The significance of this comparison is to make the overlap range of the image area shot at the current position and the image area shot at the last position (including the initial position) appropriate. When the overlap range is appropriate, a prompt message will be issued to indicate that the image stitching device 700 has moved to a position for shooting. It should be noted that the prompt message can be displayed on a display screen or through a sound prompt, which is not limited here.
[0162] In steps S104 and S105, the image stitching device 700 is photographed after being in place, thereby acquiring the second image, and simultaneously saving the coordinate information of the image stitching device 700 determined according to the motion data during the photographing, so as to facilitate the subsequent cropping and stitching of the second image and the first image according to the coordinate information.
[0163] Fig.15 This is a second flow chart of the image stitching method provided according to an embodiment of the present application; Fig.16 FIG3 is a flowchart of an image stitching method according to an embodiment of the present application.
[0164] like Fig.13 , Fig.15 and Fig.16As shown, the image stitching method provided by the embodiment of the present application also includes, in some embodiments, step S102 also includes, step S1021, receiving a trigger signal emitted by the sensing component, and determining whether the cross arm component 600 drives the image stitching device 700 to move; step S1022, if the cross arm component 600 drives the target component to move, obtaining the moving position information of the cross arm component 600, and determining the motion data of the image stitching device 700 in combination with the distance information output by the sensing component; step S1023, if the cross arm component 600 does not drive the target component to move, obtaining the moving position information of the traveling device, and determining the motion data of the image stitching device 700 in combination with the distance information output by the sensing component.
[0165] Specifically, in actual operation, if the position of the C-arm needs to be adjusted along the X direction, the operator can choose to adjust it through the cross arm assembly 600, or to rotate the handle assembly 300 to push the traveling device to move as a whole. Regardless of the adjustment method, the sensing component coupled to the traveling device will transmit information to the host, but the second sensing component 530 used to reflect the rotation direction of the handle assembly 300 is in a state of continuously sending a trigger signal to the host. Based on this situation, the host can first determine whether the information sent by the cross arm assembly 600 is received. If the information sent by the third sensing component 630 is received, it is determined that the C-arm is driven to move along the X direction through the cross arm assembly 600, and the motion data of the C-arm along the X direction is determined based on the distance information received in real time. If the information sent by the third sensing component 630 is not received, it is determined that the C-arm is driven to move by the overall movement of the traveling device, and then the data transmitted by the second sensing component 530 and the first sensing component 230 are synchronously obtained to determine the motion data of the C-arm.
[0166] Regarding the method of driving the C-arm to move along the X direction or the Y direction by moving the entire traveling device (mobile component 200), step S1023 also includes: step S10231, receiving the trigger signal sent by the second sensing component 530 to obtain the orientation data of the mobile component 200; step S10232, receiving the data information sent by the first sensing component 230 to obtain the distance data of the mobile component 200; step S10233, corresponding to the motion data of the image stitching device 700 through the orientation data and the distance data.
[0167] It can be understood that the transmission assembly 400 is connected to the handle assembly 300 and the moving assembly 200. In the process of rotating the handle assembly 300 by external force, the transmission assembly 400 can transmit force to the moving assembly 200 to limit the moving direction of the moving assembly 200 to the X direction or the Y direction, thereby realizing the regular movement of the C-arm along the X direction or the Y direction, making it easy to calculate the coordinate position of the C-arm after movement, thereby facilitating the subsequent cropping and splicing of multiple images.
[0168] When the C-arm needs to move in the X direction, the handle assembly 300 is rotated, and the second sensor 530 corresponding to the handle assembly 300 can be triggered due to the rotation of the handle assembly 300, and the host will receive the azimuth data (corresponding to the X direction) sent by it. Since the force transmission of the transmission assembly 400 limits the moving assembly 200, that is, the moving assembly 200 can only move in the X direction, during the movement of the moving assembly 200, the first sensor 230 set on the moving assembly 200 continuously sends distance data. After receiving the azimuth data and distance data, the host will calculate the displacement of the C-arm, that is, obtain the current coordinate information of the C-arm. The acquisition of this coordinate information is conducive to the subsequent cropping and fusion processing of multiple images acquired by the C-arm.
[0169] Similarly, when the C-arm needs to move in the Y direction, the handle assembly 300 can be turned to make the moving assembly 200 turn to the Y direction, and can move in the Y direction under the drive of external force. In this process, the second sensor 530 is triggered to send azimuth data (corresponding to the Y direction), and the first sensor continuously sends distance data. The host can confirm the current coordinate information of the C-arm based on the received azimuth data and distance data.
[0170] In some embodiments, step S10231 further includes, step S102311, receiving a trigger signal of a sensor to obtain that the movement direction of the image stitching device 700 is the X direction or the Y direction.
[0171] It is understandable that the locking assembly 500 includes a steering limiter 510 and a clamping member 520, and the steering limiter 510 includes a base plate 511 and a clamping wheel, one end of the base plate 511 is rotatably connected to the support frame 100, and the other end is connected to the support frame 100 through a tension spring, and the clamping wheel is rotatably arranged on the base plate 511. The clamping member 520 includes a cam 521, which is fixedly connected to the handle assembly 300, and the edge of the cam 521 is configured with a plurality of grooves 5211 that can be adapted and clamped with the clamping wheel; the cam 521 is also provided with a plurality of sensors corresponding to the grooves 5211, and the sensors can be position switches, contact switches, or photoelectric switches, which are not limited here. The purpose of setting the sensor is that when the clamping wheel falls into the groove 5211 of the cam 521, the sensor corresponding to the groove 5211 will be triggered, and a trigger signal will be sent to the host, and the host will determine whether the movement direction of the C-arm is in the X direction or the Y direction after receiving the trigger signal.
[0172] In some embodiments, step S10232 also includes, step S102321, receiving data information of the angular displacement encoder to generate moving distance information of the moving component 200; step S102322, receiving the pulse signal sent by the code disk 233 to determine whether the moving component 200 moves forward or backward, and obtaining the moving distance information by adding and subtracting the data information.
[0173] Specifically, the moving assembly 200 includes a steering wheel 210 and a mounting bracket 220 supporting the steering wheel 210, and the mounting bracket 220 is disposed on the support frame 100. The angular displacement encoder can calculate the moving distance of the C-arm by measuring the number of rotations of the steering wheel 210, and the angular displacement sensor can be an angle sensor, which can be installed on the rotating shaft of the steering wheel 210 to rotate synchronously with the steering wheel 210, so as to calculate the number of rotations of the steering wheel 210 through the data information received by the host, and then obtain the moving distance of the C-arm.
[0174] Of course, in order to reduce the friction of the angle sensor on the rotation of the steering wheel 210 and make the steering wheel 210 rotate more smoothly, in some examples, the angular displacement encoder may include a light source 231, a photoelectric element 232 and a code disk 233; the light source 231 is fixed to the mounting bracket 220 through a fixing frame 234; the photoelectric element 232 is arranged on the fixing frame 234 and is arranged corresponding to the light source 231; the code disk 233 is fixedly connected to the steering wheel 210, and at least part of the code disk 233 is located between the light source 231 and the photoelectric element 232. The angular displacement encoder can adopt a photoelectric encoder, but there is no specific limitation. The installation method of the device and the steering wheel 210 in the specific angular displacement sensor can be understood with reference to the above example, and will not be repeated here.
[0175] The host computer can obtain the data information about the position of the code disk 233 and calculate the number of rotations of the steering wheel 210 according to the data information, thereby obtaining the moving distance of the C-arm.
[0176] It should be noted that during the movement of the C-arm, the steering wheel 210 rotates forward and reverse alternately. In order to accurately calculate the moving distance of the C-arm, that is, to facilitate the determination of the rotation direction of the steering wheel 210 and thus increase or decrease the moving distance, two pulse signals with a phase difference of 90° can be set in the photoelectric encoder to determine the rotation direction of the steering wheel 210 by determining the phase of the received pulse signal.
[0177] In some embodiments, step S1022 may include, step S10221, receiving data information sent by the third sensing element 630 to obtain the orientation data and distance data of the image stitching device 700, and calculating the motion data of the image stitching device 700 according to the orientation data and the distance data.
[0178] Specifically, a sliding assembly 800 is provided on the support frame 100, and the cross arm assembly 600 includes a mobile frame 610 and a cross arm assembly 600, and the mobile frame 610 is movably provided on the sliding assembly 800; the cross arm handle 620 is provided outside the mobile frame 610, and the cross arm handle 620 is used to drive the mobile frame 610 to move relative to the sliding assembly 800. The specific setting method can be understood with reference to the above example. The third sensing member 630 can be a grating sensor, which can be provided at the end of the mobile frame 610 close to the target assembly, and the third sensing member 630 is provided corresponding to the sliding assembly 800. When the mobile frame 610 moves, the third sensing member 630 is driven to move synchronously, and the distance between the third sensing member 630 and the sliding assembly 800 changes accordingly, and the changed distance is sent to the host by the third sensing member 630 as distance data, so as to obtain the moving distance of the C-arm in the X direction, and then obtain the coordinate position of the C-arm.
[0179] In some embodiments, step S103 may also include, step S1031, obtaining the image size captured by the image stitching device 700; step S1032, based on the image size, retrieving the overlapping area range of adjacent images to obtain the moving range of the image stitching device 700; step S1033, receiving instruction information of the image stitching device 700 entering the moving range to issue a prompt information that the image stitching device 700 is in place.
[0180] It is understandable that the movement distance of the C-arm should not be too long or too short. If the movement distance is too long, there will be no overlap between the two images acquired before and after, and the correspondence between the two images cannot be found in the subsequent registration process, resulting in stitching failure; if the movement distance is too short, the number of C-arm shots will increase, increasing the risk of radiation damage to the patient. Based on this, in one example, the overlap area range of adjacent images is the ratio of the overlap area to the image size a, where a is 0.2-0.3. Specifically, the ratio of the overlap area of adjacent images to the entire image can be 0.2, 0.25, 0.3, etc., which is not limited here.
[0181] The host can calculate the difference between the two coordinates based on the real-time data received, so that when the C-arm moves to the reasonable area required for the stitching of two images, there will be an obvious prompt. At this time, the operator can correct the movement position of the C-arm through the display or voice prompts, so as to move the C-arm emission point S to the best shooting position.
[0182] In some embodiments, step S105 may also include, step S1051, determining the overlapping area in the first image and the second image, and cropping the overlapping area in the first image or the second image; step S1052, splicing the cropped first image and second image to form a fused image and then output it.
[0183] Specifically, when the image to be taken is completed, the operator can perform an image registration and fusion operation. The process can be that after the image is taken, the host cuts out the overlapping area according to the coordinate positions corresponding to the first image and the second image, and fuses the cropped images into a complete image. Of course, the overlapping area in the first image or the second image can be cropped, and there is no limitation here.
[0184] In some embodiments, the image stitching method provided in this example also includes, step S106, acquiring multiple images captured by the target setting, and obtaining multiple coordinate information corresponding to the multiple images; step S106, based on the coordinate information, cropping and stitching the multiple images to form a fused image for output.
[0185] Specifically, multiple images can be captured by the C-arm, and the coordinate position information corresponding to the C-arm can be saved synchronously after each image is captured. When the image capture is completed, the host can calculate how many images are needed for stitching based on the coordinates corresponding to the first image and the last image captured, and crop the overlapping area according to the corresponding coordinate positions, and finally merge the cropped images to obtain a completed image.
[0186] Fig.17 is a schematic diagram of the structure of an image stitching system provided according to an embodiment of the present application, such as Fig.17 As shown, an embodiment of the present application also provides an image stitching system, which is used to stitch at least two images acquired by an image stitching device 700, wherein the image stitching device 700 is disposed on a moving device, and the moving device can drive the image stitching device 700 to move in a predetermined direction; the system may include: an image acquisition unit 10, a receiving unit 20, a comparison unit 30 and a fusion unit 40.
[0187] The image acquisition unit 10 is used to acquire a first image captured by the image stitching device 700 at an initial position; the receiving unit 20 is used to receive instruction information for moving to the next position for shooting, and to receive in real time motion data captured by a sensing component coupled to the traveling device; the comparison unit 30 is used to compare the motion data with the initial position in real time, and to issue a prompt message when the motion data is within a preset range; wherein the prompt message is used to characterize that the image stitching device 700 has moved into position; the image acquisition unit 10 is also used to acquire a second image captured after the image stitching device 700 is in place, and to acquire current coordinate information of the image stitching device 700 determined based on the motion data; the fusion unit 30 performs registration and fusion processing on the second image and the first image based on the initial position and the current coordinate information.
[0188] The working principle of the image stitching system can be understood by referring to the above embodiments, and will not be described in detail here.
[0189] In some embodiments, the receiving unit 20 may further include a judging unit, a first determining unit, and a second determining unit.
[0190] The judging unit is used to judge whether the cross arm assembly 600 drives the image stitching device 700 to move according to the trigger signal sent by the receiving sensing component; the first determining unit, if the cross arm assembly 600 drives the target assembly to move, then obtains the moving position information of the cross arm assembly 600 and combines it with the distance information output by the sensing component to determine the motion data of the image stitching device 700; the second determining unit, if the cross arm assembly 600 does not drive the target assembly to move, then obtains the moving position information of the traveling device and combines it with the distance information output by the sensing component to determine the motion data of the image stitching device 700.
[0191] Finally, it should be noted that the above implementation modes are only used to illustrate the present application, rather than to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that various combinations, modifications or equivalent substitutions of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
Claims
1. An image stitching method, characterized in that: Used to stitch at least two images acquired by a target device, wherein the target device is arranged on a moving device, and the moving device can drive the target device to move along a predetermined direction; the method comprises: Acquire a first image captured by the target device at an initial position; receiving instruction information for moving to a next position for shooting, and receiving in real time motion data captured by a sensing component coupled to the traveling device; Compare the motion data with the initial position in real time, and issue a prompt message when the motion data is within a preset range; wherein the prompt message is used to indicate that the target device has moved into position; Acquire a second image captured after the target device is in place, and acquire current coordinate information of the target device determined based on the motion data; Based on the initial position and current coordinate information, the second image and the first image are registered and fused.
2. The image stitching method according to claim 1, characterized in that: The target device is connected to a cross arm assembly, and the cross arm assembly is movably arranged on a support frame of the traveling device; The step of receiving in real time the motion data captured by the sensing component coupled to the traveling device comprises: receiving a trigger signal sent by the sensing component, and determining whether the cross arm component drives the target device to move; If the cross arm assembly drives the target assembly to move, the moving position information of the cross arm assembly is obtained, and the motion data of the target device is determined in combination with the distance information output by the sensing assembly; If the cross arm assembly is not driving the target assembly to move, the moving position information of the traveling device is obtained, and the motion data of the target device is determined in combination with the distance information output by the sensing assembly.
3. The image stitching method according to claim 2, characterized in that: The traveling device comprises a handle assembly, a transmission assembly and a moving assembly which are sequentially connected in transmission, and the sensing assembly comprises a first sensing member and a second sensing member, wherein the first sensing member is arranged on the moving assembly, and the second sensing member is arranged corresponding to the handle assembly; The step of acquiring the moving position information of the traveling device and determining the motion data of the target device in combination with the acquired distance information output by the sensing component comprises: receiving a trigger signal sent by the second sensing element to obtain position data of the mobile component; receiving data information sent by the first sensing component to obtain distance data of the mobile component; The motion data of the target device is obtained by corresponding the orientation data and the distance data.
4. The image stitching method according to claim 3, characterized in that: The traveling device further includes a locking assembly, which is used to limit the handle assembly so as to limit the moving assembly in the X direction or the Y direction; the second sensing member includes at least two sensors, which are arranged on the locking assembly and can be triggered when the locking assembly limits the handle assembly; The step of obtaining the position data of the mobile component comprises: A trigger signal of the sensor is received to obtain whether the moving direction of the target device is the X direction or the Y direction.
5. The image stitching method according to claim 4, characterized in that: The first sensing element comprises an angular displacement encoder, and the angular displacement encoder is mounted on the moving component; The step of obtaining the distance data of the mobile component comprises: The data information of the angular displacement encoder is received to generate the moving distance information of the moving component.
6. The image stitching method according to claim 5, characterized in that: The angular displacement encoder includes a photoelectric encoder, and the code disk in the photoelectric encoder includes two pulse signals with a phase difference; The step of generating the moving distance information of the moving component comprises: The pulse signal sent by the code disk is received to determine whether the moving component moves forward or backward, and the moving distance information is obtained by adding and subtracting the data information.
7. The image stitching method according to claim 2, characterized in that: The cross arm assembly drives the target device to move along the X direction, and the cross arm assembly includes a third sensing member, and the third sensing member is arranged corresponding to the support frame; The step of acquiring the moving position information of the cross arm component and determining the motion data of the target device in combination with the acquired distance information output by the sensing component comprises: The data information sent by the third sensing element is received to obtain the position data and the distance data of the target device, and the motion data of the target device is calculated according to the position data and the distance data.
8. The image stitching method according to any one of claims 1 to 7, characterized in that: The step of comparing the motion data with the initial position in real time and issuing a prompt message when the motion data is within a preset range includes: Get the size of the image captured by the target device; Based on the image size, retrieve the overlapping area range of adjacent images to obtain the moving range of the target device; Instruction information indicating that the target device enters the moving range is received, so as to issue prompt information indicating that the target device is in position.
9. The image stitching method according to claim 8, characterized in that: The range of the overlapping area of adjacent images is the ratio a of the overlapping area to the image size, where a is 0.2-0.
3.
10. The image stitching method according to any one of claims 1 to 7, characterized in that: The method further includes: Acquire multiple images captured by the target setting, and obtain multiple coordinate information corresponding to the multiple images; Based on the coordinate information, the multiple images are cropped and spliced to form a fused image for output.
11. An image stitching system, characterized in that: Used to stitch at least two images acquired by a target device, the target device is arranged on a moving device, and the moving device can drive the target device to move along a predetermined direction; the system comprises: An image acquisition unit, configured to acquire a first image captured by the target device at an initial position; A receiving unit, used to receive instruction information for moving to a next position for shooting, and to receive in real time motion data captured by a sensing component coupled to the traveling device; A comparison unit, used for comparing the motion data with the initial position in real time, and issuing a prompt message when the motion data is within a preset range; wherein the prompt message is used to indicate that the target device has moved into position; The image acquisition unit is further used to acquire a second image captured after the target device is in place, and to acquire current coordinate information of the target device determined based on the motion data; The fusion unit performs registration and fusion processing on the second image and the first image based on the initial position and the current coordinate information.
12. The image stitching system according to claim 11, characterized in that: The target device is connected to a cross arm assembly, and the cross arm assembly is movably arranged on a support frame of the traveling device; The receiving unit also includes: A judging unit, configured to judge whether the cross arm assembly drives the target device to move according to the trigger signal received from the sensing assembly; A first determination unit, if the cross arm assembly drives the target assembly to move, determines the motion data of the target device based on the movement orientation information of the cross arm assembly obtained and the distance information output by the sensing assembly obtained; The second determination unit determines the motion data of the target device based on the movement direction information of the traveling device and the distance information output by the sensing component, if the cross arm component is not driving the target component to move.
