CN111208926A - Local focusing display method and system - Google Patents

Local focusing display method and system Download PDF

Info

Publication number
CN111208926A
CN111208926A CN202010000503.4A CN202010000503A CN111208926A CN 111208926 A CN111208926 A CN 111208926A CN 202010000503 A CN202010000503 A CN 202010000503A CN 111208926 A CN111208926 A CN 111208926A
Authority
CN
China
Prior art keywords
display
mouse cursor
local
display device
focusing
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.)
Pending
Application number
CN202010000503.4A
Other languages
Chinese (zh)
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.)
Nanjing Jusha Display Technology Co Ltd
Nanjing Jusha Medical Technology Co Ltd
Original Assignee
Nanjing Jusha Display Technology Co Ltd
Nanjing Jusha Medical Technology 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 Nanjing Jusha Display Technology Co Ltd, Nanjing Jusha Medical Technology Co Ltd filed Critical Nanjing Jusha Display Technology Co Ltd
Priority to CN202010000503.4A priority Critical patent/CN111208926A/en
Publication of CN111208926A publication Critical patent/CN111208926A/en
Pending legal-status Critical Current

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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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

Abstract

The invention discloses a local focusing display method and a local focusing display system in the technical field of image display, and aims to solve the technical problem that when a certain area of a picture is checked in a targeted manner in a dense and high-resolution picture in the prior art, the picture is easily interfered by surrounding pictures. The method comprises the following steps: acquiring display equipment with a mouse cursor; and locally focusing and displaying the moving area of the mouse cursor in the display picture of the display equipment. The system comprises: the intelligent identification unit of the display equipment is used for acquiring the display equipment with a mouse cursor; and the display picture intelligent processing unit is used for carrying out local focusing display on the active area of the mouse cursor in the display picture of the display equipment.

Description

Local focusing display method and system
Technical Field
The invention relates to a local focusing display method and system, and belongs to the technical field of image display.
Background
In daily work, many scenes face high-resolution pictures, such as single-shot photographs, medical image recording pictures, large circuit equipment diagrams, and the like. When we look at a certain area picture in the dense and high-resolution pictures in a targeted way, the pictures are easily interfered by surrounding pictures.
Disclosure of Invention
The present invention provides a local focus display method and system, aiming to solve the technical problem that when a certain area of a picture is targeted to be viewed in a dense and high-resolution picture, the picture is easily interfered by surrounding pictures in the prior art.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a partial focus display method, comprising the steps of:
acquiring display equipment with a mouse cursor;
and locally focusing and displaying the moving area of the mouse cursor in the display picture of the display equipment.
Further, the method for acquiring the display device with the mouse cursor comprises the following steps:
acquiring display equipment connected with a host;
acquiring the position coordinates and the display picture size of the display equipment;
acquiring the position coordinate of the mouse cursor;
and obtaining the display equipment with the mouse cursor based on the position coordinates of the display equipment and the mouse cursor and the size of a display screen of the display equipment.
Further, the operating system deployed by the host is a windows system, and the obtaining method of the display device connected to the host includes calling an enum display devices system function.
Further, the method for obtaining the display device with the mouse cursor in motion comprises the following steps:
traversing display equipment connected with a host;
substituting the position coordinate data of the display equipment and the mouse cursor and the display picture size data of the display equipment into a preset function;
if the preset function is established, the corresponding display equipment is display equipment with a mouse cursor;
the expression of the preset function is as follows:
Figure BDA0002353097490000021
in the formula, ptx is an abscissa of the mouse cursor, pty is an ordinate of the mouse cursor, x is an abscissa of the display device, y is an ordinate of the display device, width is a display screen width of the display device, and height is a display screen height of the display device.
Further, the local focus display of the active area of the mouse cursor in the display screen of the display device includes:
acquiring the resolution of a display picture of the display equipment;
128,128,128, generating a semi-transparent focusing layer with the same size as the resolution of the display picture, wherein the colors of the semi-transparent focusing layer comprise RGB;
generating a local focus area centered on the position coordinates of the mouse cursor, the local focus area including a circular local focus area or a rectangular local focus area;
carrying out transparentization treatment on pixel points in a local focusing area in the semitransparent focusing layer;
and displaying the translucent focusing layer after the transparentization treatment in a display picture of the display equipment.
To achieve the above object, the present invention also provides a local focus display system, comprising:
display device intelligent recognition unit: the display device is used for acquiring a display device with a mouse cursor;
display screen intelligent processing unit: and the local focus display is used for carrying out local focus display on the active area of the mouse cursor in the display picture of the display equipment.
Further, the display device intelligent identification unit includes:
a display device enumeration module: the system comprises a display device, a display screen and a display control unit, wherein the display device is connected with a host computer, and the position coordinates and the display screen size of the display device are acquired;
a mouse position acquisition module: the system is used for acquiring the position coordinates of the mouse cursor;
an active display device acquisition module: the method is used for solving the display equipment with the mouse cursor based on the position coordinates of the display equipment and the mouse cursor and the display screen size of the display equipment.
Further, the display screen intelligent processing unit comprises:
a focusing layer automatic generation module: 128,128,128, obtaining the resolution of the display picture of the display equipment, and generating a semi-transparent focusing layer with the same size as the resolution of the display picture, wherein the colors of the semi-transparent focusing layer comprise RGB;
a focus area transparentizing module: the device comprises a semi-transparent focusing layer, a position coordinate generating unit and a control unit, wherein the semi-transparent focusing layer is used for generating a local focusing area taking the position coordinate of the mouse cursor as the center and carrying out transparentization treatment on pixel points in the local focusing area in the semi-transparent focusing layer, and the local focusing area comprises a circular local focusing area or a rectangular local focusing area;
a focusing layer automatic loading module: and the semitransparent focusing layer is used for displaying the semitransparent focusing layer after the transparentization treatment in a display picture of the display equipment.
In order to achieve the above object, the present invention also provides a computer processing control apparatus, comprising:
a memory: for storing instructions;
a processor: the method is used for operating according to the instruction to execute the steps of the local focusing display method provided by the invention.
To achieve the above object, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of a local focus display method provided by the present invention.
Compared with the prior art, the invention has the following beneficial effects: the method and the system cover the semitransparent focusing layer on the display picture of the current display equipment with the movable mouse cursor, the semitransparent focusing layer is provided with the local focusing area with the mouse cursor as the center, and the pixel points in the area are subjected to transparentization treatment, so that the transparentization effect of the local area is achieved, the problem that the whole high-resolution and high-brightness display equipment has large interference on the local area when in work is solved, the method and the system are favorable for workers to focus the local area for observation and treatment, and the areas outside the observation area are covered and grayed, so that the interference of the non-observation area on the local observation area is reduced to the maximum extent.
Drawings
FIG. 1 is a schematic diagram of a system according to an embodiment of the present invention.
In the figure: 1. a display device enumeration module; 2. a mouse position acquisition module; 3. an active display device acquisition module; 4. a focusing layer automatic generation module; 5. a focus area transparentizing module; 6. and the focusing layer automatically loads the module.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
A specific embodiment of the present invention provides a local focusing display system, as shown in fig. 1, which is a schematic structural diagram of an embodiment of the system of the present invention, where the system includes a display device intelligent identification unit and a display screen intelligent processing unit deployed on a PC host, where the display device intelligent identification unit includes a display device enumeration module 1, a mouse position acquisition module 2, and a movable display device acquisition module 3, and is used to intelligently acquire a display device to be focused and displayed; the intelligent display picture processing unit comprises a focusing layer automatic generation module 4, a focusing region transparentization module 5 and a focusing layer automatic loading module 6, and is used for realizing intelligent processing of a focusing region required on the display equipment.
The specific implementation mode of the invention also provides a local focusing display method, which is realized based on the system of the invention and comprises the following steps:
step 1: the method for acquiring the display equipment with the mouse cursor comprises the following steps:
step 1.1: the display device enumeration module 1 acquires display devices connected with a host, and the method is to use windows system functions EnumDisplaydevices;
step 1.2: the display device enumeration module 1 obtains position coordinates (x, y) of a display device connected with a host and a display picture size width × height, wherein width is the width of a display picture of the display device, and height is the height of the display picture of the display device;
step 1.3: the mouse position obtaining module 2 obtains the position coordinate (ptx, pty) of the current mouse cursor activity;
step 1.4: the active display device obtaining module 3 obtains the active display device with the mouse cursor based on the position coordinates of the display device and the mouse cursor obtained in the foregoing step 1.2 and step 1.3 and the display screen size of the display device, and the calculation method is as follows:
firstly, traversing all the display devices connected with the host acquired in the step 1.1;
then, whether the mouse cursor is in the current display device is judged, and if the mouse cursor is in the current display device, the following conditions are met:
ptx>=x,
pty>=y,
ptx<=x+width,
pty<=y+height;
the display device with the mouse cursor is active, i.e. the currently active display device.
Step 2: the method for locally focusing and displaying the moving area of the mouse cursor in the display picture of the display device specifically comprises the following steps:
step 2.1: the focusing layer automatic generation module 4 obtains the resolution iWidth multiplied by iheight of the display picture of the display equipment with the movable mouse cursor, wherein iWidth is the number of transverse pixels in the display picture of the display equipment, and iheight is the number of longitudinal pixels in the display picture of the display equipment;
step 2.2: the focusing layer automatic generation module 4 generates a semitransparent focusing layer, the size of the focusing layer is iWidth × iheight, so that all pixel points of the display picture of the display equipment can be completely covered, and the color of the focusing layer is RGB:128,128,128;
step 2.3: the focus area transparentizing module 5 generates a circular or rectangular local focus area centered on the position coordinate of the mouse cursor, specifically see step 2.3.1 and step 2.3.2:
step 2.3.1: generating a circular local focus area by the following process:
the focus region transparentizing module 5 calculates coordinates (Rx, Ry) of all pixel points in a circular region with a radius r and a current position (ptx, pty) of the mouse cursor as a center of a circle, and the calculation method is as follows:
Rx=ptx+r×cos((i-1)×h),
Ry=pty+r×sin((i-1)×h),
wherein i belongs to [0, n ], r is more than 0,
h=2×3.14/(n-1),
n=r-1
wherein h is an equal division ratio, and n is an equal division point;
step 2.3.2: generating a rectangular local focus area, which comprises the following steps:
the focus region transparentizing module 5 calculates all pixel point coordinates (Rx, Ry) of a rectangular region having a width w and a height h with the current position (ptx, pty) of the mouse cursor as the center, and the calculation method is as follows:
Rx=ptx+Δx,
Ry=pty+Δy,
wherein Δ x ∈ [ -1/2 [ -1/2 [ ],
Δy∈[-1/2*h,1/2*h],
W>0,h>0。
step 2.4: the focusing region transparentizing module 5 performs transparentizing processing on the pixel points (Rx, Ry) calculated in the step 2.3, so as to realize the effect of transparentizing the local region of the semitransparent focusing layer;
step 2.5: the focusing layer automatic loading module 6 displays the translucent focusing layer with the transparent local area in the display device obtained in step 1.4.
The present invention further provides a computer processing control device, disposed on the PC host, including:
a memory: for storing instructions;
a processor: for operating in accordance with the instructions to perform the steps of the method of the present invention.
The specific embodiment of the present invention also provides a computer readable storage medium, which is disposed on the aforementioned PC host, and on which a computer program is stored, the program implementing the steps of the method of the present invention when executed by a processor.
The method and the system cover the semitransparent focusing layer on the display picture of the current display equipment with the movable mouse cursor, the semitransparent focusing layer is provided with the local focusing area with the mouse cursor as the center, and the pixel points in the area are subjected to transparentization treatment, so that the transparentization effect of the local area is achieved, the problem that the whole high-resolution and high-brightness display equipment has large interference on the local area when in work is solved, the method and the system are favorable for workers to focus the local area for observation and treatment, and the areas outside the observation area are covered and grayed, so that the interference of the non-observation area on the local observation area is reduced to the maximum extent.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A local focusing display method is characterized by comprising the following steps:
acquiring display equipment with a mouse cursor;
and locally focusing and displaying the moving area of the mouse cursor in the display picture of the display equipment.
2. The local focus display method of claim 1, wherein acquiring the display device with the mouse cursor activated comprises:
acquiring display equipment connected with a host;
acquiring the position coordinates and the display picture size of the display equipment;
acquiring the position coordinate of the mouse cursor;
and obtaining the display equipment with the mouse cursor based on the position coordinates of the display equipment and the mouse cursor and the size of a display screen of the display equipment.
3. The local focus display method as claimed in claim 2, wherein the operating system deployed by the host is a windows system, and the method for acquiring the display device connected to the host comprises calling an enum display devices system function.
4. The local focus display method as claimed in claim 2, wherein the method for obtaining the display device with the mouse cursor movable thereon comprises:
traversing display equipment connected with a host;
substituting the position coordinate data of the display equipment and the mouse cursor and the display picture size data of the display equipment into a preset function;
if the preset function is established, the corresponding display equipment is display equipment with a mouse cursor;
the expression of the preset function is as follows:
Figure FDA0002353097480000011
in the formula, ptx is an abscissa of the mouse cursor, pty is an ordinate of the mouse cursor, x is an abscissa of the display device, y is an ordinate of the display device, width is a display screen width of the display device, and height is a display screen height of the display device.
5. The local focus display method according to claim 2, wherein the local focus display of an active region of the mouse cursor on the display screen of the display device includes:
acquiring the resolution of a display picture of the display equipment;
128,128,128, generating a semi-transparent focusing layer with the same size as the resolution of the display picture, wherein the colors of the semi-transparent focusing layer comprise RGB;
generating a local focus area centered on the position coordinates of the mouse cursor, the local focus area including a circular local focus area or a rectangular local focus area;
carrying out transparentization treatment on pixel points in a local focusing area in the semitransparent focusing layer;
and displaying the translucent focusing layer after the transparentization treatment in a display picture of the display equipment.
6. A locally focused display system, comprising:
display device intelligent recognition unit: the display device is used for acquiring a display device with a mouse cursor;
display screen intelligent processing unit: and the local focus display is used for carrying out local focus display on the active area of the mouse cursor in the display picture of the display equipment.
7. The local focus display system of claim 6, wherein the display device smart identification unit comprises:
display device enumeration module (1): the system comprises a display device, a display screen and a display control unit, wherein the display device is connected with a host computer, and the position coordinates and the display screen size of the display device are acquired;
mouse position acquisition module (2): the system is used for acquiring the position coordinates of the mouse cursor;
active display device acquisition module (3): the method is used for solving the display equipment with the mouse cursor based on the position coordinates of the display equipment and the mouse cursor and the display screen size of the display equipment.
8. The local focus display system of claim 6, wherein the display intelligent processing unit comprises:
a focusing layer automatic generation module (4): 128,128,128, obtaining the resolution of the display picture of the display equipment, and generating a semi-transparent focusing layer with the same size as the resolution of the display picture, wherein the colors of the semi-transparent focusing layer comprise RGB;
focus area transparentization module (5): the device comprises a semi-transparent focusing layer, a position coordinate generating unit and a control unit, wherein the semi-transparent focusing layer is used for generating a local focusing area taking the position coordinate of the mouse cursor as the center and carrying out transparentization treatment on pixel points in the local focusing area in the semi-transparent focusing layer, and the local focusing area comprises a circular local focusing area or a rectangular local focusing area;
focusing layer automatic loading module (6): and the semitransparent focusing layer is used for displaying the semitransparent focusing layer after the transparentization treatment in a display picture of the display equipment.
9. Computer processing control device, characterized by, includes:
a memory: for storing instructions;
a processor: for operating in accordance with the instructions to perform the steps of the method of any one of claims 1 to 5.
10. Computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202010000503.4A 2020-01-02 2020-01-02 Local focusing display method and system Pending CN111208926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010000503.4A CN111208926A (en) 2020-01-02 2020-01-02 Local focusing display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010000503.4A CN111208926A (en) 2020-01-02 2020-01-02 Local focusing display method and system

Publications (1)

Publication Number Publication Date
CN111208926A true CN111208926A (en) 2020-05-29

Family

ID=70785641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010000503.4A Pending CN111208926A (en) 2020-01-02 2020-01-02 Local focusing display method and system

Country Status (1)

Country Link
CN (1) CN111208926A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060174189A1 (en) * 2005-02-02 2006-08-03 International Business Machines Corporation Focusing on areas of the display of tabular data through hierarchical collapsing and expanding of cell areas
CN104809347A (en) * 2015-04-28 2015-07-29 南京巨鲨显示科技有限公司 Realization method for controlling highlighted region display of display
CN106445337A (en) * 2016-09-13 2017-02-22 广州视睿电子科技有限公司 Spotlight effect achieving method and device
CN109859679A (en) * 2018-12-14 2019-06-07 青岛海信医疗设备股份有限公司 Medical display device and medical image display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060174189A1 (en) * 2005-02-02 2006-08-03 International Business Machines Corporation Focusing on areas of the display of tabular data through hierarchical collapsing and expanding of cell areas
CN104809347A (en) * 2015-04-28 2015-07-29 南京巨鲨显示科技有限公司 Realization method for controlling highlighted region display of display
CN106445337A (en) * 2016-09-13 2017-02-22 广州视睿电子科技有限公司 Spotlight effect achieving method and device
CN109859679A (en) * 2018-12-14 2019-06-07 青岛海信医疗设备股份有限公司 Medical display device and medical image display method

Similar Documents

Publication Publication Date Title
JP6417702B2 (en) Image processing apparatus, image processing method, and image processing program
CN108525298B (en) Image processing method, image processing device, storage medium and electronic equipment
CN111345029B (en) Target tracking method and device, movable platform and storage medium
CN113126862B (en) Screen capture method and device, electronic equipment and readable storage medium
CN108320270B (en) Image correction method, device and storage medium
CN105389541B (en) The recognition methods of fingerprint image and device
CN107452028B (en) Method and device for determining position information of target image
CN110769228B (en) Method and device for realizing projection picture splicing and projection system
EP3822757A1 (en) Method and apparatus for setting background of ui control
JPWO2016031190A1 (en) Information processing apparatus and recognition support method
CN110489027A (en) Handheld input device and its display position control method and device for indicating icon
JP2013186838A (en) Generation device, generation program, and generation method
CN103414945A (en) Method and device for automatically clipping and displaying target image
CN107436675A (en) A kind of visual interactive method, system and equipment
WO2011096571A1 (en) Input device
CN111208926A (en) Local focusing display method and system
CN116341586B (en) Code scanning method, electronic equipment and storage medium
US10824237B2 (en) Screen display control method and screen display control system
KR20150142562A (en) Method, apparatus and storage medium for compensating for defect pixel of display
WO2024055531A1 (en) Illuminometer value identification method, electronic device, and storage medium
CN115174878A (en) Projection picture correction method, apparatus and storage medium
JP2020014075A (en) Image projection system, image projection method, and program
CN115529405A (en) Image display method and device of front camera
CN114241127A (en) Panoramic image generation method and device, electronic equipment and medium
JP5742305B2 (en) Drawing image processing device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529