A display system and method for long object visual detection pictures
Through the combination of memory queue module, drawing module and window module, the problem of discontinuous visual detection image display of long objects in terminal devices is solved, seamless splicing, fine movement and scaling are achieved, and user viewing experience is improved.
Patent Information
- Application Number
- CN202111681690.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Existing terminal devices cannot realize seamless splicing, fine movement and zoom viewing of long objects visual detection pictures, resulting in discontinuous display of pictures, rough movement units, and poor zooming.
The memory queue module, drawing module and window module are adopted to realize gapless drawing with the same resolution by loading and releasing pictures, and combine the logic processing module and the external input signal capture module to achieve seamless splicing, fine movement and scaling.
It realizes seamless splicing display of long objects visual detection pictures, fine-level movement and scaling, and users can view continuous pictures in real time, and the movement and scaling units are fine to pixel level or 5% to 10%.
Smart Images

Figure CN114372917B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual inspection, and in particular to a display system and a display method for a long object visual inspection picture. Background Art
[0002] At present, there are many practical applications for visual inspection of long objects (such as high-speed trains, subway trains, etc.), such as visual inspection of the appearance of long objects. To visually inspect long objects, you first need to take pictures, and take pictures at close range with a small field of view, which leads to a large number of visual inspection pictures of a long object (hundreds or thousands). At the same time, in order to ensure the inspection efficiency and the application of the inspection results, the visual inspection pictures of long objects will not use area array cameras (there will be overlapping area problems), but use linear array cameras. The linear array camera scans the long object line by line, outputs a piece of image data according to the specified number of lines to the external terminal device for inspection, and the image data will be saved in the storage medium of the terminal device after the inspection is completed. The linear array camera will not output data after scanning the entire long object and inspect it on the external terminal device, because the scanned data of the entire long object can reach several GB or even tens of GB, which requires too high performance configuration of the linear array camera or terminal device and exceeds the existing hardware configuration technology. This is also one of the reasons why there are more visual inspection pictures of long objects.
[0003] The pictures generated for the above scenarios have two characteristics: a large number and a visual connection. The pictures are used in visual inspection scenarios, and the display and viewing of the pictures have the following requirements: seamless splicing display, fine movement and zoom viewing. However, viewing the pictures of the above scenarios on current terminal devices cannot meet the above requirements at the same time. For example, on the PC side, the table format or list format is generally used, such as Figure 1 , Figure 2 shown.
[0004] There are three problems with table or list display:
[0005] 1) Picture-level display, seamless splicing display cannot be achieved;
[0006] 2) Image-level movement, the unit is fixed and rough, and the movement unit is a single image or a multiple relationship;
[0007] 3) Image-level zooming, not visual-level zooming, requires switching between adjacent images, especially where adjacent images are joined.
[0008] Even though there are applications that solve the above problems 1 and 2 in the image display method of the mobile terminal device, there is no application method that solves problem 3. Therefore, there is no display and viewing method for the above images and appeals in the current terminal device. Summary of the invention
[0009] In order to solve the above technical problems, the present invention provides a display system and a display method for visual detection images of long objects, which can realize seamless splicing, fine-level movement and scaling of visual detection images of long objects, and can also seamlessly splice and display the visual detection images of long objects on a terminal device, and can support fine-level (mouse operation or touch screen operation) movement and scaling.
[0010] To this end, the technical solution of the present invention is as follows:
[0011] A display system for long object visual detection pictures, comprising a memory queue module, a drawing module, a window module and a logic processing module;
[0012] The memory queue module is used to load a corresponding number of pictures from the storage medium according to a preset number, marked as a first picture set; or release the specified pictures in the memory queue module and load a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, marked as the first picture set;
[0013] The drawing module is used to draw all pictures in the first picture set into one picture with the same resolution and without gaps, and mark it as picture I;
[0014] The window module includes an external input signal capture module and a display window; the display window has a transparency of 100%, is nested in the upper layer of the drawing module, and displays part or all of the picture I according to the area to be displayed determined by the logic processing module; the display content of the display window is consistent with the content displayed on the screen when viewed externally; the external input signal capture module is used to obtain the movement signal of the position to be viewed of the picture input by the external input device compared with the current position, and transmit it to the logic processing module;
[0015] The logic processing module obtains the movement signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module, cooperates with the drawing module and the window module to realize the display of the image in the area to be displayed on the screen.
[0016] Furthermore, the external input signal capture module can also obtain a signal of enlarging or reducing the position of the image to be viewed input by the external input device compared to the current position, and transmit it to the logic processing module;
[0017] After the logic processing module receives the enlargement or reduction signal of the position of the image to be viewed compared to the current position obtained by the external input signal capture module, it calculates the position of the image to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module;
[0018] The window module also includes a zoom module, which can enlarge or reduce the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed.
[0019] Furthermore, the height of the picture I is consistent with the height of the visual detection picture obtained from the storage medium, and the width of the picture I is an integer multiple of the width of the visual detection picture obtained from the storage medium.
[0020] A method for displaying a long object visual detection picture comprises the following steps:
[0021] 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set;
[0022] 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I;
[0023] 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window;
[0024] 4) The external input signal capture module of the window module obtains the movement signal of the position of the image to be viewed input by the external input device compared with the current position, and transmits it to the logic processing module;
[0025] 5) The logic processing module obtains the movement signal of the position of the image to be viewed compared with the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module;
[0026] 6) The memory queue module releases the specified pictures in the memory queue module and loads a corresponding number of pictures from the storage medium according to the picture loading and releasing amounts obtained from the logic processing module, and marks them as a new first picture set;
[0027] 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I;
[0028] 8) The transparency of the display window of the window module is 100%, which is nested in the upper layer of the drawing module and displays the area to be displayed determined by the logic processing module;
[0029] 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
[0030] A method for displaying a long object visual detection picture comprises the following steps:
[0031] 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set;
[0032] 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I;
[0033] 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window;
[0034] 4) The external input signal capture module of the window module obtains the enlargement or reduction signal of the image to be viewed position input by the external input device compared with the current position, and transmits it to the logic processing module;
[0035] 5) The logic processing module obtains the enlargement or reduction signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the aid of the number of images that can be stored in the memory queue module, and transmits it to the memory queue module;
[0036] 6) The memory queue module loads a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, and marks them as a new first picture set;
[0037] 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I;
[0038] 8) The zoom module of the window module enlarges or reduces the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed;
[0039] 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
[0040] The technical solution provided by the present invention can not only realize the effects of seamless splicing display, fine movement and zoom viewing of visual inspection pictures of long objects, but also has the following advantages:
[0041] 1. Seamless display, multiple pictures can be drawn simultaneously without gaps. When users view them through the window, the effect they see is always "one picture";
[0042] 2. Fine-level movement, mouse or touch screen movement, the movement unit can be as fine as pixel level, and the picture viewed in the display window is updated in real time according to the movement amount;
[0043] 3. Fine-level zoom, window-level zoom, mouse or touch screen zoom, the zoom unit can be as fine as 5% to 10%; the picture viewed in the window is updated in real time according to the zoom amount. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of a table format display method of an existing long object visual inspection picture;
[0045] Figure 2 It is a schematic diagram of a list display method of an existing long object visual inspection picture;
[0046] Figure 3 A structural block diagram of a display system for long object visual detection pictures provided by the present invention;
[0047] Figure 4 The original display situation of the display method of the long object visual detection picture provided by the present invention;
[0048] Figure 5 for Figure 4 Display flow chart after the picture is moved;
[0049] Figure 6 for Figure 4 The display flow chart after the picture is reduced;
[0050] Figure 7 for Figure 4 The display flow chart after the picture in the middle is enlarged;
[0051] Figure 8 A continuous high-speed train image displayed using the method of the present invention;
[0052] Fig. 9 The continuous high-speed train images are magnified and displayed using the method of the present invention. DETAILED DESCRIPTION
[0053] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0054] like Figure 3 As shown, a display system for long object visual detection pictures includes a memory queue module, a drawing module, a window module and a logic processing module;
[0055] The memory queue module is used to load a corresponding number of pictures from the storage medium according to a preset number, and mark them as a first picture set; or release the specified pictures in the memory queue module and load a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, and mark them as the first picture set;
[0056] The drawing module is used to draw all the pictures in the first picture set into one picture with the same resolution and without gaps, and mark it as picture I;
[0057] The window module includes an external input signal capture module and a display window; the display window has a transparency of 100%, is nested in the upper layer of the drawing module, and displays part or all of the image I according to the area to be displayed determined by the logic processing module; the display content of the display window is consistent with the content displayed on the screen when viewed externally; the external input signal capture module is used to obtain the movement signal of the image to be viewed position input by the external input device compared with the current position, and transmit it to the logic processing module;
[0058] The logic processing module obtains the movement signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module, cooperates with the drawing module and the window module to realize the display of the image in the area to be displayed on the screen.
[0059] The system provided by the present invention can not only display the continuous movement of the picture, but also realize the zooming in or zooming out of the picture. To this end, the external input signal capture module of the above display system can also obtain the zooming in or zooming out signal of the position of the picture to be viewed input by the external input device compared with the current position, and transmit it to the logic processing module;
[0060] After receiving the external input signal capture module to obtain the enlargement or reduction signal of the position of the image to be viewed compared to the current position, the logic processing module calculates the position of the image to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module;
[0061] The window module also includes a zoom module, which can enlarge or reduce the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed.
[0062] For ease of operation, the height of picture I is consistent with the height of the visual detection picture obtained from the storage medium, and the width of picture I is an integer multiple of the width of the visual detection picture obtained from the storage medium.
[0063] As a functional implementation of the present invention: the method for displaying the above-mentioned long object visual detection picture includes the following steps:
[0064] 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set;
[0065] 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I;
[0066] 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window;
[0067] 4) The external input signal capture module of the window module obtains the movement signal of the image to be viewed position input by the external input device compared with the current position, and transmits it to the logic processing module;
[0068] 5) The logic processing module obtains the movement signal of the position of the image to be viewed compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module;
[0069] 6) The memory queue module releases the specified pictures in the memory queue module and loads a corresponding number of pictures from the storage medium according to the picture loading and releasing amounts obtained from the logic processing module, and marks them as a new first picture set;
[0070] 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I;
[0071] 8) The transparency of the display window of the window module is 100%, which is nested in the upper layer of the drawing module and displays the area to be displayed determined by the logic processing module;
[0072] 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
[0073] The results of this method are shown as Figure 5 As shown, Figure 4Assuming the original state when the system is started, the mouse or the touch screen inputs the right move signal, and the logic processing module determines that the picture in the current memory queue module is 3, and the positions of the pictures to be displayed in the picture queue are 3, 4, and 5 (the original display positions are 1, 2, and 3), so it is determined that the memory queue module needs to release two pictures and reload two pictures; then draw the continuous picture I, and the display window displays the contents of pictures 3, 4, and 5, completing the picture display without zooming when viewing.
[0074] As another functional implementation of the present invention: a method for displaying a long object visual detection picture includes the following steps:
[0075] 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set;
[0076] 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I;
[0077] 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window;
[0078] 4) The external input signal capture module of the window module obtains the enlargement or reduction signal of the image to be viewed position input by the external input device compared with the current position, and transmits it to the logic processing module;
[0079] 5) The logic processing module obtains the enlargement or reduction signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images that can be stored in the memory queue module, and transmits it to the memory queue module;
[0080] 6) The memory queue module loads a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, and marks them as a new first picture set;
[0081] 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I;
[0082] 8) The zoom module of the window module enlarges or reduces the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed;
[0083] 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
[0084] The picture shows an example Figure 6 , 7 As shown, Figure 4 is the original state of the assumed system when it starts, Figure 6 To show the zoomed-out results, Figure 7 The display result after zooming in. Taking zooming out as an example, the mouse or the touch screen inputs a zooming out signal, and the logic processing module determines that the pictures in the current memory queue module are 1, 2, and 3, and the positions of the pictures to be displayed in the picture queue are 2, 3, 4, and 5, and it is determined that the memory queue module needs to release one picture and reload two pictures; then the continuous picture I is drawn, and the display window displays the contents of pictures 2, 3, 4, and 5, completing the picture display under the zoom condition when viewing.
[0085] The foregoing description of the specific exemplary embodiments of the present invention is presented for the purpose of illustration and description. The foregoing description is not intended to be exhaustive, nor is it intended to limit the present invention to the precise form disclosed, and it is apparent that many changes and variations are possible in light of the above teachings. The exemplary embodiments are selected and described to explain the specific principles of the present invention and its practical application, so that other technicians in the field can realize and utilize the various exemplary embodiments of the present invention and its different selected forms and modified forms. The scope of the present invention is intended to be limited by the appended claims and their equivalents.
Claims
1. A display system for long object visual inspection pictures, characterized in that Includes memory queue module, drawing module, window module and logic processing module; The memory queue module is used to load a corresponding number of pictures from the storage medium according to a preset number, marked as a first picture set; or release the specified pictures in the memory queue module and load a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, marked as the first picture set; The drawing module is used to draw all pictures in the first picture set into one picture with the same resolution and without gaps, and mark it as picture I; The window module includes an external input signal capture module and a display window; the display window has a transparency of 100%, is nested in the upper layer of the drawing module, and displays part or all of the picture I according to the area to be displayed determined by the logic processing module; the display content of the display window is consistent with the content displayed on the screen when viewed externally; the external input signal capture module is used to obtain the movement signal of the position to be viewed of the picture input by the external input device compared with the current position, and transmit it to the logic processing module; The logic processing module obtains the movement signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module, cooperates with the drawing module and the window module to realize the display of the image in the area to be displayed on the screen.
2. The display system for long object visual detection pictures as claimed in claim 1, characterized in that: The external input signal capture module can also obtain a signal of enlarging or reducing the position of the image to be viewed input by the external input device compared to the current position, and transmit it to the logic processing module; After the logic processing module receives the enlargement or reduction signal of the position of the image to be viewed compared to the current position obtained by the external input signal capture module, it calculates the position of the image to be displayed, and then determines the loading and releasing amount of the image with the help of the number of images in the current memory queue module and the position in the image queue, and transmits it to the memory queue module; The window module also includes a zoom module, which can enlarge or reduce the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed.
3. The display system for long object visual detection pictures as claimed in claim 1, characterized in that: The height of the picture I is consistent with the height of the visual detection picture obtained from the storage medium, and the width of the picture I is an integer multiple of the width of the visual detection picture obtained from the storage medium.
4. A method for displaying a long object visual inspection picture, characterized in that The steps include: 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set; 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I; 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window; 4) The external input signal capture module of the window module obtains the movement signal of the image to be viewed position input by the external input device compared with the current position, and transmits it to the logic processing module; 5) The logic processing module obtains the movement signal of the position to be viewed of the picture compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the picture with the help of the number of pictures in the current memory queue module and the position in the picture queue, and transmits it to the memory queue module; 6) The memory queue module releases the specified pictures in the memory queue module and loads a corresponding number of pictures from the storage medium according to the picture loading and releasing amounts obtained from the logic processing module, and marks them as a new first picture set; 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I; 8) The transparency of the display window of the window module is 100%, which is nested in the upper layer of the drawing module and displays the area to be displayed determined by the logic processing module; 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
5. A method for displaying a long object visual inspection picture, characterized in that The steps include: 1) The memory queue module loads a corresponding number of pictures from the storage medium according to a preset number and marks them as the first picture set; 2) The drawing module draws all the pictures in the first picture set into one picture with the same resolution and without gaps, and marks it as picture I; 3) The display window height of the window module is consistent with the height of the picture I, the transparency is 100%, it is nested in the upper layer of the drawing module, and the picture I is displayed in the display window; 4) The external input signal capture module of the window module obtains the enlargement or reduction signal of the image to be viewed position input by the external input device compared with the current position, and transmits it to the logic processing module; 5) The logic processing module obtains the enlargement or reduction signal of the image to be viewed position compared to the current position from the external input signal capture module, calculates the area to be displayed, and then determines the loading and releasing amount of the image with the aid of the number of images that can be stored in the memory queue module, and transmits it to the memory queue module; 6) The memory queue module loads a corresponding number of pictures from the storage medium according to the picture loading amount and release amount obtained from the logic processing module, and marks them as a new first picture set; 7) The drawing module draws all the pictures in the new first picture set into one picture with the same resolution and without gaps, and marks it as a new picture I; 8) The zoom module of the window module enlarges or reduces the image I according to the area to be displayed determined by the logic processing module, so that the image area displayed in the display window is consistent with the area to be displayed; 9) When the position of the image to be viewed input by the external input device changes, steps 4) to 8) are repeated to continuously display the image in the area to be displayed on the screen.
Citation Information
Patent Citations
Computer vision systems
GB201613138D0
Network image downloading method and system for mobile terminal
WO2018196409A1