CN111694476A - Translation browsing method and device, computer system and readable storage medium - Google Patents

Translation browsing method and device, computer system and readable storage medium Download PDF

Info

Publication number
CN111694476A
CN111694476A CN202010412754.3A CN202010412754A CN111694476A CN 111694476 A CN111694476 A CN 111694476A CN 202010412754 A CN202010412754 A CN 202010412754A CN 111694476 A CN111694476 A CN 111694476A
Authority
CN
China
Prior art keywords
navigation window
window
moving
information
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010412754.3A
Other languages
Chinese (zh)
Other versions
CN111694476B (en
Inventor
初晓
刘美兰
郭冰雪
王季勇
楼文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010412754.3A priority Critical patent/CN111694476B/en
Publication of CN111694476A publication Critical patent/CN111694476A/en
Application granted granted Critical
Publication of CN111694476B publication Critical patent/CN111694476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/63ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for local operation

Abstract

The invention belongs to the technical field of artificial intelligence, is applied to the observation of an electron microscope in an intelligent medical scene, mainly discloses a translation browsing method, a device, a computer system and a readable storage medium, and comprises the following steps: extracting step increment and unit time in the speed information, setting image information on the position and direction information of a navigation window as a moving queue, and extracting a moving direction in the direction information as a specified direction; executing a periodic moving task to enable the playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; judging whether the coordinates before the movement are consistent with the coordinates after the movement; if not, continuing to execute the periodic movement task; if the two tasks are consistent, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute a periodic moving task. The invention enables the navigation window to move in a return type on the image to be observed, and realizes the technical effects of automatic translation of the navigation window and automatic playing and browsing of the playing window.

Description

Translation browsing method and device, computer system and readable storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, is applied to an intelligent medical scene, and relates to a translation browsing method, a translation browsing device, a computer system and a readable storage medium.
Background
Currently, doctors usually observe liquid-based cells by using an electron microscope to perform detailed identification and analysis on the cells; the image of the liquid-based cell is displayed as a static image under an electron microscope, so that a doctor needs to manually adjust the position and the magnification of an electron lens, and gradually observe and analyze the content of each detail from the details of the cell.
The method needs to continuously adjust the position and the magnification of the electronic lens, so that a user needs to expend a great deal of energy to finish browsing cell detail image information, and the cell identification and analysis work of the user is not only low in efficiency, but also very high in fatigue strength.
Disclosure of Invention
The invention aims to provide a translation browsing method, a translation browsing device, a computer system and a readable storage medium, which are used for solving the problem that in the prior art, the position and the magnification of an electronic lens need to be adjusted continuously, so that a user needs to expend a great deal of energy to browse cell detail image information.
In order to achieve the above object, the present invention provides a panning method for automatically panning and browsing an image, including:
receiving speed information and direction information; extracting step increment and unit time in the speed information, setting the position of a navigation window and image information on the direction information as a moving queue, and extracting a moving direction in the direction information as a specified direction;
executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed;
judging whether the coordinates before and after movement are consistent; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
In the above solution, the receiving the speed information and the direction information includes:
acquiring an image to be observed, and creating a navigation window and a playing window which are mutually associated;
and receiving an observation trigger signal, moving the navigation window according to position information in the observation trigger signal to enable the center point of the navigation window to be overlapped with the position information, and amplifying and playing the image information in the navigation window by the playing window.
In the above scheme, the step of obtaining the image to be observed and creating the navigation window and the play window which are associated with each other includes:
receiving an image to be observed sent by a user side or extracted from a preset database;
and loading the image to be observed, creating a navigation window for extracting the image information of the image to be observed on the image to be observed, and a playing window for amplifying and playing the image information in the navigation window.
In the above solution, the step of moving the navigation window according to the position information in the observation trigger signal to make the center point of the navigation window coincide with the position information includes:
extracting position information in the observation trigger signal, wherein the position information is used for reflecting the appointed position of the user side on the image to be observed;
and extracting the coordinates of the central point of the navigation window, calculating a moving path between the coordinates of the central point and the position information, and moving the navigation window according to the moving path to enable the central point of the navigation window to coincide with the position information.
In the above scheme, the step of playing the image information in the navigation window in an enlarged manner by the playing window includes:
extracting image information in a navigation window in the image to be observed;
and amplifying the extracted image information to obtain image amplification information, and displaying the image amplification information in the playing window.
In the above scheme, the foldback moving task includes the following steps:
extracting the size information of a navigation window and the coordinate of the center point of the navigation window and setting the coordinate as a back-turning front coordinate, moving the distance of the size information in a direction perpendicular to the moving direction to enable the navigation window to replace a moving queue, and extracting the coordinate of the center point of the navigation window and setting the coordinate as a back-turning back coordinate;
judging whether the before-turning-back coordinates and the after-turning-back coordinates are consistent; if the two are consistent, ending; and if not, acquiring the appointed direction of the navigation window in the periodic movement task in the last unit time.
Setting the direction opposite to the appointed direction as a new appointed direction, and controlling the navigation window to execute a periodic movement task in the next unit time so as to realize the return type movement of the navigation window on the image to be observed.
In the above aspect, after the retracing movement task, the method further includes:
and receiving a playing stopping signal sent by the user side, stopping the movement of the navigation window according to the playing stopping signal, and enabling the playing window to amplify and play the image information currently positioned in the navigation window in the image to be observed.
In order to achieve the above object, the present invention further provides a translation browsing apparatus for automatically translating and browsing an image, including:
the speed and direction control module is used for receiving speed information and direction information; extracting step increment and unit time in the speed information, setting the position of a navigation window and image information on the direction information as a moving queue, and extracting a moving direction in the direction information as a specified direction;
the automatic translation control module is used for executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed;
the turn-back movement control module is used for judging whether the coordinates before the movement are consistent with the coordinates after the movement; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
In order to achieve the above object, the present invention further provides a computer system, which includes at least one computer device, where the computer device includes a memory and a processor, the memory stores a computer program thereon, and the processor of the computer device executes the computer program to collectively implement the steps of the panning browsing method.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, which includes a plurality of storage media, each storage medium having a computer program stored thereon, wherein the computer programs stored in the storage media, when executed by a processor, collectively implement the steps of the above panning browsing method.
According to the translation browsing method, the translation browsing device, the computer system and the readable storage medium, the speed information and the direction information in the observation trigger signal are extracted, and the navigation window is controlled to move on the image to be observed in a turn-back type route according to the speed information and the direction information, so that the image information in the navigation window is amplified and played by the playing window in the moving process of the navigation window; because the navigation window moves in a turning-back manner on the image to be observed, the playing window can play the image information of each detailed part as the video is played, so that a user only needs to browse the amplified image information in the playing window as the video is browsed, the electronic microscope does not need to be operated frequently, and the energy and time consumption of the user is reduced; the problem that in the prior art, the position and the magnification of the electronic lens need to be adjusted continuously, so that a user needs to expend a great deal of energy to browse cell detail image information is solved; the technical effects of automatic translation of the navigation window and automatic playing and browsing of the playing window are realized.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a panning browsing method according to the present invention;
FIG. 2 is a schematic diagram of an environment application of a panning browsing method according to a second embodiment of the panning browsing method of the present invention;
FIG. 3 is a flowchart illustrating a detailed method of a panning browsing method according to a second embodiment of the panning browsing method of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a panning browsing method according to the present invention, wherein the navigation window and the playing window are associated with each other;
fig. 5 is a flowchart of causing the center point of the navigation window to coincide with the position information in the second embodiment of the panning browsing method according to the present invention;
fig. 6 is a flowchart illustrating the playing window enlarging and playing the image information in the navigation window according to the second embodiment of the panning and browsing method of the present invention;
FIG. 7 is a flowchart illustrating a turn-back movement task in a second embodiment of the panning browsing method according to the present invention;
FIG. 8 is a schematic diagram illustrating program modules of a third embodiment of a panning browsing apparatus according to the present invention;
fig. 9 is a schematic diagram of a hardware structure of a computer device according to a fourth embodiment of the computer system of the present invention.
Reference numerals:
1. translation browsing device 2, server 3, network 4 and user side
5. Database 6, computer equipment 11, speed and direction control module
12. Automatic translation control module 13, foldback movement control module 14, creation module
15. Positioning module 61, memory 62, processor
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a translation browsing method, a translation browsing device, a computer system and a readable storage medium, which are suitable for the field of computers and are used for providing a translation browsing method based on a speed and direction control module, an automatic translation control module and a turn-back movement control module. The invention sets the position of a navigation window and the image information on the direction information as a moving queue by extracting the step increment and the unit time in the speed information, and extracts the moving direction in the direction information as the designated direction; executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed; judging whether the coordinates before and after movement are consistent; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
Example one
Referring to fig. 1, a panning browsing method of the present embodiment is used for performing automatic panning browsing on an image, and includes the following steps:
s103: receiving speed information and direction information; and extracting the step increment and the unit time in the speed information, setting the position of a navigation window and the image information on the direction information as a moving queue, and extracting the moving direction in the direction information as a specified direction.
S104: executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; and the periodic movement task comprises the step of moving a navigation window by the distance of the step increment along the specified direction in the unit time, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed.
S105: judging whether the coordinates before and after movement are consistent; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
The method comprises the steps of extracting speed information and direction information in an observation trigger signal, and controlling a navigation window to move on an image to be observed in a turn-back type route according to the speed information and the direction information, so that a playing window can amplify and play image information in the navigation window in the moving process of the navigation window; because the navigation window moves in a turning-back manner on the image to be observed, the playing window can play the image information of each detail part like playing a video, so that a user only needs to browse the amplified image information in the playing window like browsing the video, the electronic microscope does not need to be frequently operated, and the energy and time consumption of the user is reduced.
Example two
The embodiment is a specific application scenario of the first embodiment, and the method provided by the present invention can be more clearly and specifically explained through the embodiment.
The method provided by the present embodiment is specifically described below by taking the example of performing panning browsing on an image in a server running a panning browsing method. It should be noted that the present embodiment is only exemplary, and does not limit the protection scope of the embodiments of the present invention.
Fig. 2 schematically shows an environment application diagram of the panning browsing method according to the second embodiment of the present application.
In an exemplary embodiment, the server 2 in which the panning browsing method is located is connected to the database 5 or at least one user terminal 4 through the network 3; the server 2 may provide services through one or more networks 3, which networks 3 may include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and/or the like. The network 3 may include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like. The network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links, and/or the like;
the user terminal 4 can be a PC terminal (e.g., a personal computer) with a Mac OS X, or Windows, or Linux, or BSD platform, or a mobile communication device (e.g., a smart phone) with an android or IOS platform.
Fig. 3 is a flowchart of a specific method of a panning browsing method according to an embodiment of the present invention, where the method specifically includes steps S201 to S206.
S201: and acquiring an image to be observed, and creating a navigation window and a playing window which are mutually associated.
In a preferred embodiment, referring to fig. 4, the step of acquiring the image to be observed and creating a navigation window and a play window which are associated with each other includes:
s201-1: and receiving the image to be observed sent by the user terminal or extracted from a preset database.
The image to be observed sent by the user through the user side can be received, the image address sent by the user can also be received, and the image to be observed is extracted from the database through the image address.
S202-2: and loading the image to be observed, creating a navigation window for extracting the image information of the image to be observed on the image to be observed, and a playing window for amplifying and playing the image information in the navigation window.
Exemplarily, a calling module for managing an image to be observed, a window creating module for generating a navigation window and a playing window, and a window management module for triggering the navigation window to move are created; the method comprises the following steps that a calling module calls a window creating module to create a navigation window and a playing window which are mutually related on an image to be observed when the image to be observed is obtained.
It should be noted that a setInterval function in the javascript may be used as a calling module, and the setInterval function is a function for calling the operation method at a certain time interval; openseadaggon, which is a Web library for displaying multiple layers of pictures (which can be enlarged and reduced) based on JavaScript, can be used as a window creation module, and supports a PC end and a mobile end. The navigation window management module can be used as a window management module through the viewport and is used for controlling the moving speed and the moving direction of the navigation window according to the speed information and the direction information in the observation trigger signal; wherein a viewport is a computer module for managing windows.
When the calling module acquires an image to be observed, the calling module calls a navigation interface of the window creation module OpenSeadragon to create a navigation window and a playing window which are associated with each other on the image to be observed, wherein the navigation interface presents information how to navigate to a current document, the navigation interface realizes a navigation function on the image to be observed by generating the navigation window for extracting image information, and generates the playing window for playing the image information in the navigation window in an amplification manner to realize a function of playing the current document (namely, the image information) in an amplification manner.
S202: and receiving an observation trigger signal, moving the navigation window according to position information in the observation trigger signal to enable the center point of the navigation window to be overlapped with the position information, and amplifying and playing the image information in the navigation window by the playing window.
It should be noted that, the calling module receives an observation trigger signal sent by the user side, and triggers the window creating module to create a navigation window and a playing window on the image to be observed; the observation trigger signal comprises position information used for reflecting the position of a user end on an image to be observed, speed information used for controlling the playing speed of a playing window by controlling the moving speed of a navigation window, and direction information used for controlling the image information played by the playing window by controlling the moving direction of the navigation window;
the calling module marks a designated position on the image to be observed according to the position information in the observation trigger signal, and the center point of the navigation window is overlapped with the designated position through the window management module, so that the playing window displays the image information around the designated position in an amplification way; the window management module formulates the moving speed and the moving direction of the navigation window according to the speed information and the direction information in the observation trigger signal; the window management module triggers a navigation window to move on an image to be observed in a turn-back type route according to the moving speed and the moving direction, and the playing window plays the image information in the navigation window in an amplification mode in the moving process of the navigation window.
In a preferred embodiment, referring to fig. 5, the step of moving the navigation window according to the position information in the observation trigger signal to make the center point of the navigation window coincide with the position information includes:
s202-1: extracting position information in the observation trigger signal, wherein the position information is used for reflecting the appointed position of the user side on the image to be observed;
in this step, the position information may be generated by the user terminal by clicking a mouse;
s202-2: extracting the coordinates of the center point of the navigation window, calculating a moving path between the coordinates of the center point and the position information, and moving the navigation window according to the moving path to enable the center point of the navigation window to be coincident with the position information;
illustratively, the calling module marks a specified position on the image to be observed according to the position information in the observation trigger signal, and a window management module is used for enabling a center point of a navigation window to coincide with the specified position, so that a playing window displays the image information around the specified position in an enlarged manner; the window management module extracts the center point coordinate of the navigation window through the method of viewport, getcenter (), calls the viewport, panby () method and viewport, applyconstraints () method and moves the navigation window to the specified position according to the moving path.
In a preferred embodiment, referring to fig. 6, the step of playing the image information in the navigation window in the play window in an enlarged manner includes:
s202-3: and extracting image information in the navigation window in the image to be observed.
S202-4: and amplifying the extracted image information to obtain image amplification information, and displaying the image amplification information in the playing window to realize the effect of amplifying and playing the image information in the navigation window.
It should be noted that, a navigation interface and a playing window which are associated with each other may be created on an image to be observed through a navigation interface of openseadara, where the navigation interface presents information how to navigate to a current document, and implements a navigation function on the image to be observed by generating the navigation window for extracting image information, and implements a function of playing the current document (i.e., image information) by generating the playing window for playing the image information in the navigation window in an enlarged manner; the size information and the position relation of the navigation window and the playing window can be set in the navigation interface, and meanwhile, the magnification factor of the playing window can also be set in the navigation interface.
S203: receiving speed information and direction information; and extracting the step increment and the unit time in the speed information, setting the position of a navigation window and the image information on the direction information as a moving queue, and extracting the moving direction in the direction information as a specified direction.
In this step, the moving queue refers to an image information set having the same direction information as the navigation window on the image to be observed, if the direction information is horizontal movement, the moving queue is image information on the same row as the navigation window, and if the direction information is vertical movement, the moving queue is image information on the same column as the navigation window.
It should be noted that the speed information reflects the increment of the navigation window step in the unit time, and includes at least: step increments and unit time; in this embodiment, the step increment and the unit time can be defined by setting gears, so that when the user selects different gears, the navigation window can move on the image to be observed according to the speed information corresponding to the different gears, and the playing window has different playing speeds, so as to meet different requirements of different users on the playing speeds; for example: assuming that the unit time is 1s, 5 gears are set, and the step increment of each gear is increased along with the lifting of the gear, such as: the step increment of the first gear in 1s is 1mm, the step increment of the second gear in 1s is 1mm, the step increment of the third gear in 1s is 3mm, the step increment of the fourth gear in 1s is 5mm, and the step increment of the fifth gear in 1s is 7mm, so that the playing window has different playing speeds due to the difference of the step increments of each gear in unit time; wherein, the unit time can be set in the function of setInterval, and the step increment can be set in the method of viewport. Furthermore, a gear button can be arranged on the upper layer of the image to be observed and used for triggering different gears to enable the navigation window to move at different gear speeds so as to be convenient for the user side to use.
In this embodiment, the direction information in S203 reflects the direction in which the navigation window moves on the image to be observed, which includes lateral movement and longitudinal movement; the moving direction of the lateral movement at least comprises: left lateral movement and right lateral movement; the moving direction of the longitudinal movement at least comprises: upward longitudinal movement and downward longitudinal movement; wherein the leftward lateral movement, the rightward lateral movement, the upward longitudinal movement, and the downward longitudinal movement may be set in the viewport. Furthermore, a direction key can be arranged on the upper layer of the image to be observed and used for triggering the navigation window to move leftwards and transversely, rightwards and longitudinally or downwards so that the navigation window moves according to different directions, and therefore the user side can use the method.
S204: executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; and the periodic movement task comprises the step of moving a navigation window by the distance of the step increment along the specified direction in the unit time, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed.
Exemplarily, the navigation window is enabled to continuously move at a constant speed along the moving direction at the speed set by the speed information in the unit time, and the coordinates before the navigation window moves and the coordinates after the navigation window moves are monitored; extracting the coordinate of the center point of the navigation window in preset unit time, setting the coordinate as a coordinate before movement, controlling the navigation window to move the distance of the step increment along the movement direction, extracting the coordinate of the center point of the navigation window, and setting the coordinate as a coordinate after movement; and enabling the navigation window to continuously move at a constant speed along the moving direction at the speed set by the speed information, and monitoring the moving position of the navigation window.
It should be noted that the moving speed of the navigation window is controlled by a viewport _ panby () method according to the speed information, the moving direction of the navigation window is controlled by a viewport _ applyconstraints () method according to the direction information, and meanwhile, the center point coordinate of the navigation window is extracted by a viewport _ getcenter () method; therefore, the calling module periodically triggers the window management module in a preset unit time, so that the window management module controls the navigation window to move on the image to be observed through the viewport.
S205: judging whether the coordinates before and after movement are consistent; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
Further, referring to fig. 7, the folding back movement task includes the following steps:
s205-1: and extracting the size information of the navigation window and the coordinate of the center point of the navigation window and setting the coordinate as a back-turning front coordinate, moving the distance of the size information in a direction perpendicular to the moving direction to enable the navigation window to replace a moving queue, and extracting the coordinate of the center point of the navigation window and setting the coordinate as a back-turning back coordinate.
In this step, the size information includes the length and height of the navigation window; if the direction information is transverse movement, extracting the height of a navigation window in the size information; and if the direction information is longitudinal movement, extracting the length of the navigation window in the size information.
S205-2: judging whether the before-turning-back coordinates and the after-turning-back coordinates are consistent; if the two are consistent, ending; and if not, acquiring the appointed direction of the navigation window in the periodic movement task in the last unit time.
S205-3: setting the direction opposite to the appointed direction as a new appointed direction, and controlling the navigation window to execute a periodic movement task in the next unit time so as to realize the return type movement of the navigation window on the image to be observed.
Illustratively, if the specified direction in the last unit time is a leftward lateral movement, the specified direction in which the navigation window is controlled to perform the periodic movement task in the next unit time is a rightward lateral movement, and so on; in this way, a folding movement of the navigation window is achieved.
S206: and receiving a playing stopping signal sent by the user side, stopping the movement of the navigation window according to the playing stopping signal, and enabling the playing window to amplify and play the image information currently positioned in the navigation window in the image to be observed.
In the step, when a playing stopping signal is received, a window module is called by a calling stopping module within unit time to work, so that a navigation window stops moving; therefore, once image information needing important attention is met, the movement of the navigation window can be stopped so as to observe the image information for a long time; if the user misses the image information needing important attention, the navigation window can be moved reversely, and the navigation window stops when the image information arrives at the navigation window, so that the user can continue to observe through the playing window.
EXAMPLE III
Referring to fig. 8, a panning browsing apparatus 1 of the present embodiment is configured to perform automatic panning browsing on an image, and includes:
a speed and direction control module 11, configured to receive speed information and direction information; extracting step increment and unit time in the speed information, setting the position of a navigation window and image information on the direction information as a moving queue, and extracting a moving direction in the direction information as a specified direction;
the automatic translation control module 12 is configured to execute a periodic movement task, so that the playing window amplifies and plays the image information in the navigation window in the movement process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed;
the foldback movement control module 13 is used for judging whether the coordinates before the movement are consistent with the coordinates after the movement; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
Optionally, the automatic translation control module 12 is further configured to receive a play stop signal sent by the user, and stop the navigation window from moving according to the play stop signal, so that the image information currently in the navigation window in the image to be observed is played in the playback window in an amplified manner.
Optionally, the panning browsing apparatus may further include:
a creating module 14, configured to obtain an image to be observed, and create a navigation window and a play window that are associated with each other;
and the positioning module 15 is configured to receive an observation trigger signal, move the navigation window according to position information in the observation trigger signal, so that a center point of the navigation window coincides with the position information, and enlarge and play the image information in the navigation window by the play window.
The technical scheme is based on an artificial intelligence image detection technology, a navigation window is realized by combining a periodic moving task and a turn-back moving task, and turn-back type automatic movement is carried out in a zigzag mode, wherein a center point of the navigation window is obtained through an image processing edge detection technology and is used as a coordinate of the navigation window, and a coordinate before the navigation window moves before the periodic moving task is executed and a coordinate after the navigation window moves after the periodic moving task is executed are extracted.
Example four:
in order to achieve the above object, the present invention further provides a computer system, where the computer system includes at least one computer device 6, the computer device 6 includes a memory 61 and a processor 62, the memory 61 stores a computer program, and the processor 62 of the computer device 6 executes the computer program, components of the panning browsing apparatus 1 according to the third embodiment may be installed in one computer device or distributed in different computer devices, and the computer device may be a smartphone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including a stand-alone server or a server cluster composed of multiple servers) that executes a program, and the like. The computer device of the embodiment at least includes but is not limited to: a memory 61, a processor 62, which may be communicatively coupled to each other via a system bus, as shown in fig. 9. It should be noted that fig. 9 only shows a computer device with components, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead.
In the present embodiment, the memory 61 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 61 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 61 may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device. Of course, the memory 61 may also include both internal and external storage devices of the computer device. In this embodiment, the memory 61 is generally used to store an operating system and various application software installed on the computer device, such as a program code of the panning browsing apparatus in the first embodiment. Further, the memory 61 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 62 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device. In this embodiment, the processor 62 is configured to execute the program code stored in the memory 61 or process data, for example, execute the panning browsing apparatus, so as to implement the panning browsing method according to the first embodiment.
Example five:
to achieve the above objects, the present invention also provides a computer-readable storage system including a plurality of storage media, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor 62, implements corresponding functions. The computer-readable storage medium of this embodiment is used for storing a panning browsing apparatus, and when executed by the processor 62, the panning browsing method of the first embodiment is implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A translation browsing method is used for automatically translating and browsing images, and is characterized by comprising the following steps:
receiving speed information and direction information; extracting step increment and unit time in the speed information, setting the position of a navigation window and image information on the direction information as a moving queue, and extracting a moving direction in the direction information as a specified direction;
executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed;
judging whether the coordinates before and after movement are consistent; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
2. The panning browsing method of claim 1, wherein receiving the speed information and the direction information comprises:
acquiring an image to be observed, and creating a navigation window and a playing window which are mutually associated;
and receiving an observation trigger signal, moving the navigation window according to position information in the observation trigger signal to enable the center point of the navigation window to be overlapped with the position information, and amplifying and playing the image information in the navigation window by the playing window.
3. The panning browsing method of claim 2, wherein said step of obtaining an image to be observed and creating a navigation window and a play window which are associated with each other comprises:
receiving an image to be observed sent by a user side or extracted from a preset database;
and loading the image to be observed, creating a navigation window for extracting the image information of the image to be observed on the image to be observed, and a playing window for amplifying and playing the image information in the navigation window.
4. The panning browsing method according to claim 2, wherein the step of moving the navigation window according to the position information in the observation trigger signal to make the center point of the navigation window coincide with the position information comprises:
extracting position information in the observation trigger signal, wherein the position information is used for reflecting the appointed position of the user side on the image to be observed;
and extracting the coordinates of the central point of the navigation window, calculating a moving path between the coordinates of the central point and the position information, and moving the navigation window according to the moving path to enable the central point of the navigation window to coincide with the position information.
5. The panning browsing method of claim 2, wherein the step of enlarging and playing the image information in the navigation window by the playing window comprises:
extracting image information in a navigation window in the image to be observed;
and amplifying the extracted image information to obtain image amplification information, and displaying the image amplification information in the playing window.
6. The panning browsing method of claim 1, wherein the folding back movement task comprises the steps of:
extracting the size information of a navigation window and the coordinate of the center point of the navigation window and setting the coordinate as a back-turning front coordinate, moving the distance of the size information in a direction perpendicular to the moving direction to enable the navigation window to replace a moving queue, and extracting the coordinate of the center point of the navigation window and setting the coordinate as a back-turning back coordinate;
judging whether the before-turning-back coordinates and the after-turning-back coordinates are consistent; if the two are consistent, ending; if not, acquiring the appointed direction of the navigation window in the execution of the periodic movement task in the last unit time;
setting the direction opposite to the appointed direction as a new appointed direction, and controlling the navigation window to execute a periodic movement task in the next unit time so as to realize the return type movement of the navigation window on the image to be observed.
7. The panning browsing method of claim 1, further comprising, after said retracing movement task:
and receiving a playing stopping signal sent by the user side, stopping the movement of the navigation window according to the playing stopping signal, and enabling the playing window to amplify and play the image information currently positioned in the navigation window in the image to be observed.
8. A translation browsing apparatus for performing automatic translation browsing on an image, comprising:
the speed and direction control module is used for receiving speed information and direction information; extracting step increment and unit time in the speed information, setting the position of a navigation window and image information on the direction information as a moving queue, and extracting a moving direction in the direction information as a specified direction;
the automatic translation control module is used for executing a periodic moving task to enable a playing window to amplify and play the image information in the navigation window in the moving process of the navigation window; the periodic movement task comprises the step of moving a navigation window along the designated direction within the unit time by the distance of the step increment, and extracting a coordinate of the navigation window before the periodic movement task is executed and a coordinate of the navigation window after the periodic movement task is executed;
the turn-back movement control module is used for judging whether the coordinates before the movement are consistent with the coordinates after the movement; if not, continuing to execute the periodic movement task in the next unit time; and if the current time interval is consistent with the preset time interval, entering a turn-back moving task, enabling the navigation window to replace the moving queue, and controlling the navigation window to execute the periodic moving task in the next unit time.
9. A computer system comprising at least one computer device including a memory and a processor, the memory having stored thereon a computer program, wherein the computer program when executed by the processor of the computer device collectively implement the steps of the panning browsing method of any of claims 1 to 7.
10. A computer-readable storage medium comprising a plurality of storage media, each storage medium having a computer program stored thereon, wherein the computer programs stored in the storage media, when executed by a processor, collectively implement the steps of the panning browsing method of any of claims 1 to 7.
CN202010412754.3A 2020-05-15 2020-05-15 Translation browsing method and device, computer system and readable storage medium Active CN111694476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010412754.3A CN111694476B (en) 2020-05-15 2020-05-15 Translation browsing method and device, computer system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010412754.3A CN111694476B (en) 2020-05-15 2020-05-15 Translation browsing method and device, computer system and readable storage medium

Publications (2)

Publication Number Publication Date
CN111694476A true CN111694476A (en) 2020-09-22
CN111694476B CN111694476B (en) 2022-07-08

Family

ID=72477852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010412754.3A Active CN111694476B (en) 2020-05-15 2020-05-15 Translation browsing method and device, computer system and readable storage medium

Country Status (1)

Country Link
CN (1) CN111694476B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368110A (en) * 2010-06-29 2012-03-07 索尼公司 Image management server, image acquisition method and image management system
CN102967929A (en) * 2011-08-31 2013-03-13 株式会社其恩斯 Magnification observation device, magnification observation method, and magnification observation program
CN104104861A (en) * 2013-04-01 2014-10-15 佳能株式会社 Image processing apparatus and image processing method
CN104412304A (en) * 2012-07-13 2015-03-11 索尼公司 Information processing apparatus, information processing method, and information processing program
CN108401446A (en) * 2017-08-24 2018-08-14 深圳市华显光学仪器有限公司 From moving axes microscope
CN109152519A (en) * 2016-03-31 2019-01-04 索尼奥林巴斯医疗解决方案公司 Medical observation device, image shift calibrating method and medical viewing system
CN110196642A (en) * 2019-06-21 2019-09-03 济南大学 A kind of navigation-type virtual microscopic understanding model based on intention
CN110244444A (en) * 2019-05-21 2019-09-17 深圳市智影医疗科技有限公司 Microscopical focusing method, device, terminal device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368110A (en) * 2010-06-29 2012-03-07 索尼公司 Image management server, image acquisition method and image management system
CN102967929A (en) * 2011-08-31 2013-03-13 株式会社其恩斯 Magnification observation device, magnification observation method, and magnification observation program
CN104412304A (en) * 2012-07-13 2015-03-11 索尼公司 Information processing apparatus, information processing method, and information processing program
CN104104861A (en) * 2013-04-01 2014-10-15 佳能株式会社 Image processing apparatus and image processing method
CN109152519A (en) * 2016-03-31 2019-01-04 索尼奥林巴斯医疗解决方案公司 Medical observation device, image shift calibrating method and medical viewing system
CN108401446A (en) * 2017-08-24 2018-08-14 深圳市华显光学仪器有限公司 From moving axes microscope
CN110244444A (en) * 2019-05-21 2019-09-17 深圳市智影医疗科技有限公司 Microscopical focusing method, device, terminal device and storage medium
CN110196642A (en) * 2019-06-21 2019-09-03 济南大学 A kind of navigation-type virtual microscopic understanding model based on intention

Also Published As

Publication number Publication date
CN111694476B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN110688600A (en) Online editing method, device and equipment based on HTML (Hypertext markup language) page and storage medium
CN109669657B (en) Method and equipment for conducting remote document collaboration
CN109753641B (en) Method and device for changing object position, electronic equipment and storage medium
CN114501501B (en) Configuration management method, device, equipment and medium for mobile communication network target range
CN108492349B (en) Processing method, device and equipment for writing strokes and storage medium
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN111222069B (en) Report component adjustment method and device and related equipment
KR20230163921A (en) Control method, device, equipment and storage medium for interactive reproduction of target object
US9754391B2 (en) Webpage display method and apparatus
CN104537049A (en) Picture browsing method and device
CN111694476B (en) Translation browsing method and device, computer system and readable storage medium
CN111538645B (en) Data visualization method and related equipment
CN111913777A (en) Information processing method, information processing device, electronic equipment and storage medium
CN111489295B (en) Image processing method, electronic device, and storage medium
US8473892B1 (en) Computer aided design system and method
CN115510508A (en) Page information protection method and device and electronic equipment
CN114845171A (en) Video editing method and device and electronic equipment
CN112162805A (en) Screenshot method and device and electronic equipment
CN107291628B (en) Method and apparatus for accessing data storage device
CN108427663B (en) Electronic device, page table data processing method and storage medium
CN105653386A (en) Process breakdown processing method and terminal equipment
CN114625460B (en) Image-text mixed arrangement method, device, equipment and storage medium
CN112307378B (en) Network view display method
CN112257004B (en) Method, device, server and storage medium for page backup
CN114880611A (en) Screenshot processing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant