CN109032744B - Icon display method and device, server and storage medium - Google Patents

Icon display method and device, server and storage medium Download PDF

Info

Publication number
CN109032744B
CN109032744B CN201810848055.6A CN201810848055A CN109032744B CN 109032744 B CN109032744 B CN 109032744B CN 201810848055 A CN201810848055 A CN 201810848055A CN 109032744 B CN109032744 B CN 109032744B
Authority
CN
China
Prior art keywords
panoramic image
initial
region
determining
target
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.)
Active
Application number
CN201810848055.6A
Other languages
Chinese (zh)
Other versions
CN109032744A (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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201810848055.6A priority Critical patent/CN109032744B/en
Publication of CN109032744A publication Critical patent/CN109032744A/en
Application granted granted Critical
Publication of CN109032744B publication Critical patent/CN109032744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an icon display method, an icon display device, a server and a storage medium. The method comprises the following steps: determining semantic categories of initial pixel points or initial pixel areas in the panoramic image; determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area; displaying anchor icons of the panoramic image within the at least one target candidate region. Not only can the key information in the panoramic image be prevented from being shielded by the anchor point icon, but also the labor cost and the time cost can be saved.

Description

Icon display method and device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to an icon display method, an icon display device, a server and a storage medium.
Background
The panoramic data is used as novel information data, and compared with the traditional image data, the panoramic data has the advantages of continuity, multiple linearity, multiple angles, presence, large space, high interaction and the like. Through the exhibition of panoramic data, can provide richer visual information, more powerful sense of immersion for the user, bring more real and more interesting visual experience for the user. During the presentation of panoramic data, operations interacting with the user are often added, namely: adding anchor point information into the panoramic data; displaying anchor point icons while displaying panoramic information; when a user clicks the anchor point icon, certain work can be triggered, such as panorama switching, text popping, link entering, advertisement popping and the like. The anchor point information brings benefits such as skip switching and information enhancement to panoramic data, and brings benefits such as traffic increase and advertisement revenue to a search engine.
In the existing icon display method, the following three methods are included: firstly, manually selecting the position for displaying an anchor point icon; secondly, randomly selecting the position for displaying the anchor point icon; thirdly, selecting the position for displaying the anchor point icon according to a predetermined spatial rule, for example: anchor icons are shown directly across from, directly above or directly below the panoramic image, and so on.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the existing first icon display method, the labor cost and the time cost are extremely high; in the second existing icon displaying method, the anchor point icon may shield key information in the panoramic image, thereby seriously affecting the visual experience; in the existing third icon displaying method, due to the diversity and complexity of the panoramic image, it is very difficult to determine the spatial rule in advance, and it is also impossible to completely avoid the blocking of the key information in the panoramic image by the anchor point icon.
Disclosure of Invention
In view of this, embodiments of the present invention provide an icon displaying method, an apparatus, a server, and a storage medium, which can not only prevent an anchor icon from blocking key information in a panoramic image, but also save labor cost and time cost.
In a first aspect, an embodiment of the present invention provides an icon displaying method, where the method includes:
determining semantic categories of initial pixel points or initial pixel areas in the panoramic image;
determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area;
displaying anchor icons of the panoramic image within the at least one target candidate region.
In the above embodiment, the determining at least one target candidate region in the panoramic image according to the semantic category of the pixel point or the initial pixel region includes:
determining at least one initial candidate region in the panoramic image according to the semantic category of the initial pixel point or the initial pixel region;
and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the panoramic image divided in advance.
In the above embodiment, the determining at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region includes:
screening out at least one target semantic category and target pixel points in each target semantic category according to the initial pixel points or the semantic categories of the initial pixel area;
and determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
In the above embodiment, the determining at least one target candidate region in the panoramic image according to at least one initial candidate region in the panoramic image and at least one mesh region in the panoramic image divided in advance includes:
determining the area center of each initial candidate area according to at least one initial candidate area in the panoramic image;
if the center of each initial candidate region is in at least one grid region in the panoramic image, determining each initial candidate region as an initial candidate region in the at least one grid region;
and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
In the above embodiment, the determining at least one target candidate region in the panoramic image according to at least one initial candidate region corresponding to each mesh region includes:
determining a target candidate area in each grid area according to at least one initial candidate area in each grid area;
and determining at least one target candidate area in the panoramic image according to the target candidate areas in the grid areas.
In a second aspect, an embodiment of the present invention provides an icon displaying apparatus, where the apparatus includes: a determining module and a display module; wherein,
the determining module is used for determining semantic categories of initial pixel points or initial pixel areas in the panoramic image; determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area;
the display module is configured to display an anchor icon of the panoramic image in the at least one target candidate region.
In the foregoing embodiment, the determining module is specifically configured to determine at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region; and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the panoramic image divided in advance.
In the above embodiment, the determining module is specifically configured to screen out at least one target semantic category and a target pixel point in each target semantic category according to the initial pixel point or the semantic category of the initial pixel region; and determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
In the foregoing embodiment, the determining module is specifically configured to determine, according to at least one initial candidate region in the panoramic image, a region center of each initial candidate region; if the center of each initial candidate region is in at least one grid region in the panoramic image, determining each initial candidate region as an initial candidate region in the at least one grid region; and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
In the foregoing embodiment, the determining module is specifically configured to determine a target candidate region in each grid region according to at least one initial candidate region in each grid region; and determining at least one target candidate area in the panoramic image according to the target candidate areas in the grid areas.
In a third aspect, an embodiment of the present invention provides a server, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the icon presenting method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the icon presenting method according to any embodiment of the present invention.
The embodiment of the invention provides an icon display method, an icon display device, a server and a storage medium, wherein the semantic type of an initial pixel point or an initial pixel area in a panoramic image is determined; then determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area; and finally, displaying anchor point icons of the panoramic image in at least one target candidate area. That is to say, in the technical solution of the present invention, at least one target candidate region of the panoramic image may be determined according to semantic categories of each initial pixel point or initial pixel region; and displaying anchor point icons of the panoramic image in at least one target candidate area. In the existing icon display method, the position of displaying an anchor icon is manually selected; or randomly selecting the position for displaying the anchor point icon; or selecting the position for displaying the anchor point icon according to a predetermined spatial rule. Therefore, compared with the prior art, the icon display method, the device, the server and the storage medium provided by the embodiment of the invention can not only avoid the blocking of the key information in the panoramic image by the anchor point icon, but also save labor cost and time cost; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Drawings
Fig. 1 is a schematic flowchart of an icon displaying method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an icon displaying method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an icon displaying method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an icon displaying apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of an icon displaying method according to an embodiment of the present invention, where the icon displaying method may be executed by an icon displaying apparatus or a server, where the apparatus or the server may be implemented by software and/or hardware, and the apparatus or the server may be integrated in any intelligent device with a network communication function. As shown in fig. 1, the icon presentation method may include the steps of:
s101, determining semantic categories of initial pixel points or initial pixel areas in the panoramic image.
In a specific embodiment of the present invention, the server may determine semantic categories of initial pixel points or initial pixel regions in the panoramic image. The pixel point is the minimum luminous unit of the display picture of the display, it is made up of red, green, blue three pixel units, in the color kinescope, the electron gun usually has three single color electron guns arranged into triangle; the fluorescent layer of the display also adopts three-in-one fluorescent body, namely, the fluorescent body contains red, green and blue fluorescent bodies, the arrangement mode of the red, green and blue fluorescent bodies is the same as that of the electron gun, and the three primary colors can generate various colors by different brightness combinations. The more pixel points in the screen, the higher the resolution of the picture, and the finer and more vivid the image. In this step, the server may determine semantic categories of the initial pixel points according to pixel units of the initial pixel points in the panoramic image; alternatively, the server may determine the semantic type of the initial pixel region from the pixel unit of the initial pixel region in the panoramic image.
S102, determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area.
In a specific embodiment of the present invention, the server may determine at least one target candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region. Specifically, the server may determine at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region; at least one target candidate region in the panoramic image is then determined according to at least one initial candidate region in the panoramic image and at least one mesh region in the pre-divided panoramic image.
S103, displaying anchor point icons of the panoramic image in at least one target candidate area.
In a particular embodiment of the invention, the server may present anchor icons of the panoramic image within at least one target candidate area. Namely: the server may present each anchor icon of the panoramic image within each target candidate region. Specifically, the server may display anchor icon 1, anchor icon 2, and anchor icon N of the panoramic image in target candidate area 1, target candidate area 2, …, and target candidate area N; wherein N is a natural number of 1 or more.
The icon display method provided by the embodiment of the invention comprises the steps of firstly determining semantic categories of initial pixel points or initial pixel areas in a panoramic image; then determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area; and finally, displaying anchor point icons of the panoramic image in at least one target candidate area. That is to say, in the technical solution of the present invention, at least one target candidate region of the panoramic image may be determined according to semantic categories of each initial pixel point or initial pixel region; and displaying anchor point icons of the panoramic image in at least one target candidate area. In the existing icon display method, the position of displaying an anchor icon is manually selected; or randomly selecting the position for displaying the anchor point icon; or selecting the position for displaying the anchor point icon according to a predetermined spatial rule. Therefore, compared with the prior art, the icon display method provided by the embodiment of the invention can not only avoid the blocking of the anchor point icon on the key information in the panoramic image, but also save the labor cost and the time cost; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example two
Fig. 2 is a flowchart illustrating an icon displaying method according to a second embodiment of the present invention. As shown in fig. 2, the icon presentation method may include the steps of:
s201, determining semantic categories of initial pixel points or initial pixel areas in the panoramic image.
In a specific embodiment of the present invention, the server may determine semantic categories of initial pixel points or initial pixel regions in the panoramic image. The pixel point is the minimum luminous unit of the display picture of the display, it is made up of red, green, blue three pixel units, in the color kinescope, the electron gun usually has three single color electron guns arranged into triangle; the fluorescent layer of the display also adopts three-in-one fluorescent body, namely, the fluorescent body contains red, green and blue fluorescent bodies, the arrangement mode of the red, green and blue fluorescent bodies is the same as that of the electron gun, and the three primary colors can generate various colors by different brightness combinations. The more pixel points in the screen, the higher the resolution of the picture, and the finer and more vivid the image. In this step, the server may determine semantic categories of the initial pixel points according to pixel units of the initial pixel points in the panoramic image; alternatively, the server may determine the semantic type of the initial pixel region from the pixel unit of the initial pixel region in the panoramic image.
S202, determining at least one initial candidate area in the panoramic image according to the initial pixel point or the semantic category of the initial pixel area.
In a specific embodiment of the present invention, the server may determine at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region. Specifically, the server can screen out at least one target semantic category and target pixel points in each target semantic category according to the initial pixel points or semantic categories of the initial pixel region; and then determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
S203, determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the pre-divided panoramic image.
In a specific embodiment of the present invention, the server may determine at least one target candidate region in the panoramic image from at least one initial candidate region in the panoramic image and at least one mesh region in the pre-divided panoramic image. Specifically, the server may determine a region center of each initial candidate region from at least one initial candidate region in the panoramic image; if the center of each initial candidate area is in at least one grid area in the panoramic image, the server determines each initial candidate area as the initial candidate area in the at least one grid area; at least one target candidate region in the panoramic image is then determined from the at least one initial candidate region in each grid region.
And S204, displaying anchor point icons of the panoramic image in at least one target candidate area.
In a particular embodiment of the invention, the server may present anchor icons of the panoramic image within at least one target candidate area. Namely: the server may present each anchor icon of the panoramic image within each target candidate region. Specifically, the server may display anchor icon 1, anchor icon 2, and anchor icon N of the panoramic image in target candidate area 1, target candidate area 2, …, and target candidate area N; wherein N is a natural number of 1 or more.
The icon display method provided by the embodiment of the invention comprises the steps of firstly determining semantic categories of initial pixel points or initial pixel areas in a panoramic image; then determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area; and finally, displaying anchor point icons of the panoramic image in at least one target candidate area. That is to say, in the technical solution of the present invention, at least one target candidate region of the panoramic image may be determined according to semantic categories of each initial pixel point or initial pixel region; and displaying anchor point icons of the panoramic image in at least one target candidate area. In the existing icon display method, the position of displaying an anchor icon is manually selected; or randomly selecting the position for displaying the anchor point icon; or selecting the position for displaying the anchor point icon according to a predetermined spatial rule. Therefore, compared with the prior art, the icon display method provided by the embodiment of the invention can not only avoid the blocking of the anchor point icon on the key information in the panoramic image, but also save the labor cost and the time cost; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
EXAMPLE III
Fig. 3 is a flowchart illustrating an icon displaying method according to a third embodiment of the present invention. As shown in fig. 3, the icon presentation method may include the steps of:
s301, determining semantic categories of initial pixel points or initial pixel areas in the panoramic image.
In a specific embodiment of the present invention, the server may determine semantic categories of initial pixel points or initial pixel regions in the panoramic image. The pixel point is the minimum luminous unit of the display picture of the display, it is made up of red, green, blue three pixel units, in the color kinescope, the electron gun usually has three single color electron guns arranged into triangle; the fluorescent layer of the display also adopts three-in-one fluorescent body, namely, the fluorescent body contains red, green and blue fluorescent bodies, the arrangement mode of the red, green and blue fluorescent bodies is the same as that of the electron gun, and the three primary colors can generate various colors by different brightness combinations. The more pixel points in the screen, the higher the resolution of the picture, and the finer and more vivid the image. In this step, the server may determine semantic categories of the initial pixel points according to pixel units of the initial pixel points in the panoramic image; alternatively, the server may determine the semantic type of the initial pixel region from the pixel unit of the initial pixel region in the panoramic image.
S302, screening out at least one target semantic category and target pixel points in each target semantic category according to the initial pixel points or the semantic categories of the initial pixel area.
In a specific embodiment of the present invention, the server may screen out at least one target semantic category and a target pixel point in each target semantic category according to the semantic category of the initial pixel point or the initial pixel region. Specifically, the server can screen out M target semantic categories and target pixel points in each target semantic category according to the initial pixel points or semantic categories of the initial pixel area; wherein M is a natural number of 1 or more.
S303, determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic type of the initial pixel region.
In a specific embodiment of the present invention, the server may determine at least one initial candidate region in the panoramic image according to an initial pixel point in a preset region centered on each target pixel point or a semantic category of the initial pixel region. Specifically, the server can determine whether the initial pixel points in the square region with each target pixel point as the center or the semantic categories of the initial pixel regions belong to the same semantic level; if the initial pixel points in the square region with the target pixel points as the centers or the semantic categories of the initial pixel regions belong to the same semantic level, the server can determine that each square region is an initial candidate region in the panoramic image.
S304, determining the area center of each initial candidate area according to at least one initial candidate area in the panoramic image.
In a specific embodiment of the present invention, the server may determine a region center of each initial candidate region from at least one initial candidate region in the panoramic image. Specifically, if the server determines that each square area is an initial candidate area in the panoramic image, the server determines the area center of each square area.
S305, if the center of each initial candidate area is in at least one grid area in the panoramic image, determining each initial candidate area as the initial candidate area in at least one grid area.
In a specific embodiment of the present invention, the server may determine whether the area center of each initial candidate area is within at least one grid area in the panoramic image; if the center of each initial candidate region is within at least one grid region in the panoramic image, the server may determine each initial candidate region as an initial candidate region in the at least one grid region.
S306, determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
In a specific embodiment of the present invention, the server may determine at least one target candidate region in the panoramic image from at least one initial candidate region in each grid region. Specifically, the server may randomly select one initial candidate region as a target candidate region of each mesh region according to at least one initial candidate region in each mesh region, and the target candidate regions of each mesh region constitute target candidate regions in the panoramic image.
S307, displaying anchor point icons of the panoramic image in at least one target candidate area.
In a particular embodiment of the invention, the server may present anchor icons of the panoramic image within at least one target candidate area. Namely: the server may present each anchor icon of the panoramic image within each target candidate region. Specifically, the server may display anchor icon 1, anchor icon 2, and anchor icon N of the panoramic image in target candidate area 1, target candidate area 2, …, and target candidate area N; wherein N is a natural number of 1 or more.
The icon display method provided by the embodiment of the invention comprises the steps of firstly determining semantic categories of initial pixel points or initial pixel areas in a panoramic image; then determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area; and finally, displaying anchor point icons of the panoramic image in at least one target candidate area. That is to say, in the technical solution of the present invention, at least one target candidate region of the panoramic image may be determined according to semantic categories of each initial pixel point or initial pixel region; and displaying anchor point icons of the panoramic image in at least one target candidate area. In the existing icon display method, the position of displaying an anchor icon is manually selected; or randomly selecting the position for displaying the anchor point icon; or selecting the position for displaying the anchor point icon according to a predetermined spatial rule. Therefore, compared with the prior art, the icon display method provided by the embodiment of the invention can not only avoid the blocking of the anchor point icon on the key information in the panoramic image, but also save the labor cost and the time cost; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example four
Fig. 4 is a schematic structural diagram of an icon displaying apparatus according to a fourth embodiment of the present invention. As shown in fig. 4, the icon presenting apparatus according to the embodiment of the present invention may include: a determination module 401 and a presentation module 402; wherein,
the determining module 401 is configured to determine a semantic category of an initial pixel point or an initial pixel region in the panoramic image; determining at least one target candidate area in the panoramic image according to the semantic category of the initial pixel point or the initial pixel area;
the presenting module 402 is configured to present an anchor icon of the panoramic image in the at least one target candidate region.
Further, the determining module 401 is specifically configured to determine at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region; and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the panoramic image divided in advance.
Further, the determining module 401 is specifically configured to screen out at least one target semantic category and a target pixel point in each target semantic category according to the initial pixel point or the semantic category of the initial pixel region; and determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
Further, the determining module 401 is specifically configured to determine, according to at least one initial candidate region in the panoramic image, a region center of each initial candidate region; if the center of each initial candidate region is in at least one grid region in the panoramic image, determining each initial candidate region as an initial candidate region in the at least one grid region; and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
Further, the determining module 401 is specifically configured to determine a target candidate region in each grid region according to at least one initial candidate region in each grid region; and determining at least one target candidate area in the panoramic image according to the target candidate areas in the grid areas.
The icon display device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to an icon display method provided in any embodiment of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary server suitable for use in implementing embodiments of the present invention. The server 12 shown in fig. 5 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, the server 12 is in the form of a general purpose computing device. The components of the server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the server 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing the icon presenting method provided by the embodiment of the present invention, by executing the program stored in the system memory 28.
EXAMPLE six
The sixth embodiment of the invention provides a computer storage medium.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An icon display method, characterized in that the method comprises:
determining semantic categories of initial pixel points or initial pixel areas in the panoramic image;
determining at least one initial candidate region in the panoramic image according to the semantic category of the initial pixel point or the initial pixel region;
determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the panoramic image divided in advance;
displaying anchor icons of the panoramic image within the at least one target candidate region.
2. The method of claim 1, wherein the determining at least one initial candidate region in the panoramic image according to the initial pixel point or the semantic category of the initial pixel region comprises:
screening out at least one target semantic category and target pixel points in each target semantic category according to the initial pixel points or the semantic categories of the initial pixel area;
and determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
3. The method of claim 1, wherein determining at least one target candidate region in the panoramic image from at least one initial candidate region in the panoramic image and at least one pre-divided mesh region in the panoramic image comprises:
determining the area center of each initial candidate area according to at least one initial candidate area in the panoramic image;
if the center of each initial candidate region is in at least one grid region in the panoramic image, determining each initial candidate region as an initial candidate region in the at least one grid region;
and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
4. The method of claim 3, wherein the determining at least one target candidate region in the panoramic image according to the at least one initial candidate region corresponding to each mesh region comprises:
determining a target candidate area in each grid area according to at least one initial candidate area in each grid area;
and determining at least one target candidate area in the panoramic image according to the target candidate areas in the grid areas.
5. An icon presenting apparatus, characterized in that the apparatus comprises: a determining module and a display module; wherein,
the determining module is used for determining semantic categories of initial pixel points or initial pixel areas in the panoramic image; determining at least one initial candidate region in the panoramic image according to the semantic category of the initial pixel point or the initial pixel region; determining at least one target candidate area in the panoramic image according to at least one initial candidate area in the panoramic image and at least one grid area in the panoramic image divided in advance;
the display module is configured to display an anchor icon of the panoramic image in the at least one target candidate region.
6. The apparatus of claim 5, wherein:
the determining module is specifically configured to screen out at least one target semantic category and a target pixel point in each target semantic category according to the initial pixel point or the semantic category of the initial pixel region; and determining at least one initial candidate region in the panoramic image according to the initial pixel points in the preset region with each target pixel point as the center or the semantic categories of the initial pixel regions.
7. The apparatus of claim 5, wherein:
the determining module is specifically configured to determine, according to at least one initial candidate region in the panoramic image, a region center of each initial candidate region; if the center of each initial candidate region is in at least one grid region in the panoramic image, determining each initial candidate region as an initial candidate region in the at least one grid region; and determining at least one target candidate area in the panoramic image according to at least one initial candidate area in each grid area.
8. The apparatus of claim 7, wherein:
the determining module is specifically configured to determine a target candidate region in each grid region according to at least one initial candidate region in each grid region; and determining at least one target candidate area in the panoramic image according to the target candidate areas in the grid areas.
9. A server, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the icon presentation method of any one of claims 1-4.
10. A storage medium on which a computer program is stored, the program realizing the icon presenting method according to any one of claims 1 to 4 when executed by a processor.
CN201810848055.6A 2018-07-27 2018-07-27 Icon display method and device, server and storage medium Active CN109032744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810848055.6A CN109032744B (en) 2018-07-27 2018-07-27 Icon display method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810848055.6A CN109032744B (en) 2018-07-27 2018-07-27 Icon display method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN109032744A CN109032744A (en) 2018-12-18
CN109032744B true CN109032744B (en) 2021-10-08

Family

ID=64646456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810848055.6A Active CN109032744B (en) 2018-07-27 2018-07-27 Icon display method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN109032744B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139565A (en) * 2020-01-20 2021-07-20 株式会社理光 Image processing method, image processing apparatus, and computer-readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103140826A (en) * 2010-09-22 2013-06-05 Nec卡西欧移动通信株式会社 Information terminal device and touch panel display method
CN103238159A (en) * 2010-09-28 2013-08-07 华为技术有限公司 System and method for image authentication
CN103824311A (en) * 2013-11-29 2014-05-28 北京奇虎科技有限公司 Polymerization image generating method and device
CN104571784A (en) * 2013-10-24 2015-04-29 中国电信股份有限公司 Comic reading method, comic reading user terminal and comic reading system
CN105404647A (en) * 2015-10-28 2016-03-16 百度在线网络技术(北京)有限公司 Page content positioning method and apparatus
CN105426879A (en) * 2015-12-23 2016-03-23 深圳习习网络科技有限公司 Method and system for identifying answer sheet
CN105874474A (en) * 2013-11-04 2016-08-17 脸谱公司 Systems and methods for facial representation
CN106354418A (en) * 2016-11-16 2017-01-25 腾讯科技(深圳)有限公司 Manipulating method and device based on touch screen
CN107169421A (en) * 2017-04-20 2017-09-15 华南理工大学 A kind of car steering scene objects detection method based on depth convolutional neural networks
CN107369204A (en) * 2017-07-27 2017-11-21 北京航空航天大学 A kind of method for recovering the basic three-dimensional structure of scene from single width photo based on deep learning
CN107844750A (en) * 2017-10-19 2018-03-27 华中科技大学 A kind of water surface panoramic picture target detection recognition methods
CN107847354A (en) * 2015-05-12 2018-03-27 新加坡科技研究局 System and method for showing video image
CN108229478A (en) * 2017-06-30 2018-06-29 深圳市商汤科技有限公司 Image, semantic segmentation and training method and device, electronic equipment, storage medium and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169828A1 (en) * 2008-12-29 2010-07-01 International Business Machines Corporation Computer desktop organization via magnet icons
US10545629B2 (en) * 2016-04-05 2020-01-28 Nokia Of America Corporation Graphical interface for an augmented intelligence system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103140826A (en) * 2010-09-22 2013-06-05 Nec卡西欧移动通信株式会社 Information terminal device and touch panel display method
CN103238159A (en) * 2010-09-28 2013-08-07 华为技术有限公司 System and method for image authentication
CN104571784A (en) * 2013-10-24 2015-04-29 中国电信股份有限公司 Comic reading method, comic reading user terminal and comic reading system
CN105874474A (en) * 2013-11-04 2016-08-17 脸谱公司 Systems and methods for facial representation
CN103824311A (en) * 2013-11-29 2014-05-28 北京奇虎科技有限公司 Polymerization image generating method and device
CN107847354A (en) * 2015-05-12 2018-03-27 新加坡科技研究局 System and method for showing video image
CN105404647A (en) * 2015-10-28 2016-03-16 百度在线网络技术(北京)有限公司 Page content positioning method and apparatus
CN105426879A (en) * 2015-12-23 2016-03-23 深圳习习网络科技有限公司 Method and system for identifying answer sheet
CN106354418A (en) * 2016-11-16 2017-01-25 腾讯科技(深圳)有限公司 Manipulating method and device based on touch screen
CN107169421A (en) * 2017-04-20 2017-09-15 华南理工大学 A kind of car steering scene objects detection method based on depth convolutional neural networks
CN108229478A (en) * 2017-06-30 2018-06-29 深圳市商汤科技有限公司 Image, semantic segmentation and training method and device, electronic equipment, storage medium and program
CN107369204A (en) * 2017-07-27 2017-11-21 北京航空航天大学 A kind of method for recovering the basic three-dimensional structure of scene from single width photo based on deep learning
CN107844750A (en) * 2017-10-19 2018-03-27 华中科技大学 A kind of water surface panoramic picture target detection recognition methods

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于多尺度上下文的图像标注算法;周全等;《自动化学报》;20141231;第40卷(第12期);第2944-2948页 *
基于条件随机场的遥感图像语义标注;杨俊俐;《航空学报》;20150930;第36卷(第9期);第3069-3081页 *

Also Published As

Publication number Publication date
CN109032744A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2016017972A1 (en) Electronic device and method for displaying user interface thereof
MX2008003406A (en) Extensible visual effects on active content in user interfaces.
CN109101616A (en) Monitor video taking turn method, apparatus, equipment and medium based on electronic map
US8972901B2 (en) Fast cursor location
US20070130519A1 (en) Arbitrary rendering of visual elements on a code editor
CN107315275B (en) Display method and device and computer equipment
CN110609878A (en) Interest point information display method, device, server and storage medium
CN110807161A (en) Page framework rendering method, device, equipment and medium
CN107329721A (en) Display methods, electronic equipment and computer-readable recording medium
CN107301220B (en) Method, device and equipment for data driving view and storage medium
CN109032744B (en) Icon display method and device, server and storage medium
US9501200B2 (en) Smart display
CN111143602B (en) Case clue association method, system, electronic equipment and storage medium
CN110674050B (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN112684965A (en) Dynamic wallpaper state changing method and device, electronic equipment and storage medium
WO2024045740A1 (en) Guard method and apparatus for page information, and electronic device
US10896661B2 (en) Image processing apparatus and method for controlling the same
US10296185B2 (en) Viewing selected zoomed content
CN116048371A (en) Page component switching method, device, equipment, medium and product in application program
CN110933455B (en) Video screening method and device, electronic equipment and storage medium
CN113870219A (en) Projection font color selection method and device, electronic equipment and storage medium
CN109190097B (en) Method and apparatus for outputting information
CN111159593A (en) Method and device for generating flow chart, storage medium and electronic equipment
US20180210888A1 (en) Method and apparatus for displaying a picture search result page, device and storage medium
WO2020156035A1 (en) View processing method and apparatus, and electronic device and computer-readable storage medium, and image processing method and apparatus, and electronic device and computer-readable storage medium

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