CN109816753B - Method and equipment for carrying out real-time dynamic configuration on photo wall - Google Patents

Method and equipment for carrying out real-time dynamic configuration on photo wall Download PDF

Info

Publication number
CN109816753B
CN109816753B CN201910019355.8A CN201910019355A CN109816753B CN 109816753 B CN109816753 B CN 109816753B CN 201910019355 A CN201910019355 A CN 201910019355A CN 109816753 B CN109816753 B CN 109816753B
Authority
CN
China
Prior art keywords
information
image information
wall
image
photo
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
CN201910019355.8A
Other languages
Chinese (zh)
Other versions
CN109816753A (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.)
Hiscene Information Technology Co Ltd
Original Assignee
Hiscene Information 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 Hiscene Information Technology Co Ltd filed Critical Hiscene Information Technology Co Ltd
Priority to CN201910019355.8A priority Critical patent/CN109816753B/en
Publication of CN109816753A publication Critical patent/CN109816753A/en
Application granted granted Critical
Publication of CN109816753B publication Critical patent/CN109816753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application aims to provide a method for carrying out real-time dynamic configuration of a photo wall, which specifically comprises the following steps: configuring a photo wall related to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information; acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured; and configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall.

Description

Method and equipment for carrying out real-time dynamic configuration of photo wall
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for performing real-time dynamic configuration of a photo wall.
Background
In life, a beautiful story and a beautiful memory are arranged behind each photo, and from the past, the photos are hung in a prominent position to the present, and the memories of the photos are displayed on a social network site. Through the user once upload appointed quantity's photo, some software can generate corresponding photo wall, but these photo wall functions are fixed, single, and simple photo show lacks the interest, also does not have the sense of participation to other users.
Disclosure of Invention
It is an object of the present application to provide a method and apparatus for real-time dynamic configuration of photo walls.
According to one aspect of the present application, there is provided a method for real-time dynamic configuration of a photo wall, the method comprising:
configuring a photo wall related to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information;
acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured;
and configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall.
According to another aspect of the present application, there is provided a method for photo wall configuration, the method comprising:
determining color information of each image information in initial atlas information corresponding to the photo wall;
dividing the wall bottom image information of the photo wall into a plurality of sub-regions, wherein the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image;
determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subarea;
determining a corresponding configuration mode according to the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, wherein based on the configuration mode, the color information of each sub-region in the wall bottom image information has corresponding color information in the initial atlas information, and the color proportion of the color information of each sub-region in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information;
determining a sub-region corresponding to the color information of each image information in the initial atlas information in the wall bottom image information according to the configuration mode;
and placing each image information in the initial image set information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information.
According to one aspect of the present application, there is provided an apparatus for real-time dynamic configuration of a photo wall, the apparatus comprising:
a module for configuring a photo wall with respect to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information;
the second module is used for acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured;
and the three modules are used for configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall.
According to another aspect of the present application, there is provided an apparatus for photo wall configuration, the apparatus comprising:
the first module is used for determining color information of each image information in the initial image set information corresponding to the photo wall;
a second module, configured to divide the wall bottom image information of the photo wall into a plurality of sub-regions, where the number of sub-regions matches the number of image information in the initial atlas information and the number of pixels of the wall bottom image;
the second module and the third module are used for determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subarea;
a fourth module, configured to determine a corresponding configuration manner according to color information of each image information in the initial atlas information and color distribution information of the wall bottom image information, where, based on the configuration manner, the color information of each sub-region in the wall bottom image information has corresponding color information in the initial atlas information, and a color proportion of the color information of each sub-region in the wall bottom image information is closest to a color proportion of the corresponding color information in the initial atlas information;
a fifth module, configured to determine, according to the configuration manner, a sub-region where color information of each image information in the initial atlas information corresponds to the image information at the bottom of the wall;
and the second and sixth modules are used for placing each image information in the initial atlas information in a sub-area corresponding to the wall bottom image information and configuring a photo wall related to the wall bottom image information.
According to an aspect of the present application, there is provided an apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of any of the methods described above.
According to one aspect of the application, there is provided a computer readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods described above.
Compared with the prior art, the method and the device have the advantages that the image information to be configured is dynamically updated by dynamically acquiring the image information to be configured in real time on the photo wall, a user does not need to upload a fixed atlas, the generation process is more flexible, other users can participate conveniently, interestingness of the photo wall is improved, and use experience of the user is improved. Moreover, the photo wall can also comprise user information, so that the photo wall is suitable for user interaction, marketing of some merchants and the like, and the photo wall is rich in functions and strong in interactivity.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for real-time dynamic configuration of a photo wall according to one embodiment of the present application;
FIG. 2 illustrates a flow diagram of a method for photo wall configuration according to another embodiment of the present application;
FIG. 3 illustrates functional modules of a photo wall real-time dynamic configuration device according to one embodiment of the present application;
FIG. 4 illustrates functional modules of a photo wall configuration device according to one embodiment of the present application;
FIG. 5 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include forms of volatile Memory, random Access Memory (RAM), and/or non-volatile Memory in a computer-readable medium, such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase-Change Memory (PCM), programmable Random Access Memory (PRAM), static Random-Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash Memory or other Memory technology, compact Disc Read Only Memory (CD-ROM), digital Versatile Disc (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, multiple network server sets, or a cloud of multiple servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will understand that the above-described apparatus is merely exemplary, and that other existing or future existing apparatus, as may be suitable for use in the present application, are intended to be encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The application provides a photo wall spliced by a plurality of image information, the photo wall can be used for magnifying and viewing detailed image information, after the photo wall is magnified to a certain degree, the photo wall displays a plurality of local image information, and of course, a certain image information in the photo wall can be further magnified and viewed by further selecting specific image information. In addition, optionally, when the user views the generated photo wall, the small area where the user photo is located in the photo wall can be automatically pushed, the resolution of the small area of the photo can be dynamically amplified according to the amplification action of the user, and the dynamic multi-resolution display mode is beneficial to improving the viewing experience of the user and saving the network transmission bandwidth. The photo wall may be completed at the user equipment side or at the network equipment side, and herein, the configuration equipment is collectively referred to as equipment for completing the photo wall configuration process. The photo wall may be a photo wall completed by the configuration device based on the initial album, or a photo wall obtained by further updating the configuration device based on the photo wall assembled by the initial album. The configuration of the photo wall is completed based on the color of each image information in the initial atlas information and the color distribution of the wall bottom map, and the color information may be color spaces such as RGB color or HSV color, and herein, it should be understood by those skilled in the art that the color spaces such as RGB color or HSV color are only examples, and other existing or future color spaces may be included in the scope of the present application if they are applicable to the present application, and are herein incorporated by reference. Wherein, if the color is RGB, the image gray value or the average value of some combination value of R, G, B components under the condition of ensuring the experimental effect can be adopted; if the color is HSV chroma, the H component can be independently used as the corresponding color characteristic of each image, or the average value of a certain combination value of the H component, the S component and the V component under the condition of ensuring the experimental effect. The specific introduction is as follows:
RGB mode: the color is represented by three color components of R, G and B, and the value range of the components is [0, 255], namely an integer.
HSV mode: the color is represented by three components, H, S, V. H: representing the hue of the color, taking the value of [0, 360) and being an integer type; component S: representing the purity of the color, taking the value of [0, 1), floating point type; component V: representing the brightness of the color, taking the value [0, 1), floating point type.
RGB can be converted into HSV by the following equation: MAX is the maximum value of r, g and b components; MIN is the minimum of the three components.
Figure DEST_PATH_IMAGE001
(1)
Figure 827827DEST_PATH_IMAGE002
(2)
The following embodiments are described by taking gray-scale values of images as examples, and those skilled in the art will understand that the embodiments are also applicable to other color spaces such as RGB color combinations, HSV color space combinations, and the like.
Fig. 1 illustrates a method for real-time dynamic update of a photo wall according to an aspect of the present application, wherein the method includes step S101, step S102, and step S103. In step S101, a configuration device configures a photo wall with respect to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information; in step S102, a configuration device obtains new one or more pieces of image information to be configured, and determines configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured; in step S103, the configuration device configures the one or more pieces of image information to be configured to update the photo wall based on the configuration location information of each piece of image information to be configured in the photo wall.
Specifically, in step S101, the configuration apparatus configures a photo wall with respect to wall bottom image information, wherein the photo wall is configured by corresponding initial album information based on color distribution information of the wall bottom image information. For example, the configuration device may be a user device installed with a corresponding photo wall configuration application, and may also be a network device corresponding to the application; if the configuration device is a user device, the user device configures a photo wall according to color information of each image information in the initial atlas information, color distribution information in a wall map and the like based on the wall map and the initial atlas information (such as a plurality of pieces of image information stored locally or sent by other devices); if the configuration device is a network device, the network device receives wall bottom image information uploaded by a user device corresponding to an initiating user and used for configuring the photo wall, the corresponding initial atlas information may be uploaded by the user device, or may be selected by the network device from a system atlas stored at a network terminal, or the network device divides the wall bottom image information into corresponding sub-regions, determines the corresponding initial atlas information (for example, each sub-region contains image information of corresponding color information, etc.) based on the color information of each sub-region, or the network device receives image information about photo wall configuration uploaded by other user devices. As in some embodiments, the method includes step S104 (not shown), in step S104, the configuration device obtains wall bottom image information and initial atlas information uploaded by a user for configuring a photo wall, wherein the initial atlas information includes a plurality of image information. The configuration device may configure, according to color information that is the same as, similar to, or corresponding to (e.g., corresponding to based on total color threshold matching) the color information of each image information in the initial atlas information and the corresponding region of the color distribution information in the image information at the bottom of the wall, each image information is configured in the corresponding region to form a corresponding photo wall, and each region may be configured with one or more image information that is the same as, similar to, or corresponding to the color information. The number of the images uploaded by the user is larger than the number of the sub-regions, a plurality of pieces of image information with the same number as the number of the sub-regions are selected as an initial atlas, or a plurality of images with the number larger than the number of the sub-regions are selected as the initial atlas, and a plurality of pieces of image information are placed in each sub-region or the number of the sub-regions is expanded; if the number of the uploaded images is smaller than that of the sub-regions, the uploaded images can be reused, the uploaded images can be expanded or other images can be called, and a plurality of images with the same number as that of the sub-regions are obtained and serve as an initial atlas; and if the number of uploaded images of the user is equal to the number of sub-areas, taking the uploaded images as an initial atlas.
After the configuration device obtains wall bottom image information and initial atlas information corresponding to a photo wall, obtaining the photo wall corresponding to the configuration based on the wall bottom image information and the initial atlas information, for example, in some embodiments, in step S101, the configuration device determines color information of each image information in the initial atlas information, and divides the wall bottom image information into a plurality of sub-regions, where the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image; determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subregion; determining a subarea corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information; and placing each image information in the initial image set information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information. For example, the configuration device determines color information of each image information in the initial atlas information, for example, a Gray value (for example, gray value Gray = R0.299 + g 0.587+ b 0.114, etc.) corresponding to an RGB value of each image information, a value of a certain component or an average value of a certain combination value, and for example, a value of an H component in HSV of each image information or an average value of a certain combination value, etc.; the configuration device divides the wall bottom image information into a plurality of sub-regions according to the number of images of the initial image set information, the number of the sub-regions is matched with the number of images in the initial image set information (for example, the number of the sub-regions is less than or equal to the number of the images in the initial image set information), and the number of the sub-regions is matched with the number of pixels of the wall bottom image information, for example, the number of the sub-regions is less than or equal to the number of pixels of the wall bottom image information, and the size of the sub-regions is minimum by taking a pixel value as a unit, for example, each pixel is taken as one sub-region, or a 5 × 5 pixel range is taken as the sub-region, wherein the sub-region starting point can be any point in the wall bottom image information, for example, the upper left corner, the center or other points (for example, a user selected pixel point and the like) of the wall bottom image information are taken as the starting point, and the sub-region is diffused from the point to the whole wall bottom image information by taking the 5 × 5 pixels of the edge portion of the wall bottom image information with the insufficient sub-region, and the corresponding region can be compensated by the average value of the color information of the remaining portion of the remaining pixels of the corresponding region, or deleted directly, or the remaining portion of the wall bottom image information is taken as one or the remaining region. Then, the configuration device determines color distribution information of the wall bottom image information based on each divided sub-region, where the color distribution information includes position information and color information of each sub-region, such as an average gray value corresponding to an RGB value of each pixel of each sub-region, an average value of a certain component or an average value of a certain combination value, and also such as an average value of an H component in HSV of each pixel information of the sub-region or an average value of a certain combination value. Then, the configuration device determines, based on the color distribution information of the image information at the bottom of the wall and the color information of each image information in the initial atlas, configuration position information at which each image information in the initial atlas is configured in the photographic wall, for example, matching (e.g., same, similar, or in a certain matching manner) the color information of each subregion in the image information at the bottom of the wall with the color information of each image information in the initial atlas, if the color information of a certain image information is the same as the color information of one or more subregions, selecting (e.g., randomly selecting, or according to a certain rule) a position corresponding to one subregion as the configuration position information of the image information, where an image in the initial atlas may not have corresponding matching position information because there is no matching subregion, and there is also a possibility that there are too many subregions of the same color information that lack image information of corresponding color information, thereby recycling the image information of corresponding color information, etc., or realizing saturation of the position of the photographic wall by adjusting the color information of other image information (e.g., image information that does not match), etc.); each sub-region may be configured with the same number of image information, and the number of configured images is related to the number of pixels of the sub-region, if the smaller of the number of images and the number of pixels of the sub-region can be divided by the larger, for example, a 4 × 4 pixel region may be configured with one image information (for example, each image information occupies 4 × 4 pixels, etc.), two image information (for example, each image information occupies 4 × 2 pixels, etc.), 4 image information (for example, each image information occupies 2 pixels, etc.), or 16 image information (for example, each image information occupies one pixel, etc.), or even 32 image information (wherein each image information occupies one sub-pixel precision, etc.). And the configuration equipment embeds each image information into the corresponding configuration position so as to configure the finished photo wall. The color distribution information of the photo wall is consistent with the color distribution information of the image information at the bottom of the wall, the original color distribution of the image information at the bottom of the wall is reserved, the use experience of a user is improved, and the smaller the sub-area division is, the closer the original color distribution information of the image information at the bottom of the wall is to the original color distribution information of the image information at the bottom of the wall.
In some embodiments, the determining, based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, a sub-region corresponding to each image information includes: the configuration equipment determines a corresponding configuration mode according to the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, wherein based on the configuration mode, the color information of each subregion in the wall bottom image information has corresponding color information in the initial atlas information, and the color proportion of the color information of each subregion in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information; and determining the sub-regions corresponding to the image information in the initial atlas information in the image information at the bottom of the wall according to the configuration mode. For example, the configuration device calculates a matching manner according to the color information distribution of the photo wall bottom image and the color information distribution of the initial atlas, wherein the matching process is as follows:
for example, the two distributions in a certain dimension may be two distributions related to gray scale values (assuming that gray scale values range from 0 to 255, integers, white is 255, and black is 0) and the gray scale value of each sub-region in the photo wall base map is known
Figure DEST_PATH_IMAGE003
Calculating a gray value in the gray distribution of the image in the initial image set
Figure 161856DEST_PATH_IMAGE004
So that the gray value in the picture wall bottom map is less than
Figure 35134DEST_PATH_IMAGE003
The ratio of the sub-regions to the gray value in the gray distribution of the image set is less than
Figure 852785DEST_PATH_IMAGE004
Are equally scaled. In the continuous case, the value range of the proportion is inevitably [0,1 ]]Therefore to each one
Figure 836921DEST_PATH_IMAGE003
Necessarily with strict satisfaction
Figure 291036DEST_PATH_IMAGE004
When discrete cases, one can take the nearest y. I.e. for each
Figure 335216DEST_PATH_IMAGE003
All need to find one
Figure 140361DEST_PATH_IMAGE004
So that it satisfies the following formula.
Figure DEST_PATH_IMAGE005
(3)
Wherein
Figure 662609DEST_PATH_IMAGE006
Representing the grey value of the wall bottom graph of the photo as
Figure DEST_PATH_IMAGE007
The statistical value of the number of the sub-regions,
Figure 220498DEST_PATH_IMAGE008
the total number of sub-regions in the photo wall map,
Figure DEST_PATH_IMAGE009
representing a gray scale value of
Figure 904420DEST_PATH_IMAGE010
The statistical value of the number of images of (2),
Figure DEST_PATH_IMAGE011
the total number of images in the image set. Based on the mode, a corresponding matching mode can be obtained, and one or more sub-regions corresponding to the image information are determined, so that the corresponding configuration position information is determined. Subsequently, the configuration device can embed the image information in the album information into the position of the corresponding sub-area, and configure the corresponding photo wall. In some embodiments, the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information further include: and the configuration equipment converts the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, places each converted image information in the subarea corresponding to the wall bottom image information, and configures the photo wall related to the wall bottom image information. For example, the images in the initial map set may not have corresponding matching position information because there are no matching sub-regions, or the number of sub-regions with the same color information is too large and lacks image information of corresponding color information, so that the image information of corresponding color information is recycled, or the saturation of the position of the photo wall is realized by adjusting the color information of other image information (such as image information which is not matched); or, based on the above matching manner, if there is image information with the same color information for some sub-regions, that is, x = y, then directly embedding the corresponding image information into the position of the corresponding sub-region, if x ≠ y corresponds, the gray-level value y of the image information may be converted according to a preset color adjustment ratio so as to be the same as or close to the gray-level value x of the corresponding sub-region (e.g., within the x-corresponding deviation range), and the converted image information is embedded into the position of the corresponding sub-region to complete the photo wallThe configuration of (2).
In step S102, the configuration device obtains new one or more pieces of image information to be configured, and determines configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured. For example, the configuration device obtains new image information to be configured, where if the configuration device is a user device, the image information to be configured may be acquired by the user device, or locally stored by the user device, or received and transmitted to the user device by another device, and if the configuration device is a network device, the image information to be configured includes new image information uploaded by the initiating device, or image information uploaded by user devices corresponding to other participating users. After the configuration device acquires the one or more pieces of image information to be configured, matching color information of the image information to be configured with color distribution information of image information at the bottom of a wall or a photo wall, and determining corresponding matching position information, wherein the corresponding sub-regions comprise sub-regions with image information in an initial atlas, and the matching modes can be the same or similar color information, or matching based on the matching modes, and the like; or when waiting for a certain time or the image information to be configured meets a certain number, the number of the subareas is divided again, so that the configuration position information of each image information is determined again; or on the basis of the number of the existing sub-regions, the number of the configurable image information in each sub-region is increased, and then the configuration position information of the image information to be configured is determined. As in some embodiments, the configuration device obtains the new one or more image information to be configured; and if the color information of at least one piece of image information to be configured in the one or more pieces of image information to be configured is matched with the color information of one or more pieces of image information in the photo wall, taking the position information of one of the one or more pieces of image information in the photo wall as the configuration position information of the at least one piece of image information to be configured.
In step S103, the configuration device configures the one or more pieces of image information to be configured to update the photo wall based on the configuration location information of each piece of image information to be configured in the photo wall. For example, the configuration device obtains configuration position information of the image information to be configured, and embeds the image information to be configured into a photo wall based on the configuration position information to update the photo wall. And if the corresponding image information exists in the configuration position information, replacing the existing image information with the image information to be configured to update the photo wall.
In some embodiments, the initial atlas information includes system image information and/or non-system image information. The system picture includes image information which is stored locally by the configuration device and/or acquired from other devices and is irrelevant to participating users, the non-system picture includes image information which is provided by an initiating user (such as a user providing image information of a wall bottom) and a participating user (such as a user providing a picture configured by the photo wall), the system image information includes alternative image information which is used for generating an initial photo wall by the configuration device when no non-system image exists, the configuration device complements an album used for generating the photo wall when the non-system image information cannot satisfy the photo wall, and the configuration device complements the photo wall according to color information of remaining sub-regions when the non-system image information cannot satisfy the photo wall, for example, the system image information may be related image information stored locally by the configuration device, or is obtained after certain processing (such as gray conversion or marking as system image information) is performed according to partial image information of the non-system image information. On this basis, if the configuration device acquires one or more pieces of to-be-configured image information, the configuration device may replace the corresponding system image information with the to-be-configured image information, for example, in some embodiments, the initial atlas information includes the system image information; in step S102, a configuration device obtains the new one or more pieces of to-be-configured image information, if at least one piece of to-be-configured image information in the one or more pieces of to-be-configured image information has corresponding one or more pieces of system image information, and color information of the one or more pieces of system image information matches color information of the corresponding to-be-configured image information, determines one piece of system image information in the one or more pieces of system image information as to-be-replaced system image information of the corresponding to-be-configured image information, and takes position information of the to-be-replaced system image information in the photo wall as configuration position information of the to-be-configured image information; in step S103, the configuration device replaces the corresponding system image information to be replaced with the at least one image information to be configured according to the configuration location information to update the photo wall. For example, based on a matching manner (such as a manner of same or similar color information or color ratio matching) between the image information and the sub-region, the configuration device matches the image information to be configured with the system image information in the photo wall, and the matching process is similar to the above matching process and is not described herein again. The method comprises the steps that configuration equipment determines one or more pieces of system image information corresponding to at least one piece of to-be-configured image information in the to-be-configured image information, one piece of system image information in the one or more pieces of system image information is used as to-be-replaced system image information, position information of the to-be-replaced system image information is used as configuration position information of the to-be-configured image information, the to-be-configured image information and the to-be-replaced system image information are replaced, and then the photo wall is updated. When the system image information in the photo wall is completely replaced, the configuration device re-divides the sub-regions of the wall bottom image information so that the photo wall can accommodate more image information, as in some embodiments, the method further includes step S105 (not shown), in step S105, if the image information included in the photo wall is non-system image information, re-divides the wall bottom image information into a plurality of sub-regions, where the number of sub-regions before re-division is smaller than the number of sub-regions after re-division, and the number of sub-regions after re-division matches the total image number of the photo wall before re-division and the one or more image information to be configured, and the number of pixels of the wall bottom map; wherein, in step S101, the configuration device reconfigures a photo wall regarding wall bottom image information, wherein the photo wall is configured by the non-system image information and a plurality of system image information based on color distribution information of the wall bottom image information. For example, the configuration device detects that the image information included in the photo wall is non-system image information, the configuration device will re-divide the sub-regions of the image information at the bottom of the wall, the number of the divided sub-regions (for example, the area of 5 × 4 pixels is one sub-region) is greater than the number of the previous sub-regions (for example, the area of 5 × 5 pixels is one sub-region), the number of the sub-regions should be less than or equal to the number of pixels of the image information at the bottom of the wall, and the like, and the number of images that can be included in the re-divided sub-regions should be greater than or equal to the total number of images of the photo wall before re-division and the image information to be configured. And the sub-regions after being re-divided are composed of non-system image information and partial system image information, then the configuration equipment continuously acquires the image information to be configured, and replaces the system image information based on the image information to be configured to update the photo wall.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device selects 2000 system images from a system image set uploaded by a local storage/initiating user, the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, the sub-regions are sequentially divided from the top left corner of the wall bottom image, then, the 2000 images are matched with the sub-regions in a gray matching manner, the position of one sub-region corresponding to each image (for example, the rows and columns from the top left corner) is determined, and a corresponding photo wall is configured. Then, the configuration equipment acquires an image to be configured uploaded by a subsequent participating user, compares the image to be configured uploaded by the subsequent user with the system image, and determines a system image from the one or more system images as a system image to be replaced if the gray scale of the image to be configured is the same as or similar to that of one or more system images; and if the image to be configured does not have a system image with the same gray level in the photo wall, taking the system image with the similar gray level as the system image to be replaced, or adjusting the gray level of the image to be configured and then matching until the system image to be replaced is determined. Subsequently, the configuration device replaces the system image to be replaced with the image information to be configured. When 2000 images in the wall bottom map are all non-system images, subdividing the sub-regions of the wall bottom map, for example, dividing the sub-regions by taking 20 × 20 pixels as a unit, and dividing 2500 sub-regions, wherein the 2500 sub-regions are filled with 2000 original non-system images and 500 system images. And then, the configuration equipment continuously acquires the image to be configured uploaded by the participating user and replaces the system image in the photo wall. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a minimum unit of sub-regions is a pixel location.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device obtains 1900 images uploaded by the initiating user through the user equipment and other users participating in (such as operations like sharing praise and obtaining images of the user), the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, the sub-regions are sequentially divided from the upper left corner of the wall bottom image, 100 system images are selected from a system diagram set uploaded by the local storage/initiating user as supplementary legging 2000 images, then, the 2000 images are matched with the sub-regions in a gray scale matching mode, the position of one sub-region corresponding to each image is determined (such as rows and columns from the upper left corner), and a corresponding photo wall is configured. Then, the configuration equipment acquires an image to be configured uploaded by a subsequent participant user, compares the image to be configured uploaded by the subsequent user with the system image, and determines one system image from the one or more system images as a system image to be replaced if the gray scale of the image to be configured is the same as or similar to that of one or more system images; and if the image to be configured does not have a system image with the same gray level in the photo wall, taking the system image with the similar gray level as the system image to be replaced, or adjusting the gray level of the image to be configured and then matching until the system image to be replaced is determined. Subsequently, the configuration device replaces the system image to be replaced with the image information to be configured. When 2000 images in the wall bottom map are all non-system images, subdividing the sub-regions of the wall bottom map, for example, dividing the sub-regions by taking 20 × 20 pixels as a unit, and dividing 2500 sub-regions, wherein the 2500 sub-regions are filled with 2000 original non-system images and 500 system images. And then, the configuration equipment continuously acquires the image to be configured uploaded by the participating user and replaces the system image in the photo wall. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a minimum unit of sub-regions is a pixel location.
In some embodiments, the initial atlas information includes only non-system image information. In step S102, if a configuration device obtains a predetermined number of pieces of image information to be configured, the configuration device divides the image information at the bottom of the wall into a plurality of sub-regions again, where the number of sub-regions before being divided again is smaller than the number of sub-regions after being divided again, and the number of sub-regions after being divided again matches with the total number of images of the photo wall and the pieces of image information to be configured before being divided again and the number of pixels of the image information at the bottom of the wall; determining configuration position information of each image information and each image information to be configured in the photo wall after the picture wall is divided again based on the color information of each image information in the photo wall before the picture wall is divided again and the color information of each image information to be configured in the plurality of image information to be configured; in step S103, the configuration device configures the image information of the photo wall before the repartitioning and the plurality of pieces of image information to be configured to update the photo wall based on the each piece of image information and the configuration position information of the each piece of image information to be configured in the repartitioned photo wall. For example, when the configuration device completes configuration of a corresponding photo wall based on an initial atlas formed by non-system image information, subsequently, the configuration device obtains other non-system image information, when the subsequently obtained non-system image information reaches a certain number threshold, the configuration device re-divides the corresponding sub-regions, the number of the divided sub-regions is greater than that of the sub-regions before division, and the number of the divided sub-regions is in a certain proportion to the total number of the non-system image information. The number threshold may be set by the initiating user, or may be generated by the system according to the number of pixels of the current sub-region and the wall bottom image information.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device obtains 2000 images uploaded by the initiating user through the user equipment and other users participating in (such as operations like sharing praise and obtaining images of the users), the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, the sub-regions are sequentially divided from the upper left corner of the wall bottom image, the 2000 images are matched with the sub-regions in a gray matching mode, the position of one sub-region corresponding to each image (such as rows and columns from the upper left corner) is determined, and a corresponding photo wall is configured. Then, the configuration device obtains images to be configured uploaded by subsequent users, the number of the images to be configured uploaded by the subsequent users reaches a certain number threshold (e.g., 500), the sub-regions of the wall bottom map are re-divided, for example, 20 × 20 pixels are taken as a unit to divide the sub-regions, 2500 sub-regions are divided, the 2500 images are matched with the sub-regions based on a gray scale matching mode, the position of one sub-region corresponding to each image (e.g., the row from the top left, and the like) is determined, and the divided photo wall is configured. And then, the configuration equipment divides the sub-regions again after continuously acquiring the images to be configured uploaded by the participating users to reach a certain number. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a minimum unit of sub-regions is a pixel location.
In some embodiments, each image information of the photo wall further includes image related information corresponding to the each image information; wherein the image-related information includes, but is not limited to: description information of each image information; original image information of the image information; user information corresponding to the image information, and the like. For example, each image information in the photo wall may further include description information of each image, such as name of the image, brief description of content, and the like; when the gray scale of the image information is adjusted in the process of configuring the photo wall, each image information can also contain information related to the original image, such as attaching an access link related to the original image; if the image information source includes a plurality of different users in the process of configuring the photo wall, each image information may further include corresponding user information, such as a name, a contact way, a corresponding user homepage, device identification information of corresponding user equipment, other social application accounts of the user, and the like.
For example, a merchant uploads a wall background picture including a corresponding commodity, and the configuration device collects images related to each participating user by collecting operations of each user about dynamic approval, sharing, forwarding and the like (for example, the user actively uploads or takes a user avatar as a configuration image), and then configures a corresponding photo wall by using the wall background picture information of the merchant and the user-related image, where the configuration image of the photo wall may further include image information related to the commodity. The photo wall is enlarged, so that the related image information of the commodity is checked, the related name and brief description information of the commodity can be checked, the access link of the original image of the commodity can be checked, and even the purchase or discount access link page of the commodity and the like can be checked; the image uploaded by the user can be magnified to view the name of the image, the name of the user, a homepage and access links, social accounts, contact ways of other user related information, device identification information of corresponding user equipment and the like.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information, where the user information includes device-related information of user equipment of each user; wherein the method further comprises step S106 (not shown), the configuration device sends configuration location information of corresponding image information in the photo wall to the user device of each user based on the device-related information of the user device of each user. For example, each piece of image information includes device-related information (e.g., device identification information or a mobile phone number) of a user device corresponding to the user, through the device-related information, the configuration device may further obtain a third-party application account (e.g., a social application account) corresponding to the device-related information of the user device, and the configuration device sends location information (e.g., the row and column from the current photo wall) of each piece of image information to the corresponding user device through a communication connection with each user device, for example, sends the corresponding location information in an application or sends the location information in a short message manner, and may also send the location information through the third-party application. And if the current photo wall is updated and the position of each image information changes, the configuration equipment sends the changed position information to each user equipment. The process enhances the interaction between the user and the dynamic state, so that the interaction of the photo wall generation process is strong, the participation sense of the user is strong, and the use experience of the user is improved.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information; the method further includes step S107 (not shown), where the configuration device generates corresponding photo wall identification information based on the photo wall, where the photo wall identification information includes each image information of the photo wall and user information corresponding to each image information. In some embodiments, the photo wall identification information includes, but is not limited to: link access information corresponding to the photo wall; the two-dimensional code image information corresponding to the photo wall; and identifying image information corresponding to the photo wall. For example, the photo wall identification information may be access link information corresponding to a photo wall page, or two-dimensional code image information generated based on the access link information, or identification image information corresponding to the photo wall, where after the photo wall identification information is scanned, the user equipment may perform image matching in a photo wall database according to the identification image information to obtain related information of the photo wall; the photo wall identification information further includes each image information in the photo wall and user information corresponding to the image information. Based on the photo wall identification information, the user can access and acquire corresponding photo wall information by using user equipment, and if the photo wall contains the user information of the user, the configuration equipment sends corresponding configuration position information to the user equipment of the user. As in some embodiments, the method includes step S108 (not shown), the configuration device receives an access request about the photo wall sent by the first user device, wherein the access request includes the photo wall identification information; and if the first user information corresponding to the first user equipment comprises the user information corresponding to each image information, returning the photo wall and the configuration position information of the image information corresponding to the first user information in the photo wall to the first user equipment.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information; in step S109 (not shown), in step S109, the configuration device determines one or more preferred sub-regions in the photo wall according to a preset rule, and determines user information corresponding to image information included in the one or more preferred sub-regions. In some embodiments, the preset rules include, but are not limited to: randomly selecting; randomly selecting one or more sub-areas corresponding to certain color information; based on the popularization frequency of the user corresponding to each image information about the photo wall; and the number of the image information with the same user information in the image information in the photo wall is based on. For example, the configuration device configures a photo wall according to image information uploaded by different users, where the photo wall may be used for some preferred activities, for example, randomly extracting one or more sub-regions in the image information as preferred sub-regions, and determining corresponding users as preferred users; for another example, a certain one or more color information (such as a gray value) in the photo wall is randomly extracted, a sub-region corresponding to the one or more color information is used as a preferred sub-region, and a user corresponding to the preferred sub-region is determined as a preferred user; or determining the sub-regions corresponding to the user with more promotion frequency as the preferred sub-regions based on the promotion frequency of the user (such as the times of operations of uploading photos, praise, forwarding, commenting and the like by the user); or, based on the number of the image information uploaded by each user, for example, a sub-region with a larger number of image information corresponding to the same user information in the photo wall is taken as the preferred sub-region.
Fig. 2 illustrates a method for configuring a photo wall according to another aspect of the present application, wherein the method includes step S201, step S202, step S203, step S204, step S205, and step S206. In step S201, the configuration device determines color information of each image information in the initial album information corresponding to the photo wall; in step S202, the configuration device divides the wall bottom image information of the photo wall into a plurality of sub-regions, where the number of sub-regions matches the number of image information in the initial atlas information and the number of pixels of the wall bottom image information; in step S203, the configuration device determines color distribution information of the wall bottom image information, where the color distribution information includes position information and color information of each sub-region; in step S204, the configuration device determines a corresponding configuration manner according to the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, wherein, based on the configuration manner, the color information of each sub-region in the wall bottom image information has corresponding color information in the initial atlas information, and the color proportion of the color information of each sub-region in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information; in step S205, the configuration device determines, according to the configuration manner, a sub-region corresponding to the color information of each image information in the initial atlas information in the image information at the bottom of the wall; in step S206, the configuration device places each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, and configures a photo wall related to the wall bottom image information.
For example, the configuration device may be a user device installed with a corresponding photo wall configuration application, and may also be a network device corresponding to the application; if the configuration device is a user device, the user device configures a photo wall according to color information of each image information in the initial atlas information, color distribution information in the wall map and the like based on the wall map, the initial atlas information (such as a plurality of pieces of locally stored image information) and the like; if the configuration device is a network device, the network device receives wall bottom image information uploaded by a user device corresponding to an initiating user and used for configuring the photo wall, the corresponding initial atlas information may be uploaded by the user device, or may be selected by the network device from a system atlas stored at a network terminal, or the network device divides the wall bottom image information into corresponding sub-regions, determines the corresponding initial atlas information (for example, each sub-region contains image information of corresponding color information, etc.) based on the color information of each sub-region, or the network device receives image information about photo wall configuration uploaded by other user devices. As in some embodiments, a configuration device obtains wall bottom image information and initial atlas information uploaded by a user for configuring a photo wall, wherein the initial atlas information includes a plurality of image information. The configuration device may configure, according to color information that is the same as, similar to, or corresponding to (e.g., corresponding to based on total color threshold matching) the color information of each image information in the initial atlas information and the corresponding region of the color distribution information in the image information at the bottom of the wall, each image information is configured in the corresponding region to form a corresponding photo wall, and each region may be configured with one or more image information that is the same as, similar to, or corresponding to the color information.
After the configuration device acquires wall bottom image information and initial atlas information corresponding to a photo wall, acquiring the photo wall corresponding to configuration based on the wall bottom image information and the initial atlas information, for example, in some embodiments, the configuration device determines color information of each image information in the initial atlas information, and divides the wall bottom image information into a plurality of sub-regions, wherein the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom map; determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subarea; determining a subregion corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information; and placing each image information in the initial atlas information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information. For example, the configuration device determines color information of each image information in the initial atlas information, for example, a Gray value (for example, gray value Gray = R0.299 + g 0.587+ b 0.114, etc.) corresponding to an RGB value of each image information, a value of a certain component or an average value of a certain combination value, and for example, a value of an H component in HSV of each image information or an average value of a certain combination value, etc.; the configuration device divides the wall bottom image information into a plurality of sub-regions according to the number of images of the initial image set information, the number of the sub-regions is matched with the number of images in the initial image set information (for example, the number of the sub-regions is less than or equal to the number of the images in the initial image set information), and the number of the sub-regions is matched with the number of pixels of the wall bottom image information, for example, the number of the sub-regions is less than or equal to the number of pixels of the wall bottom image information, and the size of the sub-regions is minimum by taking a pixel value as a unit, for example, each pixel is taken as one sub-region, or a 5 × 5 pixel range is taken as the sub-region, wherein the sub-region starting point can be any point in the wall bottom image information, for example, the upper left corner, the center or other points (for example, a user selected pixel point and the like) of the wall bottom image information are taken as the starting point, and the sub-region is diffused from the point to the whole wall bottom image information by taking the 5 × 5 pixels of the edge portion of the wall bottom image information with the insufficient sub-region, and the corresponding region can be compensated by the average value of the color information of the remaining portion of the remaining pixels of the corresponding region, or deleted directly, or the remaining portion of the wall bottom image information is taken as one or the remaining region. Then, the configuration device determines color distribution information of the wall bottom image information based on each divided sub-region, where the color distribution information includes position information and color information of each sub-region, such as an average gray value corresponding to an RGB value of each pixel of each sub-region, an average value of a certain component, or an average value of a certain combination value, and further such as an average value of an H component in HSV of information of each pixel of the sub-region, or an average value of a certain combination value. Then, the configuration device determines, based on the color distribution information of the image information at the bottom of the wall and the color information of each image information in the initial atlas, configuration position information at which each image information in the initial atlas is configured in the photographic wall, for example, matching (e.g., same, similar, or in a certain matching manner) the color information of each subregion in the image information at the bottom of the wall with the color information of each image information in the initial atlas, if the color information of a certain image information is the same as the color information of one or more subregions, selecting (e.g., randomly selecting, or according to a certain rule) a position corresponding to one subregion as the configuration position information of the image information, where an image in the initial atlas may not have corresponding matching position information because there is no matching subregion, and there is also a possibility that there are too many subregions of the same color information that lack image information of corresponding color information, thereby recycling the image information of corresponding color information, etc., or realizing saturation of the position of the photographic wall by adjusting the color information of other image information (e.g., image information that does not match), etc.); each sub-region may be configured with the same number of image information, and the number of configured images is related to the number of pixels of the sub-region, if the smaller of the number of images and the number of pixels of the sub-region can be divided by the larger, for example, a pixel region of 4 × 4 may be configured with one image information (e.g., each image information occupies 4 × 4 pixels, etc.), or may be configured with two image information (e.g., each image information occupies 4 × 2 pixels, etc.), or may be configured with 4 image information (e.g., each image information occupies 2 × 2 pixels, etc.), or may be configured with 16 image information (e.g., each image information occupies one pixel, etc.), or may be configured with 32 image information (e.g., each image information occupies one sub-pixel precision, etc.). And the configuration equipment embeds each image information into the corresponding configuration position so as to configure the finished photo wall. The color distribution information of the photo wall is consistent with the color distribution information of the image information at the bottom of the wall, the original color distribution of the image information at the bottom of the wall is reserved, the use experience of a user is promoted, and the smaller the sub-region division is, the closer the original color distribution information of the image information at the bottom of the wall is to the original color distribution information of the image information at the bottom of the wall.
In some embodiments, the configuration device calculates the matching mode according to the color information distribution of the bottom image of the photo wall and the color information distribution of the initial atlas, wherein the matching process is as follows:
knowing two distributions in a dimension, for example, two distributions about gray values (assuming gray values range from 0 to 255, integer, white 255 and black 0) can be used in this example, the gray value of each sub-area in the photo wall map is calculated
Figure 931282DEST_PATH_IMAGE003
Calculating a gray value in the gray distribution of the image in the initial image set
Figure 257221DEST_PATH_IMAGE004
So that the gray value in the picture wall bottom map is less than
Figure 171082DEST_PATH_IMAGE003
The ratio of the sub-regions and the gray value in the gray distribution of the image set are less than
Figure 557064DEST_PATH_IMAGE004
Are equally scaled. In the continuous case, the value range of the proportion is inevitably [0,1 ]]So to each one
Figure 336801DEST_PATH_IMAGE003
Necessarily with strict satisfaction
Figure 466431DEST_PATH_IMAGE004
When discrete, one can take the nearest y. I.e. for each
Figure 484065DEST_PATH_IMAGE003
All need to find one
Figure 572107DEST_PATH_IMAGE004
So that it satisfies the following formula.
Figure 573561DEST_PATH_IMAGE005
(4)
Wherein the content of the first and second substances,
Figure 756150DEST_PATH_IMAGE006
representing the grey value of the wall bottom picture of the photo as
Figure 893870DEST_PATH_IMAGE007
The statistical value of the number of the sub-regions,
Figure 887234DEST_PATH_IMAGE008
the total number of sub-regions in the photo wall map,
Figure 375984DEST_PATH_IMAGE009
representing a gray scale value of the graph set of
Figure 847417DEST_PATH_IMAGE010
The statistical value of the number of images of (2),
Figure 105223DEST_PATH_IMAGE011
the total number of images in the set. Based on the mode, a corresponding matching mode can be obtained, and one or more sub-regions corresponding to each image information are determined, so that corresponding configuration position information is determined. Subsequently, the configuration device may embed the image information in the album information into the position of the corresponding sub-area, and configure the corresponding photo wall.
In some embodiments, the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information further include: and the configuration equipment converts the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, places each converted image information in the subarea corresponding to the wall bottom image information, and configures the photo wall related to the wall bottom image information. For example, the images in the initial image set may not have corresponding matching position information because there are no matching sub-regions, or there may be too many sub-regions with the same color information and lack corresponding image information of color information, so as to recycle the image information of corresponding color information, or to achieve saturation of the position of the photo wall by adjusting the color information of other image information (such as image information that is not matched); or, based on the above matching manner, if there is image information with the same color information for some sub-regions, that is, x = y, then directly embedding the corresponding image information into the position where the corresponding sub-region is located, if x ≠ y corresponds, the gray value y of the image information may be converted according to a preset color adjustment ratio so as to be the same as or close to the gray value x of the corresponding sub-region (e.g., within the x-corresponding deviation range), and the converted image information is embedded into the position where the corresponding sub-region is located to complete the configuration of the photo wall.
Fig. 3 illustrates an apparatus for real-time dynamic update of a photo wall according to an aspect of the present application, wherein the apparatus includes a one-module 101, a two-module 102, and a three-module 103. A module 101, configured to configure a photo wall related to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information; a second module 102, configured to obtain new one or more pieces of image information to be configured, and determine, based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured, configuration position information of each piece of image information to be configured in the photo wall; a third module 103, configured to configure the one or more pieces of image information to be configured to update the photo wall based on the configuration location information of each piece of image information to be configured in the photo wall.
Specifically, the one-to-one module 101 is configured to configure a photo wall related to wall bottom image information, where the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information. For example, the configuration device may be a user device installed with a corresponding photo wall configuration application, and may also be a network device corresponding to the application; if the configuration device is a user device, the user device configures a photo wall according to color information of each image information in the initial atlas information, color distribution information in the wall base map and the like based on the wall base map and the initial atlas information (such as locally stored or receives a plurality of pieces of image information sent by other devices); if the configuration device is a network device, the network device receives wall bottom image information uploaded by a user device corresponding to an initiating user and used for configuring the photo wall, the corresponding initial atlas information may be uploaded by the user device, or may be selected by the network device from a system atlas stored at a network terminal, or the network device divides the wall bottom image information into corresponding sub-regions, determines the corresponding initial atlas information (for example, each sub-region contains image information of corresponding color information, etc.) based on the color information of each sub-region, or the network device receives image information about photo wall configuration uploaded by other user devices. As in some embodiments, the apparatus includes a fourth module 104 (not shown) for obtaining wall bottom image information and initial atlas information uploaded by a user for configuring a photo wall, wherein the initial atlas information includes a plurality of image information. The configuration device may configure, according to color information that is the same as, similar to, or corresponding to (e.g., corresponding to based on total color threshold matching) the color information of each image information in the initial atlas information and the corresponding region of the color distribution information in the image information at the bottom of the wall, each image information in the corresponding region to form a corresponding photo wall, and each region may configure one or more image information of the same as, similar to, or corresponding to the color information. The number of the images uploaded by the user is larger than the number of the sub-regions, a plurality of pieces of image information with the same number as the number of the sub-regions are selected as an initial atlas, or a plurality of images with the number larger than the number of the sub-regions are selected as the initial atlas, and each sub-region is provided with a plurality of pieces of image information or the number of the sub-regions is expanded; if the number of the uploaded images is smaller than that of the sub-regions, the uploaded images can be reused, the uploaded images can be expanded or other images can be called, and a plurality of images with the same number as that of the sub-regions are obtained and serve as an initial atlas; and if the number of uploaded images of the user is equal to the number of sub-areas, taking the uploaded images as an initial atlas.
After acquiring wall bottom image information and initial atlas information corresponding to a photo wall, the configuration device acquires the photo wall corresponding to the configuration based on the wall bottom image information and the initial atlas information, for example, in some embodiments, the one-to-one module 101 is configured to determine color information of each image information in the initial atlas information, and divide the wall bottom image information into a plurality of sub-regions, where the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image; determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subarea; determining a subregion corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information; and placing each image information in the initial atlas information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information. For example, the configuration device determines color information of each image information in the initial atlas information, for example, a Gray value (for example, gray value Gray = R0.299 + g 0.587+ b 0.114, etc.) corresponding to an RGB value of each image information, a value of a certain component or an average value of a certain combination value, and for example, a value of an H component in HSV of each image information or an average value of a certain combination value, etc.; the configuration device divides the wall bottom image information into a plurality of sub-regions according to the number of images in the initial atlas information, where the number of the sub-regions matches the number of images in the initial atlas information (e.g., the number of the sub-regions is less than or equal to the number of the image information in the initial atlas information), and the number of the sub-regions matches the number of pixels in the wall bottom image information, e.g., the number of the sub-regions is less than or equal to the number of pixels in the wall bottom image information, and the size of the sub-region is the minimum in units of pixel values, e.g., each pixel is taken as one sub-region, or a 5 × 5 pixel range is taken as a sub-region, etc., where the starting point of the sub-region may be any point in the wall bottom image information, e.g., the upper left corner, the center, or other points (e.g., pixel points selected by a user) of the wall bottom image information, and the starting point may be spread from the point to the entire wall bottom image information in a size of 5 × 5 pixels, where the edge portion of the wall bottom image information has 5 pixels of the insufficient sub-regions, and may be used as an average value of the corresponding region of the color information of the remaining portion of the pixels of the point, or may be directly used to patch, or delete the region, or delete the remaining portion of the wall bottom image information. Then, the configuration device determines color distribution information of the wall bottom image information based on each divided sub-region, where the color distribution information includes position information and color information of each sub-region, such as an average gray value corresponding to an RGB value of each pixel of each sub-region, an average value of a certain component or an average value of a certain combination value, and also such as an average value of an H component in HSV of each pixel information of the sub-region or an average value of a certain combination value. Then, the configuration device determines, based on the color distribution information of the image information at the bottom of the wall and the color information of each image information in the initial image set, configuration position information at which each image information in the initial image set is configured in the photo wall, for example, matching (e.g., same, close, or in a certain matching manner) the color information of each subregion in the image information at the bottom of the wall with the color information of each image information in the initial image set, and if the color information of a certain image information is the same as the color information of one or more subregions, selecting (e.g., randomly selecting or according to a certain rule) a position corresponding to one subregion as the configuration position information of the image information, where the image information in the initial image set may not have corresponding matching position information because of no matching subregion, or the image information of the same color information may lack image information corresponding color information due to too many subregions in number so as to reuse the image information of the corresponding color information, or achieve saturation of the position of the photo wall by adjusting the color information of other image information (e.g., image information not matched) so as to achieve saturation of the position of the photo wall; each sub-region may be configured with the same number of image information, and the number of configured images is related to the number of pixels of the sub-region, if the smaller of the number of images and the number of pixels of the sub-region can be divided by the larger, for example, a pixel region of 4 × 4 may be configured with one image information (e.g., each image information occupies 4 × 4 pixels, etc.), or may be configured with two image information (e.g., each image information occupies 4 × 2 pixels, etc.), or may be configured with 4 image information (e.g., each image information occupies 2 × 2 pixels, etc.), or may be configured with 16 image information (e.g., each image information occupies one pixel, etc.), or may be configured with 32 image information (e.g., each image information occupies one sub-pixel precision, etc.). And the configuration equipment embeds each image information into the corresponding configuration position so as to configure the finished photo wall. The color distribution information of the photo wall is consistent with the color distribution information of the image information at the bottom of the wall, the original color distribution of the image information at the bottom of the wall is reserved, the use experience of a user is improved, and the smaller the sub-area division is, the closer the original color distribution information of the image information at the bottom of the wall is to the original color distribution information of the image information at the bottom of the wall.
In some embodiments, the determining, based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, a sub-region corresponding to each image information includes: the configuration equipment determines a corresponding configuration mode according to the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, wherein based on the configuration mode, the color information of each subregion in the wall bottom image information has corresponding color information in the initial atlas information, and the color proportion of the color information of each subregion in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information; and determining the sub-regions corresponding to the image information in the initial atlas information in the image information at the bottom of the wall according to the configuration mode. For example, the configuration device calculates a matching manner according to the color information distribution of the photo wall bottom image and the color information distribution of the initial atlas, wherein the matching process is as follows:
knowing two distributions in a dimension, for example, two distributions about gray values (assuming gray values range from 0 to 255, integer, white 255 and black 0) can be used in this example, the gray value of each sub-area in the photo wall map is calculated
Figure 269488DEST_PATH_IMAGE003
Calculating a gray value in the gray distribution of the image in the initial image set
Figure 979955DEST_PATH_IMAGE004
So that the gray value in the picture wall bottom map is less than
Figure 737302DEST_PATH_IMAGE003
The ratio of the sub-regions and the gray value in the gray distribution of the image set are less than
Figure 115194DEST_PATH_IMAGE004
Are equally scaled. In the continuous case, the value range of the proportion is inevitably [0,1 ]]So to each one
Figure 184781DEST_PATH_IMAGE003
Necessarily with strict satisfaction
Figure 648123DEST_PATH_IMAGE004
When discrete, canTo take a nearest y. I.e. for each
Figure 195779DEST_PATH_IMAGE003
All need to find one
Figure 428177DEST_PATH_IMAGE004
So that it satisfies the following formula.
Figure 917933DEST_PATH_IMAGE005
(5)
Wherein
Figure 868572DEST_PATH_IMAGE006
Representing the grey value of the wall bottom graph of the photo as
Figure 485498DEST_PATH_IMAGE007
The statistical value of the number of the sub-regions,
Figure 572403DEST_PATH_IMAGE008
the total number of sub-regions in the photo wall map,
Figure 983792DEST_PATH_IMAGE009
representing a gray scale value of the graph set of
Figure 156148DEST_PATH_IMAGE010
The statistical value of the number of images of (2),
Figure 311186DEST_PATH_IMAGE011
the total number of images in the image set. Based on the mode, a corresponding matching mode can be obtained, and one or more sub-regions corresponding to each image information are determined, so that corresponding configuration position information is determined. Subsequently, the configuration device can embed the image information in the album information into the position of the corresponding sub-area, and configure the corresponding photo wall.
In some embodiments, the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information further include: and the configuration equipment converts the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, places each converted image information in the subarea corresponding to the wall bottom image information, and configures the photo wall related to the wall bottom image information. For example, the images in the initial image set may not have corresponding matching position information because there are no matching sub-regions, or there may be too many sub-regions with the same color information and lack corresponding image information of color information, so as to recycle the image information of corresponding color information, or to achieve saturation of the position of the photo wall by adjusting the color information of other image information (such as image information that is not matched); or, based on the above matching manner, if there is image information with the same color information for some sub-regions, that is, x = y, then directly embedding the corresponding image information into the position where the corresponding sub-region is located, if x ≠ y corresponds, the gray value y of the image information may be converted according to a preset color adjustment ratio so as to be the same as or close to the gray value x of the corresponding sub-region (e.g., within the x-corresponding deviation range), and the converted image information is embedded into the position where the corresponding sub-region is located to complete the configuration of the photo wall.
A secondary module 102, configured to obtain new one or more pieces of image information to be configured, and determine, based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured, configuration position information of each piece of image information to be configured in the photo wall. For example, the configuration device obtains new one or more pieces of image information to be configured, where if the configuration device is a user device, the image information to be configured may be acquired by the user device, or locally stored by the user device, or received by another device and transmitted to the user device, and if the configuration device is a network device, the image information to be configured includes new image information uploaded by the initiating device, or image information uploaded by user devices corresponding to other participating users. After the configuration device acquires the one or more pieces of image information to be configured, matching color information of the image information to be configured with color distribution information of image information at the bottom of a wall or a photo wall, and determining corresponding matching position information, wherein the corresponding sub-regions comprise sub-regions with image information in an initial atlas, and the matching modes can be the same or similar color information, or matching based on the matching modes, and the like; or when waiting for a certain time or the image information to be configured meets a certain number, the number of the subareas is divided again, so that the configuration position information of each image information is determined again; or on the basis of the number of the existing sub-regions, increasing the number of the configurable image information in each sub-region, and then determining the configuration position information of the image information to be configured. As in some embodiments, the configuration device obtains the new one or more image information to be configured; and if the color information of at least one piece of image information to be configured in the one or more pieces of image information to be configured is matched with the color information of one or more pieces of image information in the photo wall, taking the position information of one of the one or more pieces of image information in the photo wall as the configuration position information of the at least one piece of image information to be configured.
A third module 103, configured to configure the one or more pieces of image information to be configured to update the photo wall based on the configuration location information of each piece of image information to be configured in the photo wall. For example, the configuration device obtains configuration position information of image information to be configured, and embeds the image information to be configured into a photo wall based on the configuration position information to update the photo wall. And if the corresponding image information exists in the configuration position information, replacing the existing image information with the image information to be configured to update the photo wall.
In some embodiments, the initial atlas information includes system image information and/or non-system image information. The system picture comprises image information which is locally stored by a configuration device and/or acquired from other devices and is irrelevant to a participating user, the non-system picture comprises image information which is provided by an initiating user (such as a user providing image information at the bottom of a wall) and a participating user (such as a user providing a picture configured by the photo wall), the system image information is used for configuring the device to generate an initial photo wall when the non-system picture does not exist, the method also comprises complementing an album used for generating the photo wall when the configuration device cannot meet the photo wall based on the non-system image information, and alternative image information used for complementing the photo wall according to color information of a residual sub-region when the configuration device cannot meet the photo wall based on the non-system image information, for example, the system image information can be related image information locally stored by the configuration device, or can be obtained after certain processing (such as gray level conversion or marking as system image information) is performed according to partial image information of the non-system image information. On this basis, if the configuration device acquires one or more pieces of to-be-configured image information, the configuration device may replace the corresponding system image information with the to-be-configured image information, for example, in some embodiments, the initial atlas information includes the system image information; a second module 102, configured to obtain the new one or more pieces of to-be-configured image information, if at least one piece of to-be-configured image information in the one or more pieces of to-be-configured image information has corresponding one or more pieces of system image information, where color information of the one or more pieces of system image information matches color information of the corresponding to-be-configured image information, determine one piece of system image information in the one or more pieces of system image information as to-be-replaced system image information of the corresponding to-be-configured image information, and use position information of the to-be-replaced system image information in the photo wall as configuration position information of the to-be-configured image information; and a third module 103, configured to replace, according to the configuration location information, the corresponding system image information to be replaced with the at least one image information to be configured to update the photo wall. For example, based on a matching manner (such as a manner of same or similar color information or color ratio matching) between the image information and the sub-region, the configuration device matches the image information to be configured with the system image information in the photo wall, and the matching process is similar to the above matching process and is not described herein again. The method comprises the steps that configuration equipment determines one or more pieces of system image information corresponding to at least one piece of to-be-configured image information in the to-be-configured image information, one piece of system image information in the one or more pieces of system image information is used as to-be-replaced system image information, position information of the to-be-replaced system image information is used as configuration position information of the to-be-configured image information, the to-be-configured image information and the to-be-replaced system image information are replaced, and then the photo wall is updated. When all the system image information in the photo wall is replaced, the configuration device re-divides the sub-regions of the image information at the bottom of the wall so that the photo wall can contain more image information, for example, in some embodiments, the device further includes a fifth module 105 (not shown), if all the image information contained in the photo wall is non-system image information, re-divides the image information at the bottom of the wall into a plurality of sub-regions, wherein the number of the sub-regions before re-division is smaller than the number of the sub-regions after re-division, and the number of the sub-regions after re-division matches the total image number of the photo wall before re-division and the one or more image information to be configured, and the number of pixels of the wall bottom map; the module 101 is configured to reconfigure a photo wall related to image information of a wall bottom, where the photo wall is configured by the non-system image information and a plurality of system image information based on color distribution information of the wall bottom image information. For example, the configuration device detects that the image information included in the photo wall is non-system image information, the configuration device will re-divide the sub-regions of the image information at the bottom of the wall, the number of the divided sub-regions (for example, the area of 5 × 4 pixels is one sub-region) is greater than the number of the previous sub-regions (for example, the area of 5 × 5 pixels is one sub-region), the number of the sub-regions should be less than or equal to the number of pixels of the image information at the bottom of the wall, and the like, and the number of images that can be included in the re-divided sub-regions should be greater than or equal to the total number of images of the photo wall before re-division and the image information to be configured. The sub-regions after being re-divided are composed of non-system image information and part of system image information, and then the configuration equipment continues to acquire image information to be configured and replaces the system image information based on the image information to be configured to update the photo wall.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device selects 2000 system images from a system image set uploaded by a local storage/initiating user, the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, the sub-regions are sequentially divided from the upper left corner of the wall bottom image, then, the 2000 images are matched with the sub-regions in a gray scale matching mode, the position of one sub-region corresponding to each image (for example, the row and column from the upper left corner) is determined, and a corresponding photo wall is configured. Then, the configuration equipment acquires an image to be configured uploaded by a subsequent participant user, compares the image to be configured uploaded by the subsequent user with the system image, and determines one system image from the one or more system images as a system image to be replaced if the gray scale of the image to be configured is the same as or similar to that of one or more system images; and if the image to be configured does not have a system image with the same gray level in the photo wall, taking the system image with the similar gray level as the system image to be replaced, or adjusting the gray level of the image to be configured and then matching until the system image to be replaced is determined. Subsequently, the configuration device replaces the system image to be replaced with the image information to be configured. When 2000 images in the wall bottom map are all non-system images, subdividing the sub-regions of the wall bottom map, for example, dividing the sub-regions by taking 20 × 20 pixels as a unit, and dividing 2500 sub-regions, wherein the 2500 sub-regions are filled with 2000 original non-system images and 500 system images. And then, the configuration equipment continuously acquires the image to be configured uploaded by the participating user and replaces the system image in the photo wall. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a minimum unit of sub-regions is a pixel location.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device obtains 1900 images uploaded by the initiating user through the user equipment and other users participating in (such as operations like sharing praise and obtaining images of the user), the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, the sub-regions are sequentially divided from the upper left corner of the wall bottom image, 100 system images are selected from a system diagram set uploaded by the local storage/initiating user as supplementary legging 2000 images, then, the 2000 images are matched with the sub-regions in a gray scale matching mode, the position of one sub-region corresponding to each image is determined (such as rows and columns from the upper left corner), and a corresponding photo wall is configured. Then, the configuration equipment acquires an image to be configured uploaded by a subsequent participating user, compares the image to be configured uploaded by the subsequent user with the system image, and determines a system image from the one or more system images as a system image to be replaced if the gray scale of the image to be configured is the same as or similar to that of one or more system images; and if the image to be configured does not have a system image with the same gray level in the photo wall, taking the system image with the similar gray level as the system image to be replaced, or adjusting the gray level of the image to be configured and then matching until the system image to be replaced is determined. Subsequently, the configuration device replaces the system image to be replaced with the image information to be configured. When 2000 images in the wall bottom map are all non-system images, subdividing the sub-regions of the wall bottom map, for example, dividing the sub-regions by taking 20 × 20 pixels as a unit, and dividing 2500 sub-regions, wherein the 2500 sub-regions are filled with 2000 original non-system images and 500 system images. And then, the configuration equipment continuously acquires the image to be configured uploaded by the participating user and replaces the system image in the photo wall. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a minimum unit of sub-regions is a pixel location.
In some embodiments, the initial atlas information includes only non-system image information. The second module 102 is configured to, if a predetermined number of pieces of image information to be configured are obtained, re-divide the wall bottom image information into a plurality of sub-regions, where the number of sub-regions before re-division is smaller than the number of sub-regions after re-division, and the number of sub-regions after re-division matches the total number of images of the photo wall and the plurality of pieces of image information to be configured before re-division, and the number of pixels of the wall bottom image information; determining configuration position information of each image information and each image information to be configured in the photo wall after the picture wall is divided again based on the color information of each image information in the photo wall before the picture wall is divided again and the color information of each image information to be configured in the plurality of image information to be configured; the third module 103 is configured to configure the image information of the photo wall before the repartitioning and the plurality of pieces of image information to be configured to update the photo wall based on the each piece of image information and the configuration position information of each piece of image information to be configured in the repartitioned photo wall. For example, when the configuration device completes configuration of a corresponding photo wall based on an initial atlas formed by non-system image information, subsequently, the configuration device obtains other non-system image information, when the subsequently obtained non-system image information reaches a certain number threshold, the configuration device re-divides the corresponding sub-regions, the number of the divided sub-regions is greater than that of the sub-regions before division, and the number of the divided sub-regions is in a certain proportion to the total number of the non-system image information. The number threshold may be set by the initiating user, or may be generated by the system according to the number of pixels of the current sub-region and the wall bottom image information.
For example, an initiating user uploads wall bottom image information with 1000 × 1000 pixels through user equipment, a configuration device obtains 2000 images uploaded by the initiating user through the user equipment and other users participating in operations (such as sharing praise, obtaining images thereof, and the like), the configuration device divides the wall bottom image information into sub-regions with 20 × 25 pixels as a unit region, sequentially divides the sub-regions from the upper left corner of the wall bottom image, matches the 2000 images with the sub-regions in a gray matching manner, determines the position of one sub-region corresponding to each image (such as the rows and columns from the upper left corner), and configures a corresponding photo wall. Then, the configuration device obtains images to be configured uploaded by subsequent participating users, the number of the images to be configured uploaded by the subsequent users reaches a certain number threshold (such as 500), the sub-regions of the wall bottom map are re-divided, for example, 20 × 20 pixels are taken as a unit to divide the sub-regions, 2500 sub-regions are divided, the 2500 images are matched with the sub-regions based on a gray level matching mode, the position of one sub-region corresponding to each image (such as the row from the top left, the column from the top left, and the like) is determined, and the divided photo wall is configured. And then, after the configuration equipment continuously acquires the images to be configured uploaded by the participating users and reaches a certain number, the sub-regions are re-divided, and the like. The process loops until the number of sub-regions of the photo wall reaches an upper limit, such as an upper limit set by the initiating user (e.g., 10000, i.e., 10 × 10 pixels for a sub-region, etc.) or a sub-region minimum unit is one pixel location.
In some embodiments, each image information of the photo wall further includes image related information corresponding to the each image information; wherein the image-related information includes, but is not limited to: description information of each image information; original image information of the image information; user information corresponding to the image information, and the like. For example, each image information in the photo wall may further include description information of each image, such as a name of the image, a brief description of content, and the like; when the gray scale of the image information is adjusted in the process of configuring the photo wall, each image information may further include information related to the original image, such as attaching an access link related to the original image; if the image information source includes a plurality of different users in the process of configuring the photo wall, each image information may further include corresponding user information, such as a name, a contact way, a corresponding user homepage, device identification information of corresponding user equipment, other social application accounts of the user, and the like.
For example, a merchant uploads a wall map containing a corresponding commodity, and the configuration device collects images related to each participating user by collecting operations of each user about the dynamic approval, sharing, forwarding and the like (for example, the user actively uploads or takes a user avatar as a configuration image), and then configures a corresponding photo wall by using the wall map information of the merchant and the user-related image, where the configuration image of the photo wall may further contain image information related to the commodity. Here, by enlarging the photo wall, the name and brief description information related to the commodity can be viewed while the image information related to the commodity is viewed, and the access link of the original image of the commodity, even the purchase or discount access link page of the commodity and the like can be viewed; the image uploaded by the user can be magnified to view the name of the image, the name of the user, a homepage and access links, social accounts, contact ways of other user related information, device identification information of corresponding user equipment and the like.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information, where the user information includes device-related information of user equipment of each user; the device further includes a sixth module 106 (not shown) for sending configuration location information of corresponding image information in the photo wall to the user device of each user based on the device-related information of the user device of each user. For example, each piece of image information includes device-related information (e.g., device identification information or a mobile phone number) of user equipment of a corresponding user, through the device-related information, the configuration device may further obtain a third-party application account (e.g., a social application account) corresponding to the device-related information of the user equipment, and the configuration device sends location information (e.g., the first row and the second row of the current photo wall) of each piece of image information to the corresponding user equipment through communication connection with each piece of user equipment, for example, sends the corresponding location information in an application or sends the location information in a short message manner, and may also send the location information through a third-party application. And if the current photo wall is updated and the position of each image information is changed, the configuration equipment sends the changed position information to each user equipment. The process enhances the interaction between the user and the dynamic state, the interaction is strong in the generation process of the photo wall, the participation sense of the user is strong, and the use experience of the user is improved.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information; the apparatus further includes a seventh module 107 (not shown) configured to generate corresponding photo wall identification information based on the photo wall, where the photo wall identification information includes each image information of the photo wall and user information corresponding to each image information. In some embodiments, the photo wall identification information includes, but is not limited to: link access information corresponding to the photo wall; two-dimensional code image information corresponding to the photo wall; and identifying image information corresponding to the photo wall. For example, the photo wall identification information may be access link information corresponding to a photo wall page, or two-dimensional code image information generated based on the access link information, or identification image information corresponding to the photo wall, where after the photo wall identification information is scanned, the user equipment may perform image matching in a photo wall database according to the identification image information to obtain related information of the photo wall; the photo wall identification information also includes image information in the photo wall and user information corresponding to the image information. Based on the photo wall identification information, the user can access and acquire corresponding photo wall information by using user equipment, and if the photo wall contains the user information of the user, the configuration equipment sends corresponding configuration position information to the user equipment of the user. As in some embodiments, the apparatus includes an eight module 108 (not shown) for receiving an access request sent by a first user device regarding the photo wall, wherein the access request includes the photo wall identification information; and if the first user information corresponding to the first user equipment comprises the user information corresponding to each image information, returning the photo wall and the configuration position information of the image information corresponding to the first user information in the photo wall to the first user equipment.
In some embodiments, the image-related information of each image information of the photo wall includes user information corresponding to each image information; the device further includes a nine-module 109 (not shown) configured to determine one or more preferred sub-areas in the photo wall according to a preset rule, and determine user information corresponding to image information included in the one or more preferred sub-areas. In some embodiments, the preset rules include, but are not limited to: randomly selecting; randomly selecting one or more sub-areas corresponding to certain color information; based on the popularization frequency of the user corresponding to each image information about the photo wall; and the number of the image information with the same corresponding user information in the image information in the photo wall is based on. For example, the configuration device configures a photo wall according to image information uploaded by different users, where the photo wall may be used for some preferred activities, for example, randomly extracting one or more sub-areas in the image information as preferred sub-areas, and determining corresponding users as preferred users; for another example, a certain one or more color information (such as a gray value) in the photo wall is randomly extracted, a sub-region corresponding to the one or more color information is used as a preferred sub-region, and a user corresponding to the preferred sub-region is determined as a preferred user; or determining the sub-regions corresponding to the user with more promotion frequency as the preferred sub-regions based on the promotion frequency of the user (such as the times of operations of uploading photos, praise, forwarding, commenting and the like by the user); or, based on the number of the image information uploaded by each user, for example, a sub-region with a larger number of image information corresponding to the same user information in the photo wall is taken as the preferred sub-region.
Fig. 4 illustrates an apparatus for photo wall configuration according to another aspect of the present application, wherein the apparatus includes two-in-one module 201, two-in-two module 202, two-in-three module 203, two-in-four module 204, two-in-five module 205, and two-in-six module 206. A second module 201, configured to determine color information of each image information in the initial atlas information corresponding to the photo wall; a second module 202, configured to divide the wall bottom image information of the photo wall into a plurality of sub-regions, where the number of the sub-regions matches the number of image information in the initial atlas information and the number of pixels of the wall bottom image information; a second and third module 203, configured to determine color distribution information of the wall bottom image information, where the color distribution information includes position information and color information of each sub-area; a second-fourth module 204, configured to determine a corresponding configuration manner according to color information of each image information in the initial atlas information and color distribution information of the wall bottom image information, where, based on the configuration manner, the color information of each sub-region in the wall bottom image information has corresponding color information in the initial atlas information, and a color ratio of the color information of each sub-region in the wall bottom image information is closest to a color ratio of the corresponding color information in the initial atlas information; a twenty-five module 205, configured to determine, according to the configuration manner, a sub-region where color information of each image information in the initial atlas information corresponds to the image information at the bottom of the wall; a twenty-six module 206, configured to place each image information in the initial atlas information in a sub-area corresponding to the wall bottom image information, and configure a photo wall related to the wall bottom image information.
For example, the configuration device may be a user device installed with a corresponding photo wall configuration application, and may also be a network device corresponding to the application; if the configuration device is a user device, the user device configures a photo wall according to color information of each image information in the initial atlas information, color distribution information in the wall map and the like based on the wall map, the initial atlas information (such as a plurality of pieces of locally stored image information) and the like; if the configuration device is a network device, the network device receives wall bottom image information uploaded by a user device corresponding to an initiating user and used for configuring the photo wall, the corresponding initial atlas information may be uploaded by the user device, or may be selected by the network device from a system atlas stored at a network terminal, or the network device divides the wall bottom image information into corresponding sub-regions, determines the corresponding initial atlas information (for example, each sub-region contains image information of corresponding color information, etc.) based on the color information of each sub-region, or the network device receives image information about photo wall configuration uploaded by other user devices. As in some embodiments, a configuration device obtains wall bottom image information and initial atlas information uploaded by a user for configuring a photo wall, wherein the initial atlas information includes a plurality of image information. The configuration device may configure, according to color information that is the same as, similar to, or corresponding to (e.g., corresponding to based on total color threshold matching) the color information of each image information in the initial atlas information and the corresponding region of the color distribution information in the image information at the bottom of the wall, each image information in the corresponding region to form a corresponding photo wall, and each region may configure one or more image information of the same as, similar to, or corresponding to the color information.
After acquiring wall bottom image information and initial atlas information corresponding to a photo wall, the configuration device acquires and configures the corresponding photo wall based on the wall bottom image information and the initial atlas information, for example, in some embodiments, the configuration device determines color information of each image information in the initial atlas information, and divides the wall bottom image information into a plurality of sub-regions, wherein the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image; determining color distribution information of the wall bottom image information, wherein the color distribution information comprises color information of each subregion; determining a subregion corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information; and placing each image information in the initial atlas information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information. For example, the configuration device determines color information of each image information in the initial atlas information, such as a Gray value (e.g., gray value Gray = R0.299 + g 0.587+ b 0.114, etc.) corresponding to an RGB value of each image information, a value of a certain component or an average value of a certain combination value, and such as an average value of H components or a certain combination value in HSV of each image information; the configuration device divides the wall bottom image information into a plurality of sub-regions according to the number of images of the initial image set information, the number of the sub-regions is matched with the number of images in the initial image set information (for example, the number of the sub-regions is less than or equal to the number of the images in the initial image set information), and the number of the sub-regions is matched with the number of pixels of the wall bottom image information, for example, the number of the sub-regions is less than or equal to the number of pixels of the wall bottom image information, and the size of the sub-regions is minimum by taking a pixel value as a unit, for example, each pixel is taken as one sub-region, or a 5 × 5 pixel range is taken as the sub-region, wherein the sub-region starting point can be any point in the wall bottom image information, for example, the upper left corner, the center or other points (for example, a user selected pixel point and the like) of the wall bottom image information are taken as the starting point, and the sub-region is diffused from the point to the whole wall bottom image information by taking the 5 × 5 pixels of the edge portion of the wall bottom image information with the insufficient sub-region, and the corresponding to the average value of the color information of the remaining portion of the remaining pixels can be taken as a region, or the remaining portion of the remaining pixel region can be directly deleted, and the remaining portion of the remaining portion can be used as a remaining portion. Then, the configuration device determines color distribution information of the wall bottom image information based on each divided sub-region, where the color distribution information includes position information and color information of each sub-region, such as an average gray value corresponding to an RGB value of each pixel of each sub-region, an average value of a certain component or an average value of a certain combination value, and also such as an average value of an H component in HSV of each pixel information of the sub-region or an average value of a certain combination value. Then, the configuration device determines, based on the color distribution information of the image information at the bottom of the wall and the color information of each image information in the initial image set, configuration position information at which each image information in the initial image set is configured in the photo wall, for example, matching (e.g., same, close, or in a certain matching manner) the color information of each subregion in the image information at the bottom of the wall with the color information of each image information in the initial image set, and if the color information of a certain image information is the same as the color information of one or more subregions, selecting (e.g., randomly selecting or according to a certain rule) a position corresponding to one subregion as the configuration position information of the image information, where the image information in the initial image set may not have corresponding matching position information because of no matching subregion, or the image information of the same color information may lack image information corresponding color information due to too many subregions in number so as to reuse the image information of the corresponding color information, or achieve saturation of the position of the photo wall by adjusting the color information of other image information (e.g., image information not matched) so as to achieve saturation of the position of the photo wall; each sub-region may be configured with the same number of image information, and the number of configured images is related to the number of pixels of the sub-region, if the smaller of the number of images and the number of pixels of the sub-region can be divided by the larger, for example, a 4 × 4 pixel region may be configured with one image information (for example, each image information occupies 4 × 4 pixels, etc.), two image information (for example, each image information occupies 4 × 2 pixels, etc.), 4 image information (for example, each image information occupies 2 pixels, etc.), or 16 image information (for example, each image information occupies one pixel, etc.), or even 32 image information (wherein each image information occupies one sub-pixel precision, etc.). And the configuration equipment embeds each image information into the corresponding configuration position so as to configure the finished photo wall. The color distribution information of the photo wall is consistent with the color distribution information of the image information at the bottom of the wall, the original color distribution of the image information at the bottom of the wall is reserved, the use experience of a user is improved, and the smaller the sub-area division is, the closer the original color distribution information of the image information at the bottom of the wall is to the original color distribution information of the image information at the bottom of the wall.
In some embodiments, the configuration device calculates the matching mode according to the color information distribution of the bottom image of the photo wall and the color information distribution of the initial atlas, wherein the matching process is as follows:
knowing two distributions in a dimension, for example, two distributions about gray values (assuming gray values range from 0 to 255, integer, white 255 and black 0) can be used in this example, the gray value of each sub-area in the photo wall map is calculated
Figure 783755DEST_PATH_IMAGE003
Calculating a gray value in the gray distribution of the image in the initial image set
Figure 116779DEST_PATH_IMAGE004
So that the gray value in the picture wall bottom map is less than
Figure 776430DEST_PATH_IMAGE003
The ratio of the sub-regions to the gray value in the gray distribution of the image set is less than
Figure 735159DEST_PATH_IMAGE004
Are equally scaled. In the continuous case, the value range of the proportion is inevitably [0,1 ]]Therefore to each one
Figure 796656DEST_PATH_IMAGE003
Necessarily with strict satisfaction
Figure 815427DEST_PATH_IMAGE004
When discrete cases, one can take the nearest y. I.e. for each
Figure 962375DEST_PATH_IMAGE003
All need to find one
Figure 459215DEST_PATH_IMAGE004
So that it satisfies the following formula.
Figure 375219DEST_PATH_IMAGE005
(6)
Wherein, the first and the second end of the pipe are connected with each other,
Figure 814159DEST_PATH_IMAGE006
representing the grey value of the wall bottom graph of the photo as
Figure 448403DEST_PATH_IMAGE007
The statistical value of the number of the sub-regions,
Figure 748934DEST_PATH_IMAGE008
the total number of sub-regions in the photo wall map,
Figure 519444DEST_PATH_IMAGE009
representing a gray scale value of
Figure 145598DEST_PATH_IMAGE010
The statistical value of the number of images of (2),
Figure 267137DEST_PATH_IMAGE011
the total number of images in the image set. Based on the mode, a corresponding matching mode can be obtained, and one or more sub-regions corresponding to the image information are determined, so that the corresponding configuration position information is determined. Subsequently, the configuration device may embed the image information in the album information into the position of the corresponding sub-area, and configure the corresponding photo wall.
In some embodiments, the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information further include: and the configuration equipment converts the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, places each converted image information in the subarea corresponding to the wall bottom image information, and configures the photo wall related to the wall bottom image information. For example, the images in the initial map set may not have corresponding matching position information because there are no matching sub-regions, or the number of sub-regions with the same color information is too large and lacks image information of corresponding color information, so that the image information of corresponding color information is recycled, or the saturation of the position of the photo wall is realized by adjusting the color information of other image information (such as image information which is not matched); or, based on the matching manner, if there is image information with the same color information for some sub-regions, that is, x = y, then directly embedding the corresponding image information into the position where the corresponding sub-region is located, if the corresponding x ≠ y, converting the gray value y of the image information into the gray value x of the corresponding sub-region (the average gray value in the image information is y, and for the pixel points whose gray values are not y, converting the gray value y into the corresponding pixel value according to the corresponding proportion), and embedding the converted image information into the position where the corresponding sub-region is located to complete the configuration of the photo wall.
In addition to the methods and apparatus described in the embodiments above, the present application also provides a computer readable storage medium storing computer code that, when executed, performs the method as described in any of the previous items.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 5 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as shown in FIG. 5, the system 300 can be implemented as any of the above-described devices in the various embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used to load and store data and/or instructions for system 300, for example. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. As such, the software programs (including associated data structures) of the present application can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the forms of computer program instructions that reside on a computer-readable medium include, but are not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules or other data may be embodied in a modulated data signal, such as a carrier wave or similar mechanism that is embodied in a wireless medium, such as part of spread-spectrum techniques, for example. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, feRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (30)

1. A method for real-time dynamic configuration of a photo wall, wherein the method comprises:
configuring a photo wall related to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information;
acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured;
configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall;
wherein the initial atlas information comprises system image information and/or non-system image information;
if the initial atlas information includes system image information, the obtaining of new one or more pieces of image information to be configured, and the determining of configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured include:
acquiring the new one or more pieces of image information to be configured;
if at least one piece of to-be-configured image information in the one or more pieces of to-be-configured image information has one or more pieces of system image information corresponding to the to-be-configured image information, the color information of the one or more pieces of system image information is matched with the color information of the corresponding to-be-configured image information, one piece of system image information in the one or more pieces of system image information is determined as to-be-replaced system image information of the corresponding to-be-configured image information, and the position information of the to-be-replaced system image information in the photo wall is used as the configuration position information of the to-be-configured image information;
wherein the configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall comprises:
replacing the corresponding image information of the system to be replaced by the at least one image information to be configured according to the configuration position information to update the photo wall;
or, if the initial atlas information only includes non-system image information; the acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured includes:
if a plurality of pieces of image information to be configured in a preset number are acquired, the wall bottom image information is divided into a plurality of sub-areas again, wherein the number of the sub-areas before being divided again is smaller than that of the sub-areas after being divided again, and the number of the sub-areas after being divided again is matched with the total image number of the photo wall before being divided again and the plurality of pieces of image information to be configured and the pixel number of the wall bottom image information;
determining configuration position information of each image information and each image information to be configured in the photo wall after the photo wall is divided again based on the color information of each image information in the photo wall before the photo wall is divided again and the color information of each image information to be configured in the plurality of image information to be configured;
wherein the configuring the one or more pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information to be configured in the photo wall includes:
and configuring the image information of the photo wall before the subdivision and the plurality of pieces of image information to be configured to update the photo wall based on the each piece of image information and the configuration position information of each piece of image information to be configured in the photo wall after the subdivision.
2. The method of claim 1, wherein the method further comprises:
the method comprises the steps of obtaining wall bottom image information and initial atlas information which are uploaded by a user and used for configuring a photo wall, wherein the initial atlas information comprises a plurality of image information.
3. The method of claim 1 or 2, wherein the configuring the photo wall with respect to the wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information, comprises:
determining color information of each image information in the initial atlas information;
dividing the wall bottom image information into a plurality of sub-regions, wherein the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image information;
determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subregion;
determining a subarea corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information;
and placing each image information in the initial atlas information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information.
4. The method according to claim 3, wherein the determining the sub-region corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information comprises:
determining a corresponding configuration mode according to color information of each image information in the initial atlas information and color distribution information of the wall bottom image information, wherein based on the configuration mode, corresponding color information exists in the initial atlas information for the color information of each sub-region in the wall bottom image information, and the color proportion of the color information of each sub-region in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information;
and determining the sub-regions corresponding to the image information in the initial atlas information in the image information at the bottom of the wall according to the configuration mode.
5. The method according to claim 3, wherein the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information, configuring a photo wall about the wall bottom image information, further comprises:
and converting the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, placing each converted image information in the subarea corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information.
6. The method according to claim 1, wherein the obtaining of new one or more pieces of image information to be configured and determining, based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured, configuration position information of each piece of image information to be configured in the photo wall includes:
acquiring the new one or more pieces of image information to be configured;
and if the color information of at least one piece of image information to be configured in the one or more pieces of image information to be configured is matched with the color information of one or more pieces of image information in the photo wall, taking the position information of one of the one or more pieces of image information in the photo wall as the configuration position information of the at least one piece of image information to be configured.
7. The method of claim 1, wherein the method further comprises:
if the image information contained in the photo wall is non-system image information, the wall bottom image information is divided into a plurality of sub-areas again, wherein the number of the sub-areas before being divided again is smaller than that of the sub-areas after being divided again, and the number of the sub-areas after being divided again is matched with the total image number of the photo wall before being divided again and the one or more image information to be configured and the pixel number of the wall bottom image information;
wherein the configuring of the photo wall regarding the wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information, includes:
reconfiguring a photo wall regarding wall bottom image information, wherein the photo wall is configured by the non-system image information and a plurality of system image information based on color distribution information of the wall bottom image information.
8. The method of claim 1, wherein each image information of the photo wall further comprises image related information corresponding to each image information;
wherein the image-related information comprises at least any one of:
description information of each image information;
original image information of the image information;
and user information corresponding to the image information.
9. The method of claim 8, wherein the image-related information of each image information of the photo wall includes user information corresponding to each image information, wherein the user information includes device-related information of a user device of each user;
wherein the method further comprises:
and sending the configuration position information of the corresponding image information in the photo wall to the user equipment corresponding to each user based on the equipment related information of the user equipment of each user.
10. The method of claim 8, wherein the image-related information of each image information of the photo wall includes user information corresponding to each image information;
wherein the method further comprises:
and generating corresponding photo wall identification information based on the photo wall, wherein the photo wall identification information comprises each image information of the photo wall and user information corresponding to each image information.
11. The method of claim 10, wherein the method further comprises:
receiving an access request about the photo wall sent by a first user device, wherein the access request comprises the photo wall identification information;
and if the first user information corresponding to the first user equipment comprises the user information corresponding to each image information, returning the photo wall and the configuration position information of the image information corresponding to the first user information in the photo wall to the first user equipment.
12. The method of claim 10 or 11, wherein the photo wall identification information comprises at least any one of:
link access information corresponding to the photo wall;
the two-dimensional code image information corresponding to the photo wall;
and identifying image information corresponding to the photo wall.
13. The method of claim 8, wherein the image-related information of each image information of the photo wall includes user information corresponding to each image information;
wherein the method further comprises:
and determining one or more preferred sub-areas in the photo wall according to a preset rule, and determining user information corresponding to the image information contained in the one or more preferred sub-areas.
14. The method of claim 13, wherein the preset rule comprises at least any one of:
randomly selecting;
randomly selecting one or more sub-areas corresponding to certain color information;
based on the popularization frequency of the user corresponding to each image information about the photo wall;
and the number of the image information with the same user information in the image information in the photo wall is based on.
15. An apparatus for real-time dynamic configuration of a photo wall, wherein the apparatus comprises:
a one-to-one module for configuring a photo wall related to wall bottom image information, wherein the photo wall is configured by corresponding initial atlas information based on color distribution information of the wall bottom image information;
the second module is used for acquiring new one or more pieces of image information to be configured, and determining configuration position information of each piece of image information to be configured in the photo wall based on color information of each piece of image information to be configured in the one or more pieces of image information to be configured;
a third module, configured to configure the one or more pieces of image information to be configured to update the photo wall based on configuration location information of each piece of image information to be configured in the photo wall;
wherein the initial atlas information comprises system image information and/or non-system image information;
if the initial atlas information comprises system image information, the second module and the third module are used for acquiring the new image information to be configured or the new image information to be configured; if at least one piece of to-be-configured image information in the one or more pieces of to-be-configured image information has one or more pieces of system image information corresponding to the to-be-configured image information, the color information of the one or more pieces of system image information is matched with the color information of the corresponding to-be-configured image information, one piece of system image information in the one or more pieces of system image information is determined as to-be-replaced system image information of the corresponding to-be-configured image information, and the position information of the to-be-replaced system image information in the photo wall is used as the configuration position information of the to-be-configured image information; the three modules are used for replacing the corresponding image information of the system to be replaced by the at least one image information to be configured according to the configuration position information so as to update the photo wall;
or, if the initial atlas information only includes non-system image information; the second module and the third module are used for dividing the wall bottom image information into a plurality of sub-areas again if a predetermined number of pieces of image information to be configured are obtained, wherein the number of the sub-areas before being divided again is smaller than that of the sub-areas after being divided again, and the number of the sub-areas after being divided again is matched with the total image number of the photo wall and the plurality of pieces of image information to be configured before being divided again and the pixel number of the wall bottom image information; determining configuration position information of each image information and each image information to be configured in the photo wall after the picture wall is divided again based on the color information of each image information in the photo wall before the picture wall is divided again and the color information of each image information to be configured in the plurality of image information to be configured;
the three modules are used for configuring the image information of the photo wall before the picture is re-divided and the plurality of pieces of image information to be configured to update the photo wall based on the configuration position information of each piece of image information and each piece of image information to be configured in the photo wall after the picture is re-divided.
16. The apparatus of claim 15, wherein the apparatus further comprises:
the system comprises a fourth module and a fourth module, wherein the fourth module is used for acquiring wall bottom image information and initial atlas information which are uploaded by a user and used for configuring a photo wall, and the initial atlas information comprises a plurality of image information.
17. The apparatus of claim 15 or 16, wherein the one-to-one module is configured to:
determining color information of each image information in the initial image set information;
dividing the wall bottom image information into a plurality of sub-regions, wherein the number of the sub-regions is matched with the number of the image information in the initial atlas information and the number of pixels of the wall bottom image information; determining color distribution information of the wall bottom image information, wherein the color distribution information comprises position information and color information of each subregion;
determining a subarea corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information;
and placing each image information in the initial atlas information in a subregion corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information.
18. The apparatus of claim 17, wherein the determining the sub-region corresponding to each image information based on the color information of each image information in the initial atlas information and the color distribution information of the image information at the bottom of the wall comprises:
determining a corresponding configuration mode according to the color information of each image information in the initial atlas information and the color distribution information of the wall bottom image information, wherein based on the configuration mode, the color information of each sub-region in the wall bottom image information has corresponding color information in the initial atlas information, and the color proportion of the color information of each sub-region in the wall bottom image information is closest to the color proportion of the corresponding color information in the initial atlas information;
and determining the sub-regions corresponding to the image information in the initial atlas information in the image information at the bottom of the wall according to the configuration mode.
19. The apparatus of claim 17, wherein the placing each image information in the initial atlas information in a sub-region corresponding to the wall bottom image information configures a photo wall about the wall bottom image information, further comprising:
and converting the color information of each image information in the initial atlas information into the color information of the subarea corresponding to the wall bottom image information, placing each converted image information in the subarea corresponding to the wall bottom image information, and configuring a photo wall related to the wall bottom image information.
20. The apparatus of claim 15, wherein the two modules are to:
acquiring the new one or more pieces of image information to be configured;
and if the color information of at least one piece of image information to be configured in the one or more pieces of image information to be configured is matched with the color information of one or more pieces of image information in the photo wall, taking the position information of one of the one or more pieces of image information in the photo wall as the configuration position information of the at least one piece of image information to be configured.
21. The apparatus of claim 15, wherein the apparatus further comprises:
a fifth module, configured to, if all the image information included in the photo wall is non-system image information, re-divide the wall bottom image information into a plurality of sub-regions, where the number of sub-regions before re-division is smaller than the number of sub-regions after re-division, and the number of sub-regions after re-division matches the total image number of the photo wall and the one or more pieces of image information to be configured before re-division, and the pixel number of the wall bottom image information;
wherein the one-to-one module is configured to:
reconfiguring a photo wall regarding wall bottom image information, wherein the photo wall is configured by the non-system image information and a plurality of system image information based on color distribution information of the wall bottom image information.
22. The apparatus of claim 15, wherein each image information of the photo wall further comprises image-related information corresponding to the each image information;
wherein the image-related information comprises at least any one of:
description information of each image information;
original image information of the image information;
and user information corresponding to the image information.
23. The apparatus of claim 22, wherein the image-related information of each image information of the photo wall includes user information corresponding to the each image information, wherein the user information includes apparatus-related information of a user apparatus of each user;
wherein the apparatus further comprises:
and the six modules are used for sending the configuration position information of the corresponding image information in the photo wall to the user equipment corresponding to each user based on the equipment related information of the user equipment of each user.
24. The apparatus of claim 22, wherein the image-related information of each image information of the photo wall includes user information corresponding to the each image information;
wherein the apparatus further comprises:
and the seventh module is used for generating corresponding photo wall identification information based on the photo wall, wherein the photo wall identification information comprises each image information of the photo wall and user information corresponding to each image information.
25. The apparatus of claim 24, wherein the apparatus further comprises an eight module for:
receiving an access request about the photo wall sent by a first user device, wherein the access request comprises the photo wall identification information;
and if the first user information corresponding to the first user equipment comprises the user information corresponding to each image information, returning the photo wall and the configuration position information of the image information corresponding to the first user information in the photo wall to the first user equipment.
26. The apparatus of claim 24 or 25, wherein the photo wall identification information comprises at least any one of:
link access information corresponding to the photo wall;
the two-dimensional code image information corresponding to the photo wall;
and identifying image information corresponding to the photo wall.
27. The apparatus of claim 22, wherein the image-related information of each image information of the photo wall includes user information corresponding to the each image information;
wherein the apparatus further comprises:
and the nine modules are used for determining one or more preferred sub-areas in the photo wall according to preset rules and determining user information corresponding to the image information contained in the one or more preferred sub-areas.
28. The apparatus of claim 27, wherein the preset rule comprises at least any one of:
randomly selecting;
randomly selecting one or more sub-areas corresponding to certain color information;
based on the popularization frequency of the user corresponding to each image information about the photo wall;
and the number of the image information with the same user information in the image information in the photo wall is based on.
29. An electronic device, wherein the device comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method of any one of claims 1 to 14.
30. A computer-readable medium storing instructions that, when executed, cause a system to perform the operations of any of claims 1 to 14.
CN201910019355.8A 2019-01-09 2019-01-09 Method and equipment for carrying out real-time dynamic configuration on photo wall Active CN109816753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910019355.8A CN109816753B (en) 2019-01-09 2019-01-09 Method and equipment for carrying out real-time dynamic configuration on photo wall

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910019355.8A CN109816753B (en) 2019-01-09 2019-01-09 Method and equipment for carrying out real-time dynamic configuration on photo wall

Publications (2)

Publication Number Publication Date
CN109816753A CN109816753A (en) 2019-05-28
CN109816753B true CN109816753B (en) 2022-10-21

Family

ID=66603313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910019355.8A Active CN109816753B (en) 2019-01-09 2019-01-09 Method and equipment for carrying out real-time dynamic configuration on photo wall

Country Status (1)

Country Link
CN (1) CN109816753B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739697A (en) * 2008-11-25 2010-06-16 王源源 Synthesis method of picture mosaic pattern and system therefor
JP2016018541A (en) * 2014-07-11 2016-02-01 株式会社Six Data generation device and program
CN107133920A (en) * 2017-06-13 2017-09-05 华侨大学 A kind of automatic generation method of the mosaic of view-based access control model feature
CN107767340A (en) * 2017-10-26 2018-03-06 厦门理工学院 The synthesis preparation method of electronic photo

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739697A (en) * 2008-11-25 2010-06-16 王源源 Synthesis method of picture mosaic pattern and system therefor
JP2016018541A (en) * 2014-07-11 2016-02-01 株式会社Six Data generation device and program
CN107133920A (en) * 2017-06-13 2017-09-05 华侨大学 A kind of automatic generation method of the mosaic of view-based access control model feature
CN107767340A (en) * 2017-10-26 2018-03-06 厦门理工学院 The synthesis preparation method of electronic photo

Also Published As

Publication number Publication date
CN109816753A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN113741698B (en) Method and device for determining and presenting target mark information
CN109472264B (en) Method and apparatus for generating an object detection model
CN110827061B (en) Method and equipment for providing presentation information in novel reading process
CN106575158B (en) Environment mapping virtualization mechanism
CN110516678B (en) Image processing method and device
CN110175825B (en) Method and equipment for providing target information
CN111046164A (en) Method and equipment for updating book to be read
CN111159536B (en) Method and device for pushing presentation information in reading application
CN108595211B (en) Method and apparatus for outputting data
CN109272526B (en) Image processing method and system and electronic equipment
CN110795635B (en) Method and device for presenting books
CN110211017B (en) Image processing method and device and electronic equipment
CN113034658B (en) Method and device for generating model map
CN111523039A (en) Method and equipment for processing book update prompting request in reading application
JP2016224942A (en) System and method for optimizing image view binding
CN109816753B (en) Method and equipment for carrying out real-time dynamic configuration on photo wall
WO2024002064A1 (en) Method and apparatus for constructing three-dimensional model, and electronic device and storage medium
CN109657514B (en) Method and equipment for generating and identifying two-dimensional code
CN114419322B (en) Image instance segmentation method and device, electronic equipment and storage medium
CN110780955A (en) Method and equipment for processing emoticon message
KR20110092060A (en) Apparatus and method for generating mosaic image including text
CN114820988A (en) Three-dimensional modeling method, device, equipment and storage medium
CN114387402A (en) Virtual reality scene display method and device, electronic equipment and readable storage medium
WO2020125014A1 (en) Information processing method, server, terminal, and computer storage medium
CN110311945B (en) Method and equipment for presenting resource pushing information in real-time video stream

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 201210 7th Floor, No. 1, Lane 5005, Shenjiang Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: HISCENE INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 501 / 503-505, 570 shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203

Patentee before: HISCENE INFORMATION TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190528

Assignee: SHANGHAI LILITH TECHNOLOGY Corp.

Assignor: HISCENE INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2024980002950

Denomination of invention: A method and device for real-time dynamic configuration of photo walls

Granted publication date: 20221021

License type: Common License

Record date: 20240319