CN114520896A - Projection implementation method and device and electronic equipment - Google Patents

Projection implementation method and device and electronic equipment Download PDF

Info

Publication number
CN114520896A
CN114520896A CN202011298405.XA CN202011298405A CN114520896A CN 114520896 A CN114520896 A CN 114520896A CN 202011298405 A CN202011298405 A CN 202011298405A CN 114520896 A CN114520896 A CN 114520896A
Authority
CN
China
Prior art keywords
projection
frame
picture
target
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011298405.XA
Other languages
Chinese (zh)
Inventor
宁仲
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jimi Technology Co Ltd
Original Assignee
Chengdu Jimi 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 Chengdu Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN202011298405.XA priority Critical patent/CN114520896A/en
Publication of CN114520896A publication Critical patent/CN114520896A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut

Abstract

The application provides a projection implementation method, a projection implementation device and electronic equipment, wherein a plurality of projection frames are preset and stored, a target projection frame corresponding to a projection picture is determined from the plurality of pre-stored projection frames aiming at the projection picture to be projected, a projection image is formed by utilizing the target projection frame and the projection picture, the target projection frame in the projection image surrounds the periphery of the projection picture, and finally the projection image is projected to a projection surface. In this way, the projection frame is arranged on the periphery of the projection picture, so that the projection image with the frame is presented, the presentation form of the projection image is enriched, and some specific requirements of a user are met in a targeted manner.

Description

Projection implementation method and device and electronic equipment
Technical Field
The application relates to the technical field of projection, in particular to a projection implementation method and device and electronic equipment.
Background
With the development of projection technology, projection devices are increasingly widely used in people's daily life and work. Nowadays, more and more households choose to use projection devices for television broadcasting, game projection, and the like, and in addition, projection devices are increasingly used by business personnel in daily offices. When the existing projection equipment projects a picture, the displayed projection image is single in presentation form, and some viewing requirements of a user during viewing are difficult to meet.
Disclosure of Invention
The application aims to provide a projection implementation method, a projection implementation device and an electronic device, which can enrich the presentation effect of a projected image.
The embodiment of the application can be realized as follows:
in a first aspect, the present application provides a method for implementing projection, where the method includes:
aiming at a projection picture to be projected, determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames;
forming a projection image by using the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture;
projecting the projection image to a projection surface.
In an alternative embodiment, the method further comprises:
and responding to the obtained adjustment instruction, and adjusting the size of a target projection frame and/or a projection picture contained in the projection image.
In an optional embodiment, the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction includes:
and responding to the obtained adjusting instruction, increasing the size of a target projection frame contained in the projection image and reducing the size of the projection picture, or reducing the size of the target projection frame contained in the projection picture and increasing the size of the projection picture.
In an optional embodiment, the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction includes:
and responding to the obtained adjustment instruction, and when the size of the projection image is smaller than the set maximum allowable size, adjusting the size of a target projection frame contained in the projection image and keeping the size of the projection picture unchanged.
In an optional embodiment, the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction includes:
responding to the obtained adjusting instruction, and obtaining the adjusted size of the target projection frame indicated by the adjusting instruction and/or the adjusted size of the projection picture;
and aiming at each pixel point to be inserted which is determined based on the adjusted size of the target projection frame or the projection picture, calculating to obtain the pixel value of the pixel point to be inserted according to the pixel value of the adjacent pixel point adjacent to the pixel point to be inserted, the coordinate value of each adjacent pixel point and the coordinate value of the pixel point to be inserted so as to obtain the target projection frame or the projection picture after the size adjustment.
In an optional embodiment, the step of determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames includes:
and identifying and obtaining the background color of the projection picture, and determining a target projection frame corresponding to the projection picture from a plurality of projection frames according to the color of each projection frame in the plurality of pre-stored projection frames.
In an alternative embodiment, the projection screen includes a plurality of frames, and the step of identifying and obtaining the background color of the projection screen includes:
identifying and obtaining the picture color of each frame of the projection picture;
and obtaining the picture color with the maximum ratio of the same picture color in the multi-frame projection pictures as the background color of the multi-frame projection pictures.
In an alternative embodiment, the pre-stored plurality of projection frames have a plurality of different frame shapes, and the step of determining the target projection frame corresponding to the projection picture from the pre-stored plurality of projection frames includes:
and determining a projection frame with the frame shape indicated by the selection information from a plurality of pre-stored projection frames according to the received selection information of the user, wherein the projection frame is used as a target projection frame corresponding to the projection picture.
In a second aspect, the present application provides a projection implementation apparatus, the apparatus comprising:
the determining module is used for determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames aiming at the projection picture to be projected;
the composition module is used for forming a projection image by using the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture;
and the projection module is used for projecting the projection image to a projection surface.
In a third aspect, the present application provides an electronic device comprising one or more storage media and one or more processors in communication with the storage media, the one or more storage media storing processor-executable machine-executable instructions that, when executed by the electronic device, are executed by the processors to perform the method steps of any one of the preceding embodiments.
The beneficial effects of the embodiment of the application include, for example:
the projection implementation method, the projection implementation device and the electronic equipment are characterized in that a plurality of projection frames are preset and stored, a target projection frame corresponding to a projection picture is determined from the plurality of pre-stored projection frames aiming at the projection picture to be projected, a projection image is formed by utilizing the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture, and finally the projection image is projected to a projection surface. In this way, the projection frame is arranged on the periphery of the projection picture, so that the projection image with the frame is presented, the presentation form of the projection image is enriched, and some specific requirements of a user are met in a targeted manner.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart of a projection implementation method provided in an embodiment of the present application;
FIG. 2 is one of schematic diagrams of a projected image provided by an embodiment of the present application;
fig. 3 is a second schematic diagram of a projection image provided in the embodiment of the present application;
fig. 4 is a third schematic diagram of a projection image provided in the embodiment of the present application;
FIG. 5 is a flowchart of a method for obtaining background colors of a projection screen in a value projection constitution provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a projection frame adjustment according to an embodiment of the present disclosure;
fig. 7 is a second schematic view illustrating adjustment of a projection frame according to an embodiment of the present application;
fig. 8 is a third schematic view illustrating adjustment of a projection frame according to an embodiment of the present disclosure;
fig. 9 is a fourth schematic view illustrating adjustment of a projection frame according to an embodiment of the present disclosure;
fig. 10 is a fifth schematic view illustrating adjustment of a projection frame according to an embodiment of the present application;
fig. 11 is a sixth schematic view illustrating adjustment of a projection frame according to an embodiment of the present application;
fig. 12 is a flowchart of an adjustment method in a projection implementation method provided in the embodiment of the present application;
fig. 13 is a functional block diagram of a projection implementation apparatus provided in the embodiment of the present application;
fig. 14 is a block diagram of an electronic device according to an embodiment of the present application.
Icon: 100-a projection implementation device; 110-a determination module; 120-a composition module; 130-a projection module; 210-a processor; 220-a memory; 230-bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inner", "outer", etc. are used to indicate an orientation or positional relationship based on that shown in the drawings or that the application product is usually placed in use, the description is merely for convenience and simplicity, and it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore should not be construed as limiting the present application.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Referring to fig. 1, a flowchart of a projection implementation method provided in an embodiment of the present application is shown, where the method may be performed by a projection device. It should be understood that, in other embodiments, the order of some steps in the projection implementation method described in this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The detailed steps of the projection implementation method are described as follows.
Step S110, for a projection picture to be projected, determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames.
And step S120, forming a projection image by using the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture.
Step S130, projecting the projection image onto a projection surface.
When projection equipment commonly used at present projects pictures, the projection pictures generally do not have frames, and compared with some users who are used to traditional televisions for a long time, the projection equipment is difficult to adapt to the projection pictures without frames compared with the traditional television pictures with frames. In addition, in some application scenarios, for example, when a presentation is explained by projection, the existing projection screen only contains the content of the presentation itself, and some settings cannot be made to enrich the projected projection screen.
Therefore, in this embodiment, a projection implementation method is provided, in which a projection frame may be arranged at the periphery of a projection picture, so that the projection picture may have a boundary feeling, which meets the requirements of some users watching traditional television pictures with frames, and the form of the projection picture may be enriched, so that the projection picture is more various.
Optionally, a plurality of alternative projection frames may be preset, and the plurality of projection frames may include projection frames with different colors and different shapes. The preset multiple projection frames are stored in a local database or other databases in communication with the projection device, which is not limited specifically.
The projection device may obtain content information to be projected according to a user instruction, for example, the content information may be a movie, a document, or the like stored in a storage device of the projection device, or the content information may be obtained by the projection device from another system or another device through a network.
Before projection of the picture, the projection equipment can determine a target projection frame from a plurality of pre-stored projection frames for the projection picture to be projected. The target projection frame is disposed at the periphery of the projection screen to constitute a projection image, and the projection image is projected onto the projection surface, as shown in fig. 2. In this way, the projection image presented on the projection surface is an image having a projection frame on the periphery of the projection screen. The method can play the purpose of enriching the presentation form of the projection image and can aim at meeting some specific requirements of users in a targeted manner.
In this embodiment, in order to further enrich the rendering effect of the projected image, the preset projection frame may include a plurality of different frame shapes, for example, the edge of the projection frame may be flat (as shown in fig. 2), or the edge of the projection frame may be wavy (as shown in fig. 3), or the edge of the projection frame may be jagged (as shown in fig. 4). In addition, various shapes can be set according to requirements, and the embodiment is not listed.
When a target projection frame corresponding to the projection picture is determined from a plurality of pre-stored projection frames, selection information input by a user may be acquired, the selection information indicating a frame shape of the projection frame required by the user. In this way, according to the received selection information of the user, the projection frame having the frame shape indicated by the selection information can be determined from the plurality of pre-stored projection frames as the target projection frame corresponding to the projection picture.
For example, when a user wants to project an animation, the edge of the projection frame may be selected to have a wavy frame shape so that the projected image of the projected animation has a boundary feeling and the projected image has a more vivid effect. Therefore, the projection frame with wavy edge is arranged on the periphery of the projection picture, so that the projected cartoon has active presentation effect.
For another example, when the user wants to project a presentation document, the edge of the projection frame may be selected to be a flat frame shape so that the projection screen can be as concise as possible while having a sense of boundary.
In addition, besides determining the frame shape according to the selection information of the user, the projection device can automatically select the corresponding frame shape according to the content information of the projection picture to be projected.
In this embodiment, by setting the projection frame having various different frame shapes, the user can select a corresponding frame shape according to the user's own needs, and the user's diversified needs are satisfied.
In this embodiment, the purpose of providing the projection frame on the periphery of the projection screen is to make the projection screen have a boundary feeling, and if the color of the projection frame is the same as the color of the projection screen, the projection frame cannot be distinguished from the projection screen when being displayed, and the boundary feeling cannot be reflected.
Therefore, in the present embodiment, when determining the target projection frame corresponding to the projection picture from the plurality of pre-stored projection frames, in an implementation manner, the background color of the obtained projection picture may be identified, and the target projection frame corresponding to the projection picture is determined from the plurality of projection frames according to the color of each of the plurality of pre-stored projection frames.
Alternatively, the background color of the projection picture may be determined based on the pixel values of the respective pixel points by obtaining the pixel values of the respective pixel points in the projection picture. For example, the pixel values of a plurality of pixel points in the projection picture are averaged, and the color represented by the obtained pixel average is used as the background color of the projection picture.
In one implementation, each pre-stored projection frame may have a single color, for example, for a certain projection frame, each pixel point included in the projection frame is a black pixel point, or is a white pixel point. In this case, the pixel values of the pixel points of the projection frames can be directly obtained.
In order to avoid that the color of the projection frame is too close to the color of the whole projection picture and is difficult to distinguish, the projection frame with the largest difference value between the pixel value and the pixel mean value of the projection picture is selected as the target projection frame from a plurality of pre-stored projection frames based on the background color of the projection picture. In this way, the determined color of the target projection frame is greatly different from the overall color of the projection picture, and can be well distinguished.
Or screening projection frames of which the difference value between the pixel value and the pixel mean value of the projection picture is greater than a preset threshold value from the plurality of projection frames, and randomly selecting one of the screened projection frames as a target projection frame. In this way, the determined color of the target projection frame and the color of the projection picture have a large difference, and the target projection frame and the projection picture can be well distinguished.
In another implementation manner, each pre-stored projection frame may have multiple colors, for example, for a certain projection frame, the projection frame may be formed by multiple pixel points with different pixel values, that is, the projection frame is a colored projection frame. Therefore, the display effect of the projection picture can be further enriched by utilizing the colorful projection frame.
In this case, after the pixel average value of the projection picture is obtained through calculation, the pixel average value of the projection frame can be obtained through calculation according to the pixel values corresponding to the pixel points included in the projection frame for each pre-stored projection frame. And selecting the projection frame with the largest difference value between the pixel mean value and the pixel mean value of the projection picture from the plurality of projection frames as a target projection frame. Or selecting a projection frame with the difference value between the pixel mean value and the pixel mean value of the projection picture exceeding a preset threshold value from the plurality of projection frames, and randomly determining a target projection frame from the screened projection frames.
In addition, when it is considered that the background color of the adjacent projection pictures may change greatly during implementation, if color matching is performed on each frame of projection picture, the color of the projection frame changes frequently, which may affect the viewing experience. Therefore, in this embodiment, in an implementation manner, processing may be performed on a multi-frame projection picture, which is performed in the following manner with reference to fig. 5:
and step S210, identifying and obtaining the picture color of each frame of the projection picture.
Step S220, obtaining a picture color with the largest ratio of the same picture color in the multi-frame projection pictures as a background color of the multi-frame projection pictures.
In this embodiment, the determination of the projection frame may be performed by taking the multi-frame projection pictures within a period of time as a whole, and the determined projection frame is taken as a common target projection frame of the multi-frame projection pictures. The period of time may be, for example, one minute, five minutes, or the like, and the multi-frame projection picture may be, for example, 30 frames, 50 frames, or the like, and may be specifically set according to actual requirements.
In this embodiment, for each frame of the multi-frame projection picture, the picture color of the projection picture can be calculated according to the pixel values of the pixel points included in the projection picture in the above manner. Then, the color ratio of the same picture in the multiple frames of pictures is obtained, for example, for 30 frames of projection pictures, if the above processing is performed, it is determined that the pixel mean of 20 frames of projection pictures is 200, wherein the pixel mean of 5 frames of projection pictures is 150, and wherein the pixel mean of 5 frames of projection pictures is 100. The largest picture color may be used as the background color of the multi-frame projection picture, for example, the picture color represented by the pixel mean 200 is used as the background color.
On the basis, the target projection frame is determined from the plurality of pre-stored projection frames according to the background colors of the plurality of frames of projection pictures. When the projection is performed, the target projection frame may be arranged at the periphery of each of the plurality of frames of projection pictures to form a corresponding projection image, and then the projection is performed.
Therefore, by determining the target projection frame as a whole aiming at the multi-frame continuous projection pictures, the problem that the actual viewing experience is influenced due to frequent change of the projection frame during projection can be avoided.
In this embodiment, besides the color and the shape of the projection frame, the size of the projection frame may be adjusted according to requirements, for example, the width of the projection frame is adjusted. Can be great with the width adjustment of projection frame, so, can strengthen the border between projection frame and the projection picture and feel, also can be less with the width adjustment of projection frame, so, can avoid the projection frame to occupy the more position of projection picture, lead to the final area of projection picture less, influence the problem of watching the effect.
Optionally, the user may send an adjustment instruction according to a need of the user, and the projection device may adjust a size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction.
In a possible embodiment, if the size of the projection image formed by the projection picture and the projection frame has reached the maximum size allowed, the maximum size allowed may be the maximum size of the image that can be projected by the projection device, for example, an image size corresponding to a pixel resolution of 1920 × 1080. In this case, if the size of the projection frame is to be adjusted, the size of the projection screen needs to be adjusted accordingly.
For example, when the size of the projected image has reached the maximum size allowed, the obtained adjustment instruction may be responded to increase the size of the target projection frame contained in the projected image and decrease the size of the projected picture. The size adjustment of the projection frame mainly refers to the adjustment of the width of the projection frame, and the size adjustment of the projection picture mainly refers to the adjustment of the area of the projection picture.
In this case, since the projected image has reached the maximum size allowed, when the width of the projection frame is increased, only the area of the projection screen from the inside of the projection frame can be expanded and increased, and therefore, it is necessary to reduce the area of the projection screen accordingly, as shown in fig. 6.
In addition, the size of a target projection frame contained in the projection image can be reduced and the size of the projection picture can be increased in response to the obtained adjustment instruction. In this case, when the width of the projection frame is reduced, the width can be reduced from the inside of the projection frame to the outside of the projection frame, and the area of the projection screen can be increased accordingly in order to allow the boundary of the projection screen and the boundary of the projection frame to be in contact with each other, as shown in fig. 7.
In addition, in the above case, when the width of the projection frame is reduced, the width of the projection frame may be reduced toward the outside of the projection frame, and the outside may be reduced toward the inside, so that the edge position of the inside of the projection frame does not change, and thus the area of the projection screen may be kept unchanged, as shown in fig. 8.
In another possible embodiment, if the size of the projection image formed by the projection picture and the projection frame is smaller than the maximum size allowed, in this case, the size of the target projection frame included in the projection image may be adjusted and the size of the projection picture may be kept unchanged in response to the obtained adjustment instruction.
For example, when the width of the projection frame needs to be increased in such a case, the size of the projected image does not reach the maximum allowable size, i.e., the outside of the projection frame has an expandable space. Therefore, the outer side of the projection frame can be expanded to the periphery to increase the width of the projection frame. Since the inner edge of the projection frame is not changed, the size of the projection screen can be maintained as shown in fig. 9.
In this case, when the width of the projection frame needs to be reduced, the outside or the inside of the projection frame is adjusted. For example, the outside of the projection frame can be adjusted to the inside, and in this case, the size of the projection screen can be kept unchanged, as shown in fig. 10. When the inner side of the projection frame is adjusted in the outer direction, the projection screen and the projection frame need to be in contact with each other at their boundaries, and therefore, the area of the projection screen needs to be increased, as shown in fig. 11.
In this embodiment, through the above manner, the projection frame can be adjusted in different application scenarios, and the projection picture can be correspondingly adjusted, so that the projection frame and the projection picture can be adapted in the adjusted projection picture.
In this embodiment, when the size of the projection frame or the projection screen is adjusted, the pixel points are substantially expanded based on their own pixel points.
Therefore, referring to fig. 12, in one implementation, the adjustment of the size of the target projection frame or the projection frame can be achieved by:
step S310, in response to the obtained adjustment instruction, obtains an adjusted size of the target projection frame and/or an adjusted size of the projection image, which are indicated by the adjustment instruction.
Step S320, for each pixel to be inserted determined based on the adjusted size of the target projection frame or the projection picture, calculating a pixel value of the pixel to be inserted according to a pixel value of an adjacent pixel adjacent to the pixel to be inserted, a coordinate value of each adjacent pixel, and a coordinate value of the pixel to be inserted, so as to obtain the size-adjusted target projection frame or the projection picture.
In this embodiment, the obtained adjustment instruction includes the adjusted size of the target projection frame specified by the user, or if the adjustment instruction is an adjustment instruction for the projection screen, the adjustment instruction may include the adjusted size of the projection screen. Based on the adjustment instruction, the pixel points of the target projection frame or the projection picture need to be adjusted, so that the finally adjusted target projection frame can meet the size indicated in the adjustment instruction, or the adjusted projection picture can meet the size indicated in the adjustment instruction.
In this embodiment, for the target projection frame, when adjusting the size, for example, when increasing the size of the target projection frame, a mode of additionally inserting pixel points is required, so that after the size of the target projection frame is increased, no blank pixel points appear in the image region. Therefore, based on the size to be achieved, the pixel points to be inserted can be determined, but each pixel point to be inserted is a blank pixel point. The pixel value of each pixel point to be inserted needs to be set, so that a pixel area with sudden change in the image is avoided.
For each pixel point to be inserted, adjacent pixel points of the pixel point to be inserted, for example, four adjacent pixel points of the pixel point to be inserted, namely, the upper left pixel point, the upper right pixel point, the lower left pixel point and the lower right pixel point, can be obtained. The pixel value and the coordinate value of each adjacent pixel point are known. In this case, the pixel value of the pixel point to be inserted can be calculated according to the calculation formula according to the position relationship between the pixel point to be inserted and the adjacent pixel point and the pixel value of the adjacent pixel point. Optionally, if the point to be inserted is Q (x, y), the four adjacent pixels are P1(x1, y1), P2(x1, y2), P3(x2, y1), and P4(x2, y2), respectively. The pixel values of the four adjacent pixels are known, and are f (P1), f (P2), f (P3) and f (P4). In this embodiment, the following calculation formula may be adopted to calculate the pixel value f (x, y) of the pixel point to be inserted:
Figure BDA0002786109700000131
in the projection implementation method provided by this embodiment, a projection frame is arranged on the periphery of a projection picture to form a projection image, and the projection image is projected onto a projection surface. The obtained projection image has boundary feeling and meets the watching requirements of users. Moreover, by arranging the projection frame, the display effect of the projected image can be enriched, and the requirement of a user on the diversified display effect of the projected image is met.
Furthermore, the shape, color, width and the like of the projection frame can be adjusted, and the diversified requirements of users can be further met.
Based on the same application concept, a projection implementation apparatus 100 corresponding to the projection implementation method is further provided in the embodiment of the present application, please refer to fig. 13, and since the principle of the apparatus in the embodiment of the present application to solve the problem is similar to the projection implementation method described above in the embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 13, a schematic diagram of a projection implementation apparatus 100 provided in the present application is shown, the apparatus including: a determination module 110, a composition module 120, and a projection module 130.
The determining module 110 is configured to determine, for a projection picture to be projected, a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames.
It is understood that the determining module 110 can be used to execute the step S110, and the detailed implementation of the determining module 110 can refer to the content related to the step S110.
A composition module 120, configured to compose a projection image by using the target projection frame and the projection picture, where the target projection frame in the projection image surrounds the projection picture.
It is understood that the constituting module 120 may be configured to perform the step S120, and for the detailed implementation of the constituting module 120, reference may be made to the content related to the step S120.
And a projection module 130, configured to project the projection image onto a projection surface.
It is understood that the projection module 130 can be used to perform the step S130, and for the detailed implementation of the projection module 130, reference can be made to the contents related to the step S130.
In a possible implementation manner, the projection implementation apparatus 100 may further include an adjusting module, where the adjusting module may be configured to:
and responding to the obtained adjusting instruction, and adjusting the size of a target projection frame and/or a projection picture contained in the projection image.
In a possible implementation manner, the adjusting module may specifically be configured to:
and responding to the obtained adjustment instruction, increasing the size of a target projection frame contained in the projection image and reducing the size of the projection picture, or reducing the size of the target projection frame contained in the projection picture and increasing the size of the projection picture.
In a possible implementation manner, the adjusting module may specifically be configured to:
and responding to the obtained adjustment instruction, and when the size of the projection image is smaller than the set maximum allowable size, adjusting the size of a target projection frame contained in the projection image and keeping the size of the projection picture unchanged.
In a possible implementation manner, the adjusting module may specifically be configured to:
responding to the obtained adjusting instruction, and obtaining the adjusted size of the target projection frame indicated by the adjusting instruction and/or the adjusted size of the projection picture;
and aiming at each pixel point to be inserted which is determined based on the adjusted size of the target projection frame or the projection picture, calculating to obtain the pixel value of the pixel point to be inserted according to the pixel value of the adjacent pixel point adjacent to the pixel point to be inserted, the coordinate value of each adjacent pixel point and the coordinate value of the pixel point to be inserted so as to obtain the target projection frame or the projection picture after the size adjustment.
In a possible implementation manner, the determining module 110 may specifically be configured to:
and identifying and obtaining the background color of the projection picture, and determining a target projection frame corresponding to the projection picture from a plurality of projection frames according to the color of each projection frame in the plurality of pre-stored projection frames.
In a possible implementation manner, the determining module 110 may specifically be configured to:
identifying and obtaining the picture color of each frame of the projection picture;
and obtaining the picture color with the maximum ratio of the same picture color in the multi-frame projection pictures as the background color of the multi-frame projection pictures.
In a possible implementation manner, the pre-stored multiple projection frames have multiple different frame shapes, and the determining module 110 may specifically be configured to:
and determining a projection frame with the frame shape indicated by the selection information from a plurality of pre-stored projection frames according to the received selection information of the user, wherein the projection frame is used as a target projection frame corresponding to the projection picture.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Referring to fig. 14, an embodiment of the present application further provides an electronic device, which may be the projection device described above. The electronic device includes: a processor 210, a memory 220, and a bus 230. The memory 220 stores machine-readable instructions executable by the processor 210, the processor 210 and the memory 220 communicating via the bus 230 when the electronic device is operating, the machine-readable instructions when executed by the processor 210 performing the following:
aiming at a projection picture to be projected, determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames;
forming a projection image by using the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture;
projecting the projection image to a projection surface.
Regarding the processes involved in the instructions executed by the processor 210 when the electronic device is running, reference may be made to the relevant description in the above method embodiments, and details are not described here.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 210, the computer program performs the steps of the projection implementation method.
To sum up, according to the projection implementation method, the projection implementation apparatus, and the electronic device provided by the application, a plurality of projection frames are preset and stored, for a projection picture to be projected, a target projection frame corresponding to the projection picture is determined from the plurality of pre-stored projection frames, and the target projection frame and the projection picture are utilized to form a projection image, wherein the target projection frame in the projection image surrounds the periphery of the projection picture, and finally the projection image is projected onto a projection surface. In this way, the projection frame is arranged on the periphery of the projection picture, so that the projection image with the frame is presented, the presentation form of the projection image is enriched, and some specific requirements of a user are met in a targeted manner.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A projection implementation method, the method comprising:
aiming at a projection picture to be projected, determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames;
forming a projection image by using the target projection frame and the projection picture, wherein the target projection frame in the projection image surrounds the periphery of the projection picture;
projecting the projection image to a projection surface.
2. The projection implementation method of claim 1, further comprising:
and responding to the obtained adjusting instruction, and adjusting the size of a target projection frame and/or a projection picture contained in the projection image.
3. The projection implementation method of claim 2, wherein the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction comprises:
and responding to the obtained adjusting instruction, increasing the size of a target projection frame contained in the projection image and reducing the size of the projection picture, or reducing the size of the target projection frame contained in the projection picture and increasing the size of the projection picture.
4. The projection implementation method of claim 2, wherein the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction comprises:
and responding to the obtained adjustment instruction, and when the size of the projection image is smaller than the set maximum allowable size, adjusting the size of a target projection frame contained in the projection image and keeping the size of the projection picture unchanged.
5. The projection implementation method of claim 2, wherein the step of adjusting the size of a target projection frame and/or a projection picture included in the projection image in response to the obtained adjustment instruction comprises:
responding to the obtained adjusting instruction, and obtaining the adjusted size of the target projection frame indicated by the adjusting instruction and/or the adjusted size of the projection picture;
and aiming at each pixel point to be inserted which is determined based on the adjusted size of the target projection frame or the projection picture, calculating to obtain the pixel value of the pixel point to be inserted according to the pixel value of the adjacent pixel point adjacent to the pixel point to be inserted, the coordinate value of each adjacent pixel point and the coordinate value of the pixel point to be inserted so as to obtain the target projection frame or the projection picture after the size adjustment.
6. The projection implementation method of claim 1, wherein the step of determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames comprises:
and identifying and obtaining the background color of the projection picture, and determining a target projection frame corresponding to the projection picture from a plurality of projection frames according to the color of each projection frame in the plurality of pre-stored projection frames.
7. The projection implementation method of claim 6, wherein the projection screen comprises a plurality of frames, and the step of identifying the background color of the projection screen comprises:
identifying and obtaining the picture color of each frame of the projection picture;
and obtaining the picture color with the maximum ratio of the same picture color in the multi-frame projection pictures as the background color of the multi-frame projection pictures.
8. The projection implementation method of claim 1, wherein a plurality of pre-stored projection frames have a plurality of different frame shapes, and the step of determining the target projection frame corresponding to the projection picture from the plurality of pre-stored projection frames comprises:
and determining a projection frame with the frame shape indicated by the selection information from a plurality of pre-stored projection frames according to the received selection information of the user, wherein the projection frame is used as a target projection frame corresponding to the projection picture.
9. A projection implementation apparatus, the apparatus comprising:
the determining module is used for determining a target projection frame corresponding to the projection picture from a plurality of pre-stored projection frames aiming at the projection picture to be projected;
the composition module is used for forming a projection image by using the target projection frame and the projection picture, and the target projection frame in the projection image surrounds the periphery of the projection picture;
and the projection module is used for projecting the projection image to a projection surface.
10. An electronic device, comprising one or more storage media and one or more processors in communication with the storage media, the one or more storage media storing processor-executable machine-executable instructions that, when executed by the electronic device, are executed by the processors to perform the method steps of any of claims 1-8.
CN202011298405.XA 2020-11-19 2020-11-19 Projection implementation method and device and electronic equipment Pending CN114520896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011298405.XA CN114520896A (en) 2020-11-19 2020-11-19 Projection implementation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011298405.XA CN114520896A (en) 2020-11-19 2020-11-19 Projection implementation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114520896A true CN114520896A (en) 2022-05-20

Family

ID=81595054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011298405.XA Pending CN114520896A (en) 2020-11-19 2020-11-19 Projection implementation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114520896A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279339A (en) * 2006-04-06 2007-10-25 Sharp Corp Method of projecting image
JP2007295049A (en) * 2006-04-21 2007-11-08 Casio Comput Co Ltd Projector, and video image projection method and program
CN103454841A (en) * 2012-06-04 2013-12-18 爱国者数码科技有限公司 Doll projector
CN105389804A (en) * 2015-10-22 2016-03-09 西交利物浦大学 Multifunctional indicator implementation method based on image processing
US20180315217A1 (en) * 2017-05-01 2018-11-01 Baris Merzeci Methods and systems of customized digital-image projection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279339A (en) * 2006-04-06 2007-10-25 Sharp Corp Method of projecting image
JP2007295049A (en) * 2006-04-21 2007-11-08 Casio Comput Co Ltd Projector, and video image projection method and program
CN103454841A (en) * 2012-06-04 2013-12-18 爱国者数码科技有限公司 Doll projector
CN105389804A (en) * 2015-10-22 2016-03-09 西交利物浦大学 Multifunctional indicator implementation method based on image processing
US20180315217A1 (en) * 2017-05-01 2018-11-01 Baris Merzeci Methods and systems of customized digital-image projection

Similar Documents

Publication Publication Date Title
CN111263174A (en) Live broadcast control method and device, electronic equipment, live broadcast system and storage medium
US10419744B2 (en) Techniques for user profiles for viewing devices
EP2573670B1 (en) Character display method and device
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN110149550B (en) Image data processing method and device and storage medium
CN113808120A (en) Image processing method, image processing device, electronic equipment and storage medium
CN103713832A (en) Display processing method and electronic devices
CN109302629B (en) Method for switching picture frames for pictures and display terminal
CN110858388B (en) Method and device for enhancing video image quality
CN113645476A (en) Picture processing method and device, electronic equipment and storage medium
CN105389308B (en) Webpage display processing method and device
CN106528161B (en) Terminal device, page display processing device and method
CN112700456A (en) Image area contrast optimization method, device, equipment and storage medium
CN114520896A (en) Projection implementation method and device and electronic equipment
CN107085521A (en) A kind of icon display method and device
TWI356394B (en) Image data generating device, image data generatin
CN105373363A (en) Display method and display device
JP2003140632A (en) Method and unit for image display
JP6837860B2 (en) Image display control device, image display control method, and image display control program
US10432901B2 (en) Content projection control apparatus, content projection control method and program
US11495151B2 (en) Illusion presentation system, and illusion presentation method
CN106873963A (en) Method and device for forming the background of computer video desktop
CN110858389B (en) Method, device, terminal and transcoding equipment for enhancing video image quality
CN113487497A (en) Image processing method and device and electronic equipment
CN109919845A (en) With aperture display image treatment method in screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220520