Projection device and projection picture scaling method
By calculating and determining the position of the boundary points of the projected image within the projection medium, and then performing the translation after determining the translation direction, the scaled projected image is kept within the display range. This solves the problem of the image scaling out of the display range in micro-projection devices and improves the projection effect.
Patent Information
- Application Number
- CN202211183100.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2042-09-27
AI Technical Summary
When adjusting the projected image, the image of a miniature projector may be scaled up to exceed the display range of the projection medium, affecting the projection effect.
By receiving the screen scaling command, the coordinates of the target boundary point of the projected image are calculated, and it is determined whether the target boundary point is within the display range of the projection medium. If it is not, the translation direction is determined based on the target boundary point that is outside the range, and the projected image is translated before scaling to ensure that the boundary point is within the display range.
This effectively prevents the projected image from exceeding the display range of the projection medium after scaling, thus improving the image scaling experience of the projection device.
Smart Images

Figure CN115550620B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of micro-projection technology, and in particular to a projection device and a method for scaling the projected image. Background Technology
[0002] Mini projectors, also known as portable projectors, are smaller and easier to install than traditional projectors, making them increasingly popular among home users. To ensure projection quality, mini projectors need to project the image onto a user-installed projection medium, such as a projection screen. Due to the limitations of the home environment, different users may have different needs regarding the projection area and position of the mini projector. When using a mini projector, adjustments may be needed to adjust the projection area and position of the image on the projection medium. However, when the projected image is not centered on the projection medium, scaling the image may cause parts of the image to extend beyond the display area of the medium, affecting the projection quality. Summary of the Invention
[0003] To address the technical problem that the projected image exceeds the display range of the projection medium after scaling, this application provides a projection device and a method for scaling the projected image.
[0004] In a first aspect, this application provides a projection device, which includes:
[0005] Lens;
[0006] Optical mechanism;
[0007] The controller is configured as follows:
[0008] Receive screen zoom commands;
[0009] In response to the screen scaling command, calculate the coordinates of the target boundary point of the projected screen;
[0010] Determine whether the coordinates of the target boundary points are all within the display range of the projection medium;
[0011] If the coordinates of the target boundary points are not within the display range of the projection medium, the translation direction is determined based on the target boundary points that are outside the display range, and the projected image is translated according to the translation direction before being scaled.
[0012] If the coordinates of the target boundary points are all within the display range of the projection medium, the projected image will be scaled.
[0013] In some embodiments, calculating the coordinates of the target boundary points of the projected image includes:
[0014] Obtain the coordinates of the center point of the projected image;
[0015] The target boundary point coordinates corresponding to the current boundary point coordinates are calculated based on the current boundary point coordinates, center point coordinates, and scaling ratio of the projected image.
[0016] In some embodiments, translating the projected image along the translation direction before scaling includes:
[0017] The coordinates of the boundary point after translation are calculated based on the current boundary point coordinates, translation direction, and translation step size of the projected image.
[0018] Calculate the scaled boundary point coordinates corresponding to the translated boundary point coordinates based on the translated boundary point coordinates, the center point coordinates, and the scaling ratio.
[0019] Determine whether the coordinates of the scaled boundary points are all within the display range of the projection medium;
[0020] If the coordinates of the target boundary points are all within the display range of the projection medium, the projected image will be enlarged.
[0021] If the coordinates of the target boundary points are not within the display range of the projection medium, the projected image will be shifted further before scaling.
[0022] In some embodiments, translating the projected image along the translation direction before scaling includes:
[0023] The translation distance is calculated based on the extent to which the target boundary point exceeds the display area of the projection medium and the scaling ratio;
[0024] The projected image is translated according to the translation direction and translation distance.
[0025] The projected image after translation is scaled according to the scaling ratio.
[0026] In some embodiments, the controller is further configured to:
[0027] Determine whether the scaled-up projected image has a display area that overlaps with the area on the projection medium that is obscured by obstacles;
[0028] If there are overlapping display areas, the projected image is shifted to reduce the overlapping display areas.
[0029] In some embodiments, calculating the coordinates of the target boundary points of the projected image includes:
[0030] Obtain the coordinates of the center point of the projected image;
[0031] Obtain the coordinates of the boundary points of the projected image;
[0032] The target boundary point coordinates corresponding to the current boundary point coordinates are calculated based on the current boundary point coordinates, center point coordinates, and scaling ratio of the projected image.
[0033] Determine whether the coordinates of the target boundary point are within the area obscured by obstacles on the projection medium;
[0034] If the target boundary point coordinates are within the area obscured by obstacles on the projection medium, reduce the scaling ratio;
[0035] The target boundary point coordinates are updated based on the reduced scaling ratio.
[0036] In some embodiments, translating the projected image along the translation direction before scaling includes:
[0037] Determine whether the coordinates of the target boundary point are within the area obscured by obstacles on the projection medium;
[0038] If the coordinates of the target boundary point are within the area obscured by obstacles on the projection medium, reduce the translation step size;
[0039] In the translation direction, the projected image is translated and then scaled according to the reduced translation step size.
[0040] In some embodiments, the controller is further configured to:
[0041] In response to the screen scaling command, determine whether the size of the projected screen is the maximum or minimum size;
[0042] If the projected image is at its maximum size and the zoom command is a zoom-in command, a prompt message indicating that the projected image is at its maximum size is generated; or if the projected image is at its minimum size and the zoom command is a zoom-out command, a prompt message indicating that the projected image is at its minimum size is generated.
[0043] Secondly, this application provides a projection device, which includes:
[0044] Lens;
[0045] Optical mechanism;
[0046] The controller is configured as follows:
[0047] Receive screen zoom commands;
[0048] In response to the screen scaling command, calculate the coordinates of the target boundary point of the projected screen;
[0049] Determine whether the coordinates of the target boundary points are all within the display range of the projection medium;
[0050] If the coordinates of the target boundary points are not within the display range of the projection medium, the translation direction is determined based on the target boundary points that are outside the display range, and the projected image is scaled and then translated according to the translation direction.
[0051] If the coordinates of the target boundary points are all within the display range of the projection medium, the projected image will be scaled.
[0052] Thirdly, this application provides a method for scaling a projected image, the method comprising:
[0053] Receive screen zoom commands;
[0054] In response to the screen scaling command, calculate the coordinates of the target boundary point of the projected screen;
[0055] Determine whether the coordinates of the target boundary points are all within the display range of the projection medium;
[0056] If the coordinates of the target boundary points are not within the display range of the projection medium, the translation direction is determined based on the target boundary points that are outside the display range, and the projected image is translated according to the translation direction before being scaled.
[0057] If the coordinates of the target boundary points are all within the display range of the projection medium, the projected image will be scaled.
[0058] The beneficial effects of the projection device and projection image scaling method provided in this application include:
[0059] In this embodiment, after receiving a user's screen scaling command, the coordinates of the target boundary point after scaling are calculated, and it is determined whether the coordinates of the target boundary point will exceed the display range of the projection medium. If it is determined that they will exceed the display range, the translation direction is determined based on the target boundary point that exceeds the display range. The projection screen is then translated according to the translation direction to avoid the problem of the target boundary point coordinates exceeding the display range of the projection medium. This solves the problem of the projection screen exceeding the display range of the projection medium after scaling, and improves the screen scaling experience of the projection device. Attached Figure Description
[0060] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0061] Figure 1 The diagram illustrates a projection scene of a projection device according to some embodiments;
[0062] Figure 2The diagram illustrates an optical path of a projection device according to some embodiments;
[0063] Figure 3 The diagram illustrates an occlusion scenario according to some embodiments;
[0064] Figure 4 The diagram illustrates an obstacle avoidance effect according to some embodiments;
[0065] Figure 5 The diagram illustrates an obstacle avoidance effect according to some embodiments;
[0066] Figure 6 The diagram illustrates a flow chart of a screen panning method according to some embodiments;
[0067] Figure 7 The image above exemplifies the effect of screen panning according to some embodiments;
[0068] Figure 8 The image above exemplifies the effect of screen panning according to some embodiments;
[0069] Figure 9 The diagram illustrates a flowchart of a screen scaling method according to some embodiments;
[0070] Figure 10 The image above exemplifies the effect of screen panning according to some embodiments;
[0071] Figure 11 The diagram illustrates a flow chart of a screen scaling method according to some embodiments;
[0072] Figure 12 The image above exemplifies the effect of screen panning according to some embodiments;
[0073] Figure 13 The image shown is an example of a magnified view based on some embodiments;
[0074] Figure 14 The image shown is an example of a magnified view based on some embodiments. Detailed Implementation
[0075] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.
[0076] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0077] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.
[0078] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0079] A projection device is a device that can project media data onto a projection medium. Projection devices can connect to computers, cable TV networks, the internet, VCD (Video Compact Disc), DVD (Digital Versatile Disc Recordable), game consoles, DV camcorders, and other devices through various interfaces to receive the media data to be projected. The media data includes, but is not limited to, images, videos, and text, and the projection medium includes, but is not limited to, physical forms such as walls, screens, and projection displays.
[0080] Figure 1 A schematic diagram of a projection scene of a projection device according to an embodiment of this application is shown. Figure 2 A schematic diagram of the optical path of the projection device is shown.
[0081] In some embodiments, reference Figure 1 and Figure 2 This application provides a projection device including a projection medium 100 and a projection device 200. The projection medium 100 is fixed in a first position, and the projection device 200 is placed in a second position. By adjusting the relationship between the first and second positions, the projected image of the projection device 200 can be made to match the projection surface of the projection medium 100, or the projected image of the projection device 200 can be made smaller than the projection surface of the projection medium 100. When the distance between the projection device 200 and the projection medium 100 is a preset distance, the size of the projection medium 100 is the same as the size of the projection surface.
[0082] The projection device 200 includes a projection component, which includes a laser light source 210, an optical engine 220, and a lens 230. The laser light source 210 provides illumination for the optical engine 220, the optical engine 220 modulates the light beam and outputs it to the lens 230, the lens 230 forms an image and projects it onto the projection medium 100, and the projection medium 100 displays the projected image.
[0083] In some embodiments, the projection device 200 includes a controller, which includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (Random Access Memory), ROM (Read-Only Memory), a first to an nth interface for input / output, and a communication bus. The controller is connected to related hardware of the projection device, such as a display control circuit, a brightness sensor, a distance sensor, and an image acquisition device, and is used to control the implementation of functions such as projection, focusing, calibration, obstacle detection, occlusion warning, and screen on / off state adjustment of the projection device.
[0084] In some embodiments, the projection device 200 may be provided with several types of interfaces, such as a power interface, a USB interface, an HDMI (High Definition Multimedia Interface) interface, a network cable interface, a VGA (Video Graphics Array) interface, and a DVI (Digital Visual Interface) interface, to connect to a signal source for transmitting media.
[0085] In some embodiments, after the projection device 200 is started, it can directly enter the display interface of the previously selected signal source, or the signal source selection interface. The signal source may be, for example, a preset video-on-demand program, or one of the following signal sources: HDMI interface, USB interface, live TV interface, etc. After the user selects a target signal source, the projection device 200 can acquire media data from the target signal source and project the media data onto the projection medium 100 for display.
[0086] In some embodiments, the projection device 200 has a calibration function. After powering on, if the projection device 200 detects that the calibration function is enabled, it can detect whether the position of the projection device 200 is consistent with its position before powering off. If the position changes, it indicates that the user has accidentally moved the projection device 200 after powering off. The projection device 200 can automatically correct the position of the projected image on the projection medium 100 so that the display position of the projected image on the projection medium 100 is consistent with the position of the projection device 200 on the projection medium 100 before powering off. If the position does not change, it indicates that the user has not moved the projection device after powering off. The projection device 200 can set the projected image according to the projection position data of the projected image on the projection medium 100 before powering off.
[0087] In some embodiments, after the projection device 200 finishes automatic calibration, the position of the projected image on the projection medium 100 no longer changes automatically. The user can continue to manually adjust the position of the projected image on the projection medium 100 to make the projected image pan, shrink and enlarge. The panning may include leftward, rightward, upward and downward movement.
[0088] In some embodiments, the projection device 200 has an obstacle avoidance function. After powering on, if the projection device 200 detects that the obstacle avoidance function is enabled, the projection device 200 can automatically detect obstacles between the lens 230 of the projection device 200 and the projection medium 100. See [link to relevant documentation]. Figure 3 If an obstacle is detected, its position is determined, and the position of the projected image on the projection medium 100 is set to avoid the obstacle. In this case, the size of the projected image will be smaller than the size of the projection medium 100.
[0089] Obstacle avoidance effects can be seen in Figure 4 and Figure 5 . Figure 4 In the projection device 200, a coordinate system is established with one vertex of the projection medium 100 as the origin O, and the two adjacent boundaries of that vertex as the X-axis and Y-axis, respectively. The four boundary points of the projection medium 100 are A0(0,0), B0(x0,0), C0(x0,y0), and D0(0,y0). If the resolution of the projection device 200 is 3840*2160, then x0 is 3840 and y0 is 2160.
[0090] For example, the obstacle is the area enclosed by A', B', C', and D'. The coordinates of the left boundary point of the obstacle are A'(x1', y1'), the coordinates of the right boundary point are B'(x2', y2'), the coordinates of the lower boundary point are C'(x3', y3'), and the coordinates of the upper boundary point are D'(x4', y4').
[0091] The following is an example of how a projection device 200 can display information while avoiding obstacles:
[0092] In some embodiments, the projection device 200 may set the position of the projected image on the projection medium 100 to be to the left of the obstacle if the distance between the left boundary point of the obstacle and the left boundary of the projection medium 100 is greater than the distance between the right boundary point of the obstacle and the right boundary of the projection medium 100, and the distance between the left boundary point of the obstacle and the right boundary of the projection medium 100 is less than or equal to a certain distance, such as less than one-third of the width of the projection medium 100. The setting method may include shrinking the projected image and then shifting the shrunken projected image to the left, so that the right boundary of the projected image is adjacent to the left boundary point of the obstacle. Figure 4 As shown, or the right edge of the projected image should be to the left of the left edge point of the obstacle, such as... Figure 5 As shown. Specifically, if the distance between the left boundary point of an obstacle and the right boundary of the projection medium 100 exceeds a certain distance, the obstacle will no longer be avoided, thus preventing the projected image from being too small and affecting the viewing experience.
[0093] Figure 4 In the image, after the obstacle avoidance function is activated, the boundary points of the projected image are A1(x11, y11), B1(x12, y11), C1(x12, y12), and D1(x11, y12).
[0094] Figure 5 In the image, after the obstacle avoidance function is activated, the boundary points of the projected image are A2(x21, y21), B2(x22, y21), C2(x22, y22), and D2(x21, y22).
[0095] In some embodiments, the projection device 200 may set the position of the projected image on the projection medium 100 above the obstacle if the distance between the upper boundary point of the obstacle and the upper boundary of the projection medium 100 is greater than the distance between the lower boundary point of the obstacle and the lower boundary of the projection medium 100, and the distance between the upper boundary point of the obstacle and the lower boundary of the projection medium 100 is less than a preset distance, such as less than one-third of the height of the projection medium 100. Wherein, if the distance between the upper boundary point of the obstacle and the lower boundary of the projection medium 100 is greater than a certain distance, the obstacle will no longer be avoided, thus preventing the projected image from being too small and affecting the viewing experience.
[0096] In some embodiments, due to the activation of the obstacle avoidance function, the size of the projected image of the projection device 200 after power-on is smaller than the size of the projection surface of the projection medium 100. At this time, the user may have the need to adjust the position of the projected image on the projection medium 100, which may be to translate, shrink or enlarge the projected image.
[0097] In some embodiments, in addition to enabling the above-mentioned correction, obstacle avoidance and other functions, the projection device 200 may also cause the size of the projected image after powering on to be smaller than the size of the projection surface of the projection medium 100 due to reasons such as automatically restoring the projection position before the last power-off after powering on. At this time, the user may have the need to adjust the position of the projected image on the projection medium 100, which may be to translate, shrink and enlarge the projected image.
[0098] In some embodiments, the method by which the projection device 200 translates the projected image can be found in [reference needed]. Figure 6 It includes the following steps:
[0099] Step S101: Receive screen panning command.
[0100] In some embodiments, a user may input a screen panning command to the projection device, causing the projection device to pan the projected image. The screen panning command may be a screen panning command to the left, a screen panning command to the right, a screen panning command to the up, or a screen panning command to the down.
[0101] In some embodiments, the screen panning command may be a control command input by the user through the control device of the projection device, such as a directional key pressing command input through the remote control of the projection device, or a screen panning command input through a smart terminal such as a smartphone that is connected to the projection device.
[0102] In some embodiments, the projection device supports voice control, and the screen panning command can be a voice command. For example, the user can directly input the voice command "Move the screen to the right" into the projection device.
[0103] Step S102: In response to the screen translation command, calculate the coordinates of the target boundary point of the projected screen.
[0104] In some embodiments, after receiving a screen panning command, the projection device obtains the coordinates of the current boundary point of the projected screen and calculates the coordinates of the target boundary point based on the current boundary point coordinates and the panning direction corresponding to the screen panning command.
[0105] For example, if the image panning command is to move the image to the right, the projection device calculates the product of the projection surface width and a preset panning step size. Based on this product and the coordinates of the current boundary point, it obtains the coordinates of the target boundary point corresponding to the current boundary point. For instance, if one of the current boundary points in the projected image is (0, 0), the panning step size is 2%, and the projection surface width is 3840, then the coordinates of the target boundary point corresponding to this current boundary point are (0 + 3840 * 2%, 0), which is (77, 0), and the panning distance is 77.
[0106] In some embodiments, after receiving a screen panning command, the projection device obtains the current boundary point coordinates of the projected screen and calculates the target boundary point coordinates based on the current boundary point coordinates, the panning direction corresponding to the screen panning command, and the boundary coordinates of the obstacle.
[0107] For example, if the screen panning command is to move the screen to the right, the projection device calculates the product of the projection surface width and a preset panning step size. Based on this product and the coordinates of the current boundary point, it obtains the first coordinates corresponding to the current boundary point. It then determines whether the X-coordinate in the first coordinate is less than or equal to the X-coordinate of the left boundary of the obstacle. If it is less than or equal to, the first coordinate is determined as the target boundary point coordinate corresponding to the current boundary point. If it is greater, the X-coordinate of the first coordinate is modified to the X-coordinate of the left boundary of the obstacle to obtain the second coordinate, which is then determined as the target boundary point coordinate corresponding to the current boundary point. For example, if a current boundary point has coordinates (0, 0), a panning step size of 2%, a projection surface width of 3840, and a height of 1920, then the first coordinate corresponding to this current boundary point is (0 + 3840 * 2%, 0), which is (77, 0). If the X-coordinate of the left boundary of the obstacle is 75, then the second coordinate is (75,0). The second coordinate (75,0) is determined as the target boundary point coordinate (0,0), and the translation distance is 75.
[0108] In some embodiments, after receiving a screen panning command, the projection device obtains the coordinates of the current boundary point of the projected screen, and calculates the coordinates of the target boundary point based on the current boundary point coordinates, the panning direction corresponding to the screen panning command, and the threshold boundary point coordinates.
[0109] For example, if the image panning command is to move the image to the right, the projection device calculates the product of the projection surface width and a preset panning step size. Based on this product and the coordinates of the current boundary point, it obtains the first coordinates corresponding to the current boundary point. It then determines whether the X-coordinate of the first coordinate is less than or equal to the X-coordinate of a threshold boundary point. If it is less than or equal to, the first coordinate is determined as the target boundary point coordinate corresponding to the current boundary point. If it is greater, the X-coordinate of the first coordinate is modified to the X-coordinate of the threshold boundary point coordinate to obtain the second coordinate, which is then determined as the target boundary point coordinate corresponding to the current boundary point. For instance, if one of the current boundary points in the projected image has coordinates (3800, 0), a panning step size of 2%, and a projection surface width of 3840, then the first coordinate corresponding to this current boundary point is (3800 + 3840 * 2%, 0), which is (3877, 0). Based on the X-coordinate of the threshold boundary point corresponding to the right boundary of the projection surface being 3840, the second coordinate is (3840,0). The second coordinate (3840,0) instead of (3877,0) is determined as the target boundary point coordinate (3800,0), and the translation distance is 40.
[0110] In some embodiments, the target boundary point coordinates can also be determined by combining the translation step size, the boundary coordinates of the obstacle, and the threshold boundary point coordinates. For example, based on the fact that the target boundary point coordinates are within the occlusion range of the obstacle, the translation step size can be reduced and the target boundary point recalculated until the target boundary point coordinates are no longer within the occlusion range of the obstacle or the area of the projected image occluded by the obstacle is less than a preset ratio of the projected image.
[0111] Step S103: Determine whether the coordinates of the target boundary point are greater than the coordinates of the threshold boundary point.
[0112] In some embodiments, the threshold boundary point coordinates may be the boundary point coordinates of the projection surface, including A0(0,0), B0(x0,0), C0(x0,y0), and D0(0,y0).
[0113] After calculating the coordinates of the target boundary points, each target boundary point coordinate can be compared with the corresponding threshold boundary point coordinates to determine whether the target boundary point coordinates are greater than the threshold boundary point coordinates. If there is a target boundary point that is greater than the threshold boundary point coordinates, it means that translating the projected image according to the target boundary points will cause part of the projected image to exceed the projection surface. If all target boundary points are less than or equal to the corresponding threshold boundary point coordinates, it means that translating the projected image according to the target boundary points will not cause the projected image to exceed the projection surface.
[0114] Step S104: If the target boundary point coordinates are less than or equal to the threshold boundary point coordinates, the projected image is translated according to the image translation command.
[0115] In some embodiments, if the target boundary point coordinates are less than or equal to the threshold boundary point coordinates, the target coordinates of each pixel in the projected image after translation can be calculated based on the translation distance calculated in step S102. The pixel value of the target coordinates is set as the pixel value of the corresponding original pixel before translation, thereby realizing the overall translation of the projected image. The translation distance of each pixel is the same as the translation distance of the boundary point of the projected image.
[0116] Step S105: If the coordinates of the target boundary point are greater than the coordinates of the threshold boundary point, do not move the projected image.
[0117] In some embodiments, if the coordinates of the target boundary point are less than or equal to the coordinates of the threshold boundary point, the projected image is not moved.
[0118] In some embodiments, if the target boundary point is less than or equal to the coordinates of the threshold boundary point, the projection device may also display a prompt, such as "Rightmost boundary reached", to indicate to the user that the upper limit of translation in that translation direction has been reached.
[0119] by Figure 5Taking the current boundary points of the projected image as A2(x21, y21), B2(x22, y21), C2(x22, y22), and D2(x21, y22) as an example, based on... Figure 6 The translation method shown, after receiving the user's translation command, will produce the following result if obstacle avoidance is not enabled: (See the image below for the translation effect). Figure 7 , Figure 7 In the diagram, the boundary points after the projection image is translated are A3(x31, y31), B3(x32, y31), C3(x32, y32), and D3(x31, y32). P2 is the center point of the projection image before translation, and P3 is the center point of the projection image after translation. The difference between the X coordinates of P2 and P3 is the translation distance. Then: x31 = x21 + M, x32 = x22 + M1, y31 = y21, y32 = y22, M1 = x0 * s, where M1 is the translation distance and s is the translation step size.
[0120] If obstacle avoidance is enabled, please refer to the image showing the translated effect. Figure 8 , Figure 8 In the image, the boundary points after the projection image is translated are A4(x41, y41), B4(x42, y41), C4(x42, y42), and D4(x41, y42). P2 is the center point of the projection image before translation, and P4 is the center point of the projection image after translation. The difference between the X coordinates of P2 and P4 is the translation distance. Then:
[0121] x41=x21+M2, x42=x22+M2, y41=y21, y42=y22, M2=x1'-x22.
[0122] Where M2 is the translation distance, and M2 is less than the product of x0 and s.
[0123] In some embodiments, when the projection device 200 reduces the projected image, it reduces the projected image proportionally with the center point of the projected image as the center. The reduction method can be found in [reference needed]. Figure 9 It includes the following steps:
[0124] Step S201: Receive screen zoom-out command.
[0125] In some embodiments, the screen zoom-out command can be a control command input by the user through the control device of the projection device, or it can be a voice command. For example, the user can directly input the voice command "screen zoom-out" into the projection device.
[0126] Step S202: In response to the screen zoom-out command, calculate the coordinates of the target boundary point of the projected screen.
[0127] In some embodiments, after receiving a screen zoom-out instruction, the projection device obtains the current boundary point coordinates and center point coordinates of the projected screen, and calculates the target boundary point coordinates based on the current boundary point coordinates, center point coordinates, and screen zoom-out instruction.
[0128] For example, if the coordinates of one of the current boundary points of the projected image are (0, 0), the coordinates of the center point are (1920, 860), the scaling step is 2%, the width of the projection surface is 3840, and the height is 1920, then the coordinates of the target boundary point corresponding to the coordinates of the current boundary point are (0+3840*2%, 0+1920*2%), which is (77, 77).
[0129] Step S203: Determine whether the projected size corresponding to the coordinates of the target boundary point is less than the threshold size.
[0130] In some embodiments, the threshold size can be determined based on the size of the projection surface. If the size of the projection surface is large, the threshold size can be set to be large; if the size of the projection surface is small, the threshold size can be set to be small, so as to ensure the viewing effect.
[0131] Step S204: If the projection size corresponding to the target boundary point coordinates is greater than or equal to the threshold size, the projected image is scaled down according to the image scaling down instruction.
[0132] In some embodiments, if the projected size corresponding to the coordinates of the target boundary point is greater than or equal to the threshold size, the projected image can be scaled down.
[0133] Step S205: If the projected size corresponding to the coordinates of the target boundary point is less than the threshold size, the projected image is not reduced.
[0134] In some embodiments, if the projected size corresponding to the coordinates of the target boundary point is less than the threshold size, the projected image will not be scaled down.
[0135] In some embodiments, if the projected size corresponding to the target boundary point coordinates is less than the threshold size, the projection device may also display a prompt, such as "Shrunk to minimum size", to indicate to the user that the minimum projection size has been reached.
[0136] In some embodiments, when the projection device 200 enlarges the projected image, it does so proportionally with the center point of the projected image as the center. However, if the center point of the projected image is not the center point of the projection surface, that is, when the projected image is displayed off-center on the projection surface, enlarging the projected image may cause the boundary of the projected image to exceed the boundary of the projection surface. Figure 10As shown, the center point of the projected image A5B5C5D5 is P5, which is located to the left of the center point P0 of the projection surface. After enlarging the projected image A5B5C5D5, we get the projected image A6B6C6D6. The center point P6 of the projected image A6B6C6D6 coincides with P5. Part of the left side of the projected image A6B6C6D6 extends beyond the boundary of the projection surface and cannot be displayed on the projection surface, resulting in a poor projection effect.
[0137] To address the technical problem of the projected image exceeding the boundary of the projection surface after magnification, this application proposes a method for magnifying the projected image, see [link to relevant documentation]. Figure 11 The method may include the following steps:
[0138] Step S301: Receive screen zoom command.
[0139] In some embodiments, the image scaling command can be an image zoom-in command and an image zoom-out command. When the user issues an image zoom-in command to the projection device, the projection device can perform the zoom-out command accordingly. Figure 11 Perform screen zoom; when the user issues a screen zoom command to the projection device, the projection device can zoom out according to... Figure 11 or Figure 9 Perform screen zoom.
[0140] When the size of the projected image is smaller than the size of the projection surface, the user can input a zoom command to the projection device to make the projection device zoom in on the projected image.
[0141] In some embodiments, the screen magnification command may be a control command input by the user through the control device of the projection device, such as the screen magnification button input via the remote control of the projection device, or the screen magnification command input via a smart terminal such as a smartphone that is connected to the projection device.
[0142] In some embodiments, the projection device supports voice control, and users can directly input voice commands into the projection device, such as: "Zoom the image in a bit."
[0143] Step S302: In response to the screen scaling command, calculate the coordinates of the target boundary point of the projected screen.
[0144] In some embodiments, after receiving a screen zoom-out command, the projection device obtains the current boundary point coordinates and center point coordinates of the projected screen, and calculates the target boundary point coordinates based on the current boundary point coordinates, center point coordinates, and the screen zoom-out command.
[0145] If the current boundary points of the projected image are A5(LBX, LBY), B5(RBX, RBY), C5(RTX, RTY), D5(LTX, LTY), and the center point is P5(xp50, yp50), where xp50 = (RTX - LTX) / 2 and yp50 = (LTY - LBY) / 2, and the scaling factor is N (e.g., 5%, which can be customized), after enlarging the projected image, the target boundary point coordinates are A6(LBX2, LBY2), B6(RBX2, RBY2), C6(RTX2, RTY2), D6(LTX2, LTY2), and the center point is P6(xp60, yp60), where xp60 = (RTX2 - LTX2) / 2 and yp60 = (LTY2 - LBY2) / 2, then:
[0146] LTX2=LTX-(xp60-LTX)*N, LTY2=LTY+(LTY-yp60)*N,
[0147] RTX2=RTX+(RTX-xp60)*N, RTY2=RTY+(RTY-yp60)*N,
[0148] LBX2=LBX-(xp60-LBX)*N, LBY2=LBY-(yp60-LBY)*N,
[0149] RBX2=RBX+(RBX-xp60)*N, RBY2=RBY-(RBY-yp60)*N, P6=P5.
[0150] Step S303: Determine whether the coordinates of the target boundary points are all within the display range of the projection medium.
[0151] In some embodiments, the display range of the projection medium is the display range enclosed by A0, B0, C0, and D0. By comparing the coordinates of the target boundary point with the corresponding boundary point of the display range, that is, comparing A6 with A0, B6 with B0, C6 with C0, and D6 with D0, it can be determined whether the coordinates of the target boundary point are within the display range of the projection medium.
[0152] After comparing A6 with A0, B6 with B0, C6 with C0, and D6 with D0, if at least one of the following comparison results exists: 1) A6 is less than A0; 2) B6 is greater than B0; 3) C6 is less than C0; 4) D6 is greater than D0, then it is determined that the coordinates of the target boundary points are not within the display range of the projection medium.
[0153] Step S304: If the coordinates of the target boundary points are not within the display range of the projection medium, determine the translation direction based on the target boundary points that are outside the display range, and then translate the projected image according to the translation direction before zooming in.
[0154] In some embodiments, if A6 and / or D6 are not within the display range of the projection medium, the translation direction is determined to be rightward; if B6 and / or C6 are not within the display range of the projection medium, the translation direction is determined to be leftward; if A6 and / or B6 are not within the display range of the projection medium, the translation direction is determined to be upward; if D6 and / or C6 are not within the display range of the projection medium, the translation direction is determined to be downward.
[0155] In some embodiments, after determining the translation direction, the projected image can be translated according to a preset translation step size (e.g., 2%). See also Figure 12 The translated projected image has boundary points A7, B7, C7, and D7, and the center point is translated from P5 to P7.
[0156] After translation, it is determined whether the coordinates of the new target boundary points are all within the display range of the projection medium. If the coordinates are all within the display range, the translated projection image is enlarged until the boundary point coordinates match the new target boundary point coordinates. If the coordinates are not all within the display range, the translated projection image is translated again, and so on, until all predicted target coordinate points are within the display range, at which point the projection image is enlarged. See also Figure 13 When the boundary points of the projected image are A7, B7, C7, and D7, calculations show that the new target boundary point coordinates A8, B8, C8, and D8 are all within the display range of the projection medium. Therefore, the projected image can be enlarged using the center point P7, so that the boundary points of the projected image are A8, B8, C8, and D8. The center point P8 of the enlarged projected image coincides with P7.
[0157] In some embodiments, after determining the translation direction, the translation distance can be calculated first, and the projected image can be translated according to the translation distance before being enlarged. The translation distance can be determined based on the extent to which the target boundary point exceeds the display range of the projection medium. The translation distance can be: M0 = (f0 - f1) * p, where M0 is the translation distance, f1 is the coordinate of the target boundary point exceeding the display range of the projection medium in the translation direction, f0 is the coordinate of the boundary point of the projection medium corresponding to f1 in the translation direction, and p is the scaling ratio.
[0158] Step S305: If the coordinates of the target boundary points are all within the display range of the projection medium, the projected image is enlarged.
[0159] In some embodiments, if the coordinates of the target boundary points are all within the display range of the projection medium as obtained in step S303, the projected image can be directly enlarged instead of being translated.
[0160] Figures 11-13 A method for magnifying a projected image is shown. In this method, when it is determined that the target boundary point is outside the display range of the projection medium, the projected image is first translated and then magnified. It should be understood that the projected image can also be magnified first and then moved into the display range of the projection medium.
[0161] In some embodiments, if the projection device has an obstacle avoidance function enabled, then in a scenario where the projected image is magnified, if it is necessary to translate the projected image, the translation distance can be determined according to the obstacle avoidance method in the above embodiments, so that the obstacle is located as close as possible to the corner of the magnified projected image, thereby reducing the impact on the projection effect.
[0162] If another zoom-in command is received for the projected image, it means that the current zoom-in effect does not meet the user's needs. The position of the obstacle can be disregarded, and the projected image can be directly translated according to a fixed translation step. Alternatively, the translation distance can be determined based on the size of the target boundary point that exceeds the display range of the projection medium, and the projected image can be translated before zooming in.
[0163] In some embodiments, if the projection device has the obstacle avoidance function enabled, in the scenario where the projected image is magnified, it can be determined whether there is a display area in the scaled projected image that overlaps with the area on the projection medium that is blocked by an obstacle. If there is an overlapping display area, the scaling ratio can be reduced and the target boundary point can be recalculated to reduce the obstruction of the projected image by the obstacle.
[0164] If another zoom-in command is received for the projected image, it means that the current zoom-in effect does not meet the user's needs. The position of the obstacle can be disregarded, and the projected image can be directly translated according to a fixed translation step. Alternatively, the translation distance can be determined based on the size of the target boundary point that exceeds the display range of the projection medium, and the projected image can be translated before zooming in.
[0165] In some embodiments, if the projection device has obstacle avoidance enabled, in scenarios where the projected image is magnified, the position of the obstacle can be disregarded initially. After magnifying the projected image to the display range of the projection medium, it can be determined whether the scaled projected image has a display area that overlaps with the area on the projection medium that is obscured by the obstacle. If an overlapping display area exists, the projected image is shifted to minimize the obstruction. See also Figure 14 After magnification, the boundary points of the projected image change from A5, B5, C5, D5 to A9, B9, C9, D9, making the projected image larger and avoiding obstacles.
[0166] Of course, if a zoom-in command is received again for the projected image, it means that the current zoom-in effect does not meet the user's needs. The position of the obstacle can be disregarded, and the projected image can be directly translated according to a fixed translation step. Alternatively, the translation distance can be determined based on the size of the target boundary point that exceeds the display range of the projection medium before translating the projected image and then zooming in.
[0167] As can be seen from the above embodiments, after receiving the user's screen scaling instruction, this application embodiment calculates the coordinates of the scaled target boundary point and determines whether the coordinates of the target boundary point will exceed the display range of the projection medium. If it is determined that they will exceed the display range, the translation direction is determined based on the exceeded target boundary point. The projection screen is then translated according to the translation direction to avoid whether the coordinates of the target boundary point will exceed the display range of the projection medium. This solves the problem of the projection screen exceeding the display range of the projection medium after scaling and improves the screen scaling experience of the projection device.
[0168] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0169] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.
Claims
1. A projection device, characterized by The lens, the optical machine, and the controller are configured to: receive a picture zoom instruction; calculate target boundary point coordinates of a projected picture in response to the picture zoom instruction; determine whether the target boundary point coordinates are all within a display range of a projection medium; if the target boundary point coordinates are not all within the display range of the projection medium, determine a translation direction according to a target boundary point that exceeds the display range, and then translate the projected picture in the translation direction and zoom the projected picture; if the target boundary point coordinates are all within the display range of the projection medium, zoom the projected picture. The calculation of the target boundary point coordinates of the projected picture includes: obtaining a center point coordinate of the projected picture; calculating target boundary point coordinates corresponding to current boundary point coordinates of the projected picture according to the current boundary point coordinates, the center point coordinate, and a zoom ratio.
2. The projection device according to claim 1, characterized in that, The translation of the projected picture in the translation direction and then the zooming of the projected picture includes: calculating boundary point coordinates after translation of the current boundary point coordinates according to the current boundary point coordinates, the translation direction, and a translation step length; calculating zoomed boundary point coordinates corresponding to the boundary point coordinates after translation according to the boundary point coordinates after translation, the center point coordinate, and the zoom ratio; 3. The projection apparatus according to claim 1, wherein, determining whether the zoomed boundary point coordinates are all within the display range of the projection medium; if the target boundary point coordinates are all within the display range of the projection medium, zooming the projected picture; if the target boundary point coordinates are not all within the display range of the projection medium, continuing to translate the projected picture and then zooming the projected picture. The translation of the projected picture in the translation direction and then the zooming of the projected picture includes: calculating a translation distance according to a size of the target boundary point exceeding the display range of the projection medium and the zoom ratio; translating the projected picture in the translation direction and according to the translation distance; 4. The projection apparatus according to claim 1, wherein, zooming the projected picture after translation according to the zoom ratio. The controller is further configured to: determining whether the zoomed projected picture has a display area that overlaps with an area blocked by an obstacle on the projection medium; if the display area exists, translating the projected picture to reduce the overlapping display area.
5. The projection apparatus according to claim 1, wherein, The calculation of the target boundary point coordinates of the projected picture includes: obtaining a center point coordinate of the projected picture; obtaining boundary point coordinates of the projected picture; 6. The projection apparatus according to claim 1, wherein, calculating target boundary point coordinates corresponding to the current boundary point coordinates of the projected picture according to the current boundary point coordinates, the center point coordinate, and a zoom ratio; determining whether the target boundary point coordinates are within an area blocked by an obstacle on the projection medium; if the target boundary point coordinates are within the area blocked by the obstacle on the projection medium, reducing the zoom ratio; updating the target boundary point coordinates according to the reduced zoom ratio. The translation of the projected picture in the translation direction and then the zooming of the projected picture includes: determining whether the target boundary point coordinates are within the area blocked by the obstacle on the projection medium; if the target boundary point coordinates are within the area blocked by the obstacle on the projection medium, reducing a translation step length; 7. The projection apparatus according to claim 1, wherein, translating the projected picture in the translation direction and according to the reduced translation step length, and then zooming the projected picture. 8. The projection apparatus according to claim 1, wherein, The controller is further configured to: in response to the picture zoom instruction, judging whether the size of the projection picture is the maximum size or the minimum size; if the projection picture is the maximum size and the picture zoom instruction is the zoom-in instruction, generating a prompt message representing that the projection picture has been the maximum picture, or if the projection picture is the minimum size and the picture zoom instruction is the zoom-out instruction, generating a prompt message representing that the projection picture has been the minimum picture.
9. A method of projecting a picture zoom, characterized by, comprising: receiving a picture zoom instruction; in response to the picture zoom instruction, calculating target boundary point coordinates of the projection picture; judging whether the target boundary point coordinates are all within the display range of the projection medium; if the target boundary point coordinates are not all within the display range of the projection medium, determining a translation direction according to the target boundary point exceeding the display range, and then zooming the projection picture after translating the projection picture according to the translation direction; if the target boundary point coordinates are all within the display range of the projection medium, zooming the projection picture.
Citation Information
Patent Citations
Display device, mobile terminal and picture synchronous scaling method
WO2022089076A1