Projection correction method and device
By responding to the keystone correction trigger and displaying the projection correction animation in response to the keystone correction trigger, the visual impact problem caused by sudden changes in the projection image in the prior art is solved, and the user experience of the projection image smoothly transitioning from the trapezoid to the rectangle is realized.
Patent Information
- Application Number
- CN202311545050.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
During the projection correction process, the prior art causes users to observe that the projection screen suddenly changes from a trapezoid to a rectangle, causing visual impact and affecting the user experience.
In response to the trigger of keystone correction, the trapezoid projection is projected, and in the projection correction animation, the trapezoid projection animation is corrected into a rectangular projection, displaying the projection correction animation until the projection screen is corrected to the rectangular projection position, and then the rectangular projection screen is displayed at that position.
The user experience of the projected image smoothly transitioning from trapezoid to rectangular shape is realized, avoiding visual impact and improving the user experience of the product.
Smart Images

Figure CN120021244A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of projection technology, and in particular, to a projection correction method and device. Background Art
[0002] Currently, when using projector products, the projected image of the projector may not be parallel to the projection surface, resulting in a trapezoidal image. Digital trapezoid correction is used to process the image data software to correct the trapezoidal projected image into a rectangular projected image. When performing image correction, first, the coordinate data corresponding to the projection image coordinates adjusted by the DMD (Digital Micromirror Device) when the image is corrected into a rectangle is calculated, and then through the digital trapezoid correction interface, the above coordinate data is processed by an image software algorithm to achieve the effect of correcting the shape of the image.
[0003] In some related technologies, directly setting the final rectangular coordinate data to the digital trapezoid correction interface will cause the projected image observed by the user to instantly change from trapezoidal to rectangular, making the user feel very abrupt, resulting in a large visual impact on the user and affecting the user experience of the product. Summary of the Invention
[0004] In view of this, in order to solve the above technical problem of poor animation perception during projection correction, the present disclosure provides a projection correction method and device.
[0005] According to the first aspect of the embodiments of the present disclosure, a projection correction method is provided, and the projection correction method includes:
[0006] In response to the trigger of trapezoid correction, project a trapezoidal projection;
[0007] Correct the trapezoidal projection animation into a rectangular projection to present a projection correction animation, wherein the projection calibration screen in the projection correction animation continuously changes from the correction start position to the rectangular projection position after completion of correction;
[0008] Display a rectangular projection screen at the rectangular projection position.
[0009] In an optional embodiment, the correcting the trapezoidal projection animation into a rectangular projection to present a projection correction animation includes:
[0010] Present a first projection correction animation within the trapezoidal projection; wherein the projection calibration screen in the first projection correction animation continuously changes from the projection correction start position to coincide with the trapezoidal projection;
[0011] Based on the projection calibration screen that coincides with the trapezoidal projection, determine the rectangular projection position after correction;
[0012] A second projection correction animation is presented within the trapezoidal projection; wherein, the projection calibration screen in the second projection correction animation continuously changes from coinciding with the trapezoidal projection to the rectangular projection position.
[0013] In an alternative embodiment, presenting the first projection correction animation within the trapezoidal projection includes:
[0014] Invoking a calibration algorithm interface, and based on the calibration start position and the position where the trapezoidal projection is located, determining the projection position corresponding to the first projection correction animation in the current animation process information;
[0015] Presenting a projection calibration screen at the projection position corresponding to the current animation process information.
[0016] In an alternative embodiment, determining the corrected rectangular projection position based on the projection calibration screen that coincides with the trapezoidal projection includes:
[0017] Invoking a calibration algorithm interface, and parsing the projection calibration screen that coincides with the trapezoidal projection to obtain the rectangular projection position corresponding to the rectangular projection area.
[0018] In an alternative embodiment, presenting the second projection correction animation within the trapezoidal projection includes:
[0019] Invoking a calibration algorithm interface, and based on the position where the trapezoidal projection is located and the rectangular projection position, determining the projection position corresponding to the second projection correction animation in the current animation process information;
[0020] Presenting a projection calibration screen at the projection position corresponding to the current animation process information.
[0021] In an alternative embodiment, responding to the trigger of trapezoidal correction and projecting a trapezoidal projection includes:
[0022] Responding to the trigger of trapezoidal correction, and popping up a background mask layer; wherein, the background mask layer covers the view interface of the projection device;
[0023] When projecting the trapezoidal projection, the background mask layer synchronously covers the trapezoidal projection.
[0024] In an alternative embodiment, the background mask layer includes a black mask layer.
[0025] In an alternative embodiment, before displaying the rectangular projection screen at the rectangular projection position, it includes:
[0026] Presenting the projection calibration screen at the rectangular projection position as a zero-pixel screen.
[0027] In an alternative embodiment
[0028] The triggering of the response trapezoidal correction to project a trapezoidal projection includes:
[0029] In response to the triggering of the trapezoidal correction, call the digital trapezoidal correction interface to project a trapezoidal projection;
[0030] And / or,
[0031] The displaying of the rectangular projection screen at the rectangular projection position includes:
[0032] Call the digital trapezoidal correction interface to display the rectangular projection screen at the rectangular projection position.
[0033] According to a second aspect of the embodiments of the present disclosure, a projection correction device is provided. The device includes:
[0034] A trigger module for projecting a trapezoidal projection in response to the triggering of trapezoidal correction;
[0035] A correction module for correcting the trapezoidal projection animation into a rectangular projection to present a projection correction animation, wherein the projection calibration screen in the projection correction animation continuously changes from the correction start position to the rectangular projection position after the correction is completed;
[0036] A display module for displaying a rectangular projection screen at the rectangular projection position.
[0037] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: In the present disclosure, when performing projection correction, a trapezoidal projection is triggered at the start of the correction, and then a projection correction animation can be presented in the trapezoidal projection until the projection screen is corrected to the rectangular projection position where the rectangular projection area is located, and then the corrected rectangular projection screen is displayed at the rectangular projection position of the trapezoidal projection, thereby realizing projection correction. This method does not need to frequently call the digital trapezoidal correction interface, can display a smooth projection correction animation, and can achieve a user experience of the projection screen smoothly transitioning from a trapezoid to a rectangle.
[0038] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0040] Figure 1 is a flowchart of a projection correction method shown according to an exemplary embodiment.
[0041] Figure 1aIt is a schematic diagram of a trapezoidal projection covering a background mask layer shown according to an exemplary embodiment.
[0042] Figure 1b It is a schematic diagram when a projection calibration screen is at a calibration start position shown according to an exemplary embodiment.
[0043] Figure 1c It is a schematic diagram when a projection calibration screen is at a rectangular projection position shown according to an exemplary embodiment.
[0044] Figure 2 It is a flowchart of a projection calibration method shown according to an exemplary embodiment.
[0045] Figure 2a It is a schematic diagram of a projection calibration screen in an intermediate frame of a first projection calibration animation shown according to an exemplary embodiment.
[0046] Figure 2b It is a schematic diagram when a projection calibration screen coincides with a trapezoidal projection shown according to an exemplary embodiment.
[0047] Figure 2c It is a schematic diagram of a projection calibration screen in an intermediate frame of a second projection calibration animation shown according to an exemplary embodiment.
[0048] Figure 3 It is a flowchart of a projection calibration method shown according to an exemplary embodiment.
[0049] Figure 4 It is a block diagram of a projection calibration device shown according to an exemplary embodiment.
[0050] Figure 5 It is a block diagram of a projection device shown according to an exemplary embodiment. Detailed implementation
[0051] The following will describe the implementation manners of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for explaining the present application, rather than limiting the protection scope of the present application.
[0052] It should be noted that the illustrations provided in the following embodiments only schematically illustrate the basic concept of the present application. Therefore, only the components related to the present application are shown in the drawings, rather than presented according to the number, shape, and size of the components in actual implementation. The type, quantity, and proportion of each component in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.
[0053] The embodiments of the present application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, rather than limiting the protection scope of the present application.
[0054] The embodiments of the present disclosure provide a projection correction method, apparatus, and projection device. In the present disclosure, during projection correction, trapezoidal projection is triggered at the start of correction, and then a projection correction animation can be presented in the trapezoidal projection until the projection screen is corrected to the rectangular projection position within the rectangular projection area, and then the corrected rectangular projection screen is displayed at the rectangular projection position of the trapezoidal projection, thereby achieving projection correction. This method does not need to frequently call the digital trapezoidal correction interface, can display a smooth projection correction animation, and can provide a user experience of smooth transition of the projection screen from trapezoid to rectangle.
[0055] In an exemplary embodiment, a projection correction method is provided, which can be applied to a projection device (such as a projector). Referring Figure 1 as shown, the method may include:
[0056] S110. In response to the trigger of trapezoidal correction, project a trapezoidal projection;
[0057] S120. Correct the trapezoidal projection animation into a rectangular projection to present a projection correction animation;
[0058] S130. Display a rectangular projection screen at the rectangular projection position.
[0059] In step S110, during trapezoidal correction, generally, the original projection area of the projection device is triggered first. This original projection area is generally a trapezoidal projection (such as the black trapezoidal area referred to Figure 1a as described).
[0060] Among them, the digital trapezoidal correction interface can be used to implement digital trapezoidal correction. Digital trapezoidal correction is a technology used in digital image processing to correct the trapezoidal distortion of images. This distortion usually occurs when the projection device and the projection screen, or the display and the display surface are not parallel, resulting in one side of the image being longer than the other, forming a trapezoid. Through digital image processing technology, this distortion can be corrected to make the opposite sides of the image of equal length, forming a rectangle.
[0061] In this step, when performing projection correction, the digital trapezoidal correction interface (subsequently abbreviated as the soft trapezoid interface for simplicity) can be called first, and the digital trapezoidal correction technology is used to restore the projection area of the projection device, thereby triggering the original projection area projected by the projection device itself in the current scenario. The original projection area is consistent with the lighting range of the optical engine. When the projection device is used for projection subsequently, the corrected projection screen is within this trapezoidal projection range. After the projection device triggers the correction, it will obtain the characteristic points of the projection calibration image and calculate using the trapezoidal correction algorithm, and adjust the projection screen through the digital trapezoidal correction interface, and finally correct it into a rectangle.
[0062] In step S120, the projection calibration screen in the projection correction animation continuously changes from the correction start position to the rectangular projection position after the correction is completed. The projection calibration screen at the correction start position is trapezoidal (refer to Figure 1b shown), and the projection calibration screen at the rectangular projection position is rectangular (refer to Figure 1c shown). That is, the projection correction animation shows the process of the projection calibration screen gradually transitioning from a trapezoidal screen to a rectangular screen, so that the user can observe the entire projection correction process.
[0063] It should be noted that the correction start position can be determined by the coordinate data of the four vertices of the area where the initial projection is located, or can be determined by other data that can be used to characterize the initial projection area, and there is no limitation on this. The rectangular projection position can be determined by the coordinate data of the four vertices of the corrected rectangular projection area, or can be determined by other data that can be used to characterize the above rectangular projection area, and there is no limitation on this. At the correction start position, the projection calibration screen coincides with the area where the initial projection is located before trapezoidal correction.
[0064] It should be noted that in some related technologies, the coordinate data of the trapezoid is segmented into multiple data before transitioning to the coordinate data of the rectangle, and the digital trapezoid correction interface is called continuously multiple times to transition the trapezoidal projection screen to the rectangular projection screen. However, the call of the digital trapezoid correction interface is time-consuming and will significantly increase the occupation of system resources. Moreover, if the digital trapezoid correction interface is called continuously multiple times, due to system performance limitations, when the system resource load is heavy, it is impossible to ensure a refresh interval of 60 frames per second. When setting the duration of the entire correction animation, the animation cannot complete the entire animation process within the fixed duration, and there may be a scenario exceeding the fixed duration of the animation, resulting in an obvious sense of lag and affecting the user experience of the product.
[0065] In this step, the projection correction animation can be presented on the user interface. The user interface can also be called the UI interface. In this step, when presenting the projection correction animation, there is no need to call the soft ladder interface again, and there is no need to adjust the size of the trapezoidal projection area. Instead, the projection correction animation can be presented at the user interface level. The projection correction animation is presented within the trapezoidal projection area, thus avoiding frequent calls to the soft ladder interface, reducing the occupation of system resources of the projection device, shortening the drawing duration of the projection calibration screen in the projection correction animation, ensuring a smooth transition of the projection correction animation, and enabling the user to observe a smooth projection correction animation.
[0066] In step S130, after presenting the projection calibration screen at the rectangular projection position, the projection device can present the rectangular projection screen at the above-mentioned rectangular projection position.
[0067] Among them, the projection device can call the soft ladder interface again according to the data used to represent the above-mentioned rectangular projection position, and use the digital trapezoid correction technology to adjust the trapezoidal projection area to the rectangular projection area. The rectangular projection area is the area represented by the rectangular projection position. Then, the rectangular projection screen is displayed in the rectangular projection area, thereby realizing the display of the rectangular projection screen at the rectangular projection position.
[0068] Among them, the data used to represent the above-mentioned rectangular projection position can be the coordinate data of the four vertices of the corrected rectangular projection area, or other data that can be used to represent the above-mentioned rectangular projection area, and this is not limited.
[0069] In this method, when performing projection correction, trapezoidal projection is triggered at the beginning of the correction, and then the projection correction animation can be presented in the trapezoidal projection until the projection screen is corrected to the rectangular projection position where the rectangular projection area is located, and then the corrected rectangular projection screen is displayed at the rectangular projection position of the trapezoidal projection, thereby realizing projection correction. This method does not require frequent calls to the digital trapezoid correction interface, does not require frequent adjustment of the trapezoidal projection area, can display a smooth projection correction animation, and can achieve a user experience of smooth transition of the projection screen from trapezoid to rectangle.
[0070] In an exemplary embodiment, a projection correction method is provided, which can be applied to a projection device (such as a projector). Referring to Figure 2 as shown, the method may include:
[0071] S210. In response to the trigger of trapezoid correction, project a trapezoidal projection;
[0072] S220. Present a first projection correction animation within the trapezoidal projection;
[0073] S230. Based on the projection calibration screen that coincides with the trapezoidal projection, determine the position of the corrected rectangular projection;
[0074] S240. Present a second projection correction animation within the trapezoidal projection;
[0075] S250. Display a rectangular projection screen at the position of the rectangular projection.
[0076] Among them, step S210 of this embodiment may refer to step S110 of other embodiments, which will not be elaborated here; step S250 of this embodiment may refer to step S130 of other embodiments, which will not be elaborated here. In addition, in this method, the projection correction animation may include an animation in the first stage and an animation in the second stage. The animation in the first stage may be denoted as the first projection correction animation, and the animation in the second stage may be denoted as the second projection correction animation.
[0077] In step S220, the projection calibration screen in the first projection correction animation is corrected from the projection correction starting position to coincide with the trapezoidal projection. That is to say, the first projection correction animation refers to the correction animation corresponding to the stage where the projection calibration screen is enlarged from the initial screen to coincide with the trapezoidal projection.
[0078] Among them, the reminder projection area can be determined by the coordinate data of its four vertices, or can be determined by other data that can be used to characterize the above trapezoidal projection, and this is not limited.
[0079] In this step, during the process of presenting the first projection correction animation on the user interface, the correction algorithm interface can be called. Then, the correction algorithm can determine the projection position corresponding to the current animation process information of the first projection correction animation based on the correction starting position and the trapezoidal projection, and then present the projection calibration screen at the projection position corresponding to the current animation process information in the manner of the user interface. Among them, the projection position can be represented by the coordinate data of the four vertices of the corresponding projection area, or can be represented by other data, and this is not limited.
[0080] In some embodiments,
[0081] The animation progress information can be the animation progress percentage. The total animation duration of the first projection correction animation can be set to X1. Among them, the execution time of each frame of the projection calibration screen is Y1. Then, the animation progress percentage corresponding to the Nth frame of the projection calibration screen is Among them, X1, Y1, and N are all integers greater than or equal to 1. In this embodiment, after calling the calibration algorithm interface, the calibration algorithm can determine the coordinate data of the four vertices of the projection area corresponding to the current projection calibration screen in real time based on the animation progress percentage. The above coordinate data can be used to determine the corresponding projection position. The user interface can stretch, rotate, and distort the projection calibration screen according to the four-point coordinate data obtained in real time to present the projection calibration screen corresponding to the four-point coordinate data.
[0082] For example, when the current animation progress percentage of the first projection correction animation is the calibration algorithm can determine the coordinate data of the four vertices corresponding to the 3rd frame of the projection calibration screen based on the above percentage, and then based on the above coordinate data, present the 3rd frame of the projection calibration screen at the projection position represented by the above coordinate data.
[0083] In this embodiment, through the above method, the first projection correction animation in which the projection calibration screen is gradually adjusted from the calibration starting position to coincide with the trapezoidal projection can be completed (reference can be made to Figure 1b , Figure 2a and Figure 2b shown). Since the presentation of the first projection correction animation does not call the soft ladder interface and does not adjust the trapezoidal projection area, but directly presents it at the user interface level, it is possible to reduce the occupation of the system resources of the projection device, shorten the drawing duration of the projection calibration screen in the first projection correction animation, and ensure the smooth transition of the first projection correction animation through the gradual adjustment of multiple frames, so that the user can observe a smooth first projection correction animation.
[0084] It should be noted that in addition to presenting the first projection correction animation through the above method, it can also be achieved through other methods, which are not limited herein.
[0085] In step S230, after the projection calibration screen coincides with the trapezoidal projection, it means that the projection calibration screen has reached the maximum. In this case, the required rectangular projection position can be determined based on the above projection calibration screen.
[0086] Among them, the calibration algorithm interface can be called, and the calibration algorithm can be used to analyze the above projection calibration screen to obtain the rectangular projection position corresponding to the rectangular projection area.
[0087] It should be noted that the projection calibration screen can be a Patten map composed of black and white grids. The calibration algorithm can analyze the information in the projection calibration screen, correct the trapezoidal projection calibration screen into a rectangle to obtain the rectangular projection position (for example, the coordinate data of the four vertices corresponding to the rectangular projection area).
[0088] Among them, the calibration can include processing such as trapezoid correction, screen entry, and obstacle avoidance to ensure that the projection screen can be normally displayed at the rectangular projection position subsequently. In addition, the process of calibration using the above calibration algorithm can last about 1 second to 2 seconds according to the actual situation. Therefore, in the first projection calibration animation, after the projection calibration screen coincides with the trapezoidal projection, it can stay for 1 second to 2 seconds.
[0089] It should be noted that in addition to using the above method to determine the corrected rectangular projection position, the above rectangular projection position can also be determined by other methods, which is not limited herein.
[0090] In step S240, after the rectangular projection position is determined, the projection calibration animation can be started again. The animation at this stage can be recorded as the second projection calibration animation. The projection calibration screen in the second projection calibration animation is corrected from the rectangular projection position to the rectangular projection position multiple times. That is to say, the second projection calibration animation refers to the calibration animation corresponding to the stage where the projection calibration screen shrinks from the screen coinciding with the trapezoidal projection to the rectangular projection position.
[0091] In this step, during the process of presenting the second projection calibration animation on the user interface, the calibration algorithm interface can be called. The calibration algorithm can determine the projection position corresponding to the current animation process information of the second projection calibration animation based on the trapezoidal projection and the rectangular projection position, and then present the projection calibration screen at the projection position corresponding to the current animation process information in the form of the user interface. Among them, the projection position can be represented by the coordinate data of the four vertices of the corresponding projection area, or can be represented by other data, which is not limited herein.
[0092] In some embodiments,
[0093] The animation process information can be the animation process percentage. The total animation duration of the second projection calibration animation can be set to X2, where the execution time of each frame of the projection calibration screen is Y2, then the animation process percentage corresponding to the Mth frame of the projection calibration screen is where X2, Y2, and M are all integers greater than or equal to 1. In this embodiment, the calibration algorithm can determine the coordinate data of the four vertices of the projection area corresponding to the current projection calibration screen in real time based on the animation process percentage, and the above coordinate data can be used to determine the corresponding projection position. The user interface can then stretch, rotate, and distort the projection calibration screen according to the four-point coordinate data obtained in real time to present the projection calibration screen corresponding to the four-point coordinate data.
[0094] For example, when the current animation progress percentage of the second projection correction animation is the calibration algorithm can determine the coordinate data of the four vertices corresponding to the fourth-frame projection calibration screen based on the above percentage, and then, based on the above coordinate data, present the fourth-frame projection calibration screen at the projection position represented by the above coordinate data.
[0095] In this embodiment, through the above method, the projection calibration screen can be gradually reduced from overlapping with the reminder projection area to the second projection correction animation of the rectangular projection position (which can be sequentially referred to Figure 2b , Figure 2c and Figure 1c as shown). Since the presentation of the second projection correction animation does not call the soft ladder interface and does not adjust the trapezoidal projection area, but directly presents it at the user interface level, it is possible to reduce the occupation of the system resources of the projection device, shorten the presentation duration of the projection calibration screen in the second projection correction animation, and better ensure the smooth transition of the second projection correction animation through the gradual adjustment of multiple frames, so that the user can observe a smooth second projection correction animation.
[0096] It should be noted that, in addition to presenting the second projection correction animation through the above method, it can also be achieved through other methods, which are not limited herein.
[0097] In this method, during projection correction, trapezoidal projection is triggered at the start of correction, and then the first projection correction animation can be presented in the trapezoidal projection until the projection calibration screen is gradually enlarged to coincide with the trapezoidal projection. Then, the corrected rectangular projection position can be determined based on the projection calibration screen that coincides with the trapezoidal projection. Then, the second projection correction animation can be presented in the trapezoidal projection until the projection calibration screen is gradually reduced to coincide with the rectangular projection position, and then the corrected rectangular projection screen is displayed at the rectangular projection position of the trapezoidal projection, thereby achieving projection correction. This method can display a smooth projection correction animation without frequently calling the digital trapezoidal correction interface to adjust the trapezoidal projection area, and can provide a user experience of gradually and smoothly transitioning the projection calibration screen from trapezoidal to rectangular in multiple frames.
[0098] In an exemplary embodiment, a projection correction method is provided, which can be applied to a projection device (such as a projector). Referring to Figure 3 as shown, this method may include:
[0099] S310. In response to the trigger of trapezoidal correction, a background mask layer is popped up; wherein, the background mask layer covers the view interface of the projection device;
[0100] S320. When projecting the trapezoidal projection, the background mask layer synchronously covers the trapezoidal projection;
[0101] S330. Present a first projection correction animation within the trapezoidal projection;
[0102] S340. Determine the corrected rectangular projection position based on the projection calibration screen that coincides with the trapezoidal projection;
[0103] S350. Present a second projection correction animation within the trapezoidal projection;
[0104] S360. Display a rectangular projection screen at the rectangular projection position.
[0105] In step S310, when starting to execute the trapezoid correction process, a background mask can be popped up first to cover the view interface of the projection device. The background mask can be a black opaque mask (i.e., a black mask). This black background mask can be presented by the user interface so that the user interface can subsequently present the projection correction animation on this background mask.
[0106] It should be noted that during the projection correction process, the original trapezoidal projection emits light. In this method, by setting the above-mentioned black mask and displaying the projection correction animation on the upper layer of the black mask, the animation effect can be better guaranteed and the user's visual experience can be improved.
[0107] In step S320, after using the background mask to cover the projection interface of the projection device, the soft trapezoid interface can be called to restore the projection area. In a scenario where trapezoid correction is required, the restored projection area is generally a trapezoidal projection at this time. During the restoration process, the background mask can cover the projection area synchronously, that is to say, the background mask can ultimately cover the restored trapezoidal projection. The covering here means that the background mask coincides with the trapezoidal projection and is displayed on the upper layer of the trapezoidal projection. In this case, the user can observe the background mask that coincides with the trapezoidal projection (refer to Figure 1a shown).
[0108] Regarding steps S330 to S350, the steps S220 to S240 of other embodiments can be referred to in sequence, which will not be elaborated here. It should be noted that during the projection correction process, the projection calibration screen can be presented on the background mask so that the user can clearly observe the entire correction process of the projection calibration screen and improve the user's visual experience.
[0109] In this method, before step S360, the projection calibration screen at the rectangular projection position can be presented as a zero-pixel screen to display the background mask in the trapezoidal projection. It should be noted that all projection calibration screens are completed by a brush and are displayed on the top layer of the user interface and cannot be hidden or destroyed. Therefore, the effect of erasing it can be achieved by presenting zero pixels.
[0110] In step S360, after the view interface of the device to be projected displays a trapezoidal background mask that coincides with the trapezoidal projection, the projection device can call the soft ladder interface to correct the trapezoidal projection area into a rectangular projection area. The rectangular projection area is the area represented by the rectangular projection position, and then the rectangular projection position is used as the target projection position for projection, thereby realizing the display of the rectangular projection screen.
[0111] After the display of the rectangular projection screen is completed, the user interface can close the pop-up window with the background mask and display the view interface of the projection device, thereby realizing the display of the rectangular projection screen, and the user can observe the corrected rectangular projection screen.
[0112] In this method, the projection correction animation can be presented above the background mask for the user to clearly perceive. The entire process abandons the projection correction method of calling the soft ladder interface in real time and instead uses the user interface to present the projection correction animation. Presenting the animation through the user interface can well ensure the smoothness of the animation. Among them, the projection calibration screen represents the projection screen that the user can see, and the user can perceive the change of the projection screen through the change of the projection calibration screen. This method can display a smooth projection correction animation with only two calls to the digital trapezoid correction interface, and can achieve the user experience of the projection calibration screen gradually and smoothly transitioning from a trapezoid to a rectangle in multiple frames.
[0113] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). This device can be used to implement the above-mentioned projection correction method. Exemplarily, as shown in Figure 4 The device may include a trigger module 10, a correction module 20, and a display module 30. During the process of implementing the above method,
[0114] The trigger module 10 is used to project a trapezoidal projection in response to the trigger of trapezoid correction;
[0115] The correction module 20 is used to correct the trapezoidal projection animation into a rectangular projection to present a projection correction animation, where the projection calibration screen in the projection correction animation continuously changes from the correction start position to the rectangular projection position after correction;
[0116] The display module 30 is used to display the rectangular projection screen at the rectangular projection position.
[0117] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). As shown in Figure 4 In this device, the correction module 20 can be used for:
[0118] Present a first projection correction animation within the trapezoidal projection; wherein, the projection calibration screen in the first projection correction animation continuously changes from the projection correction starting position to coincide with the trapezoidal projection;
[0119] Based on the projection calibration screen that coincides with the trapezoidal projection, determine the corrected rectangular projection position;
[0120] Present a second projection correction animation within the trapezoidal projection; wherein, the projection calibration screen in the second projection correction animation continuously changes from coinciding with the trapezoidal projection to the rectangular projection position.
[0121] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device, the correction module 20 can be used to:
[0122] Call the correction algorithm interface, and based on the correction starting position and the position where the trapezoidal projection is located, determine the projection position corresponding to the current animation process information of the first projection correction animation;
[0123] Present the projection calibration screen at the projection position corresponding to the current animation process information.
[0124] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device, the correction module 20 can be used to:
[0125] Call the correction algorithm interface, parse the projection calibration screen that coincides with the trapezoidal projection to obtain the rectangular projection position corresponding to the rectangular projection area.
[0126] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device, the correction module 20 can be used to:
[0127] Call the correction algorithm interface, and based on the position where the trapezoidal projection is located and the rectangular projection position, determine the projection position corresponding to the current animation process information of the second projection correction animation;
[0128] Present the projection calibration screen at the projection position corresponding to the current animation process information.
[0129] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device, the trigger module 10 can be used to:
[0130] In response to the trigger of trapezoidal correction, pop up a background mask layer; wherein, the background mask layer covers the view interface of the projection device;
[0131] When projecting a trapezoidal projection, the background mask synchronously covers the trapezoidal projection.
[0132] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). In this device, the background mask includes a black mask.
[0133] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device, the correction module 20 can be used for:
[0134] Before displaying a rectangular projection image at the rectangular projection position, presenting the projection calibration image at the rectangular projection position as a zero-pixel image.
[0135] In an exemplary embodiment, a projection correction device is provided, which can be applied to a projection device (such as a projector). Refer to Figure 4 As shown, in this device,
[0136] The trigger module 10 can be used to respond to the trigger of trapezoidal correction, call the digital trapezoidal correction interface to project a trapezoidal projection; and / or,
[0137] The display module 30 can be used to call the digital trapezoidal correction interface to display a rectangular projection image at the rectangular projection position.
[0138] In an exemplary embodiment, a projection device is provided. The projection device can include devices such as projectors that use intelligent image correction.
[0139] Refer to Figure 5 As shown, the projection device 100 can include: at least one processor 101, a memory 102, at least one network interface 104, and other user interfaces 103. Each component in the projection device 100 is coupled together through a bus system 105. It can be understood that the bus system 105 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 105 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, all kinds of buses are labeled as the bus system 105.
[0140] Among them, the user interface 103 can include a display, a keyboard, or a pointing projection device (such as a mouse, a trackball, a touchpad, or a touch screen, etc.).
[0141] It can be understood that the memory 102 in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synch link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM). The memory 102 described herein is intended to include but not be limited to these and any other suitable types of memory.
[0142] In some embodiments, the memory 102 stores the following elements, executable units or data structures, or subsets or supersets thereof: an operating system 1021 and an application program 1022.
[0143] Among them, the operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., and is used to implement various basic services and process hardware-based tasks. The application program 1022 includes various application programs, such as a media player and a browser, etc., and is used to implement various application services. The program for implementing the method of the embodiments of the present application can be included in the application program 1022.
[0144] In the embodiments of the present application, by calling the programs or instructions stored in the memory 102, specifically, the programs or instructions stored in the application program 1022, the processor 101 is used to execute the methods provided by the method embodiments.
[0145] The method disclosed in the embodiments of the present application can be applied to or implemented by the processor 101. The processor 101 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the processor 101. The above-mentioned processor 101 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software units in the decoding processor. The software unit may be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. This storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and combines its hardware to complete the above method.
[0146] It can be understood that these embodiments described herein can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or at least one application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing projection device (DSPD), programmable logic projection device (PLD), field-programmable gate array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in the present application, or a combination thereof.
[0147] For software implementation, the techniques described herein can be implemented by units that execute the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented inside or outside the processor.
[0148] The embodiments of the present application also provide a storage medium (computer-readable storage medium). The storage medium stores one or at least one program. Among them, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state drive; the memory may also include a combination of the above types of memory.
[0149] When one or at least one program in the storage medium can be executed by one or at least one processor. Among them, when the storage medium is applied to a projection device, the methods executed on the projection device as described above can be implemented. The processor is used to execute the control program of the projection device stored in the memory to implement the methods executed on the projection device as described above.
[0150] Those skilled in the art should also be able to further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0151] It should be noted that the phrases "one embodiment", "embodiment", "exemplary embodiment", "some embodiments", etc. mentioned in the specification indicate that the described embodiments may include specific features, structures, or characteristics, but not necessarily every embodiment includes such specific features, structures, or characteristics. In addition, such phrases do not necessarily refer to the same embodiment. Moreover, when combining specific features, structures, or characteristics with an embodiment, it is within the knowledge of those skilled in the art to implement such features, structures, or characteristics in combination with other embodiments, whether explicitly or implicitly described.
[0152] It should be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or projection device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or projection device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or projection device comprising the said element.
[0153] The above embodiments are merely preferred embodiments given to fully illustrate the present application, and the protection scope of the present application is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present application are within the protection scope of the present application.
Claims
1. A projection correction method, characterized in that: The projection correction method comprises: In response to the triggering of keystone correction, a trapezoidal projection is projected; Correcting the trapezoidal projection animation into a rectangular projection to present a projection correction animation, wherein the projection calibration picture in the projection correction animation changes continuously from a correction starting position to a rectangular projection position after the correction is completed; A rectangular projection picture is displayed at the rectangular projection position.
2. The method according to claim 1, characterized in that The step of correcting the trapezoidal projection animation into a rectangular projection to present a projection correction animation comprises: A first projection correction animation is presented in the trapezoidal projection; wherein the projection calibration picture in the first projection correction animation changes continuously from a projection correction starting position to coincide with the trapezoidal projection; Determining a corrected rectangular projection position based on a projection calibration picture that coincides with the trapezoidal projection; A second projection correction animation is presented in the trapezoidal projection; wherein the projection calibration picture in the second projection correction animation changes continuously from being coincident with the trapezoidal projection to being at the rectangular projection position.
3. The method according to claim 2, characterized in that The presenting of a first projection correction animation in the trapezoidal projection comprises: Calling a correction algorithm interface, based on the correction starting position and the position of the trapezoidal projection, determining the projection position of the first projection correction animation corresponding to the current animation progress information; A projection calibration picture is presented at the projection position corresponding to the current animation progress information.
4. The method according to claim 2, characterized in that: The step of determining the corrected rectangular projection position based on the projection calibration picture that coincides with the trapezoidal projection comprises: The correction algorithm interface is called to parse the projection calibration picture that coincides with the trapezoidal projection to obtain the rectangular projection position corresponding to the rectangular projection area.
5. The method according to claim 2, characterized in that: The presenting of a second projection correction animation in the trapezoidal projection comprises: Calling a correction algorithm interface to determine a projection position of the second projection correction animation corresponding to the current animation progress information based on the position of the trapezoidal projection and the rectangular projection position; A projection calibration picture is presented at the projection position corresponding to the current animation progress information.
6. The method according to claim 1, characterized in that The method of responding to the triggering of the keystone correction and projecting the keystone projection comprises: In response to the triggering of the trapezoidal correction, a background mask is popped up; wherein the background mask covers the view interface of the projection device; When projecting the trapezoidal projection, the background mask synchronously covers the trapezoidal projection.
7. The method according to claim 6, characterized in that The background mask includes a black mask.
8. The method according to any one of claims 1 to 7, characterized in that: Before displaying the rectangular projection picture at the rectangular projection position, the method includes: The projection calibration picture of the rectangular projection position is presented as a zero-pixel picture.
9. The method according to any one of claims 1 to 7, characterized in that: The method of responding to the triggering of the keystone correction and projecting the keystone projection comprises: In response to the triggering of keystone correction, the digital keystone correction interface is called to project a keystone projection; and / or, The step of displaying a rectangular projection picture at the rectangular projection position includes: The digital keystone correction interface is called to display the rectangular projection picture at the rectangular projection position.
10. A projection correction device, characterized in that: The device comprises: A trigger module, for responding to a trigger of a keystone correction and projecting a keystone projection; A correction module, used for correcting the trapezoidal projection animation into a rectangular projection to present a projection correction animation, wherein the projection calibration picture in the projection correction animation changes continuously from a correction starting position to a rectangular projection position after the correction is completed; A display module is used to display a rectangular projection picture at the rectangular projection position.