Device and method for simultaneous imaging of far and near targets
By setting the convex face of the preset lens in front of the far-focus lens, the imaging light of the near-end object is concentrated to the imaging surface of the far-end object, solving the problem that clear imaging of far-end objects cannot be achieved simultaneously in the prior art, and achieving no adjustment required High-definition imaging of focals and maintains effects in dark environments, with simple structure and low cost characteristics.
Patent Information
- Application Number
- CN202411477442.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing imaging devices cannot achieve far-near goals without manual or electric focus while imaging clearly, especially in darker environments.
By setting a preset lens in front of the telefocal lens, the imaging light of the nearest object is concentrated on the imaging surface of the distal object by using the convex surface, so as to achieve clear imaging without focusing, and adjust the pixel vector and grayscale value Optimize image quality.
It realizes clear imaging of far and near targets simultaneously without manual or electric focus, and maintains high definition when the environment is dark, and has a simple structure and low cost.
Smart Images

Figure CN119065096A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical imaging technology, and more particularly to a device and method for simultaneously imaging near and far objects. Background Art
[0002] As we all know, the clear imaging of mobile phone lenses, camera lenses, and surveillance cameras has a certain range. When the distant image is clear, it cannot meet the clear imaging of the near at the same time. At this time, manual or electric focusing is required to see the near clearly. For example, the Chinese utility model patent with the authorization announcement number CN209356744U provides a single-chip internal focusing optical lens that can take into account both distant and near images at the same time. The utility model patent achieves clear imaging at different object distances by moving the lens back and forth.
[0003] In order to solve the problem of inconvenient manual or electric focusing, the Chinese invention patent with publication number CN116149113A provides an automatic aperture mechanism built into the sighting system and its control method, which can realize the autonomous control of the aperture mechanism in complex environments, so that the aperture mechanism can adjust the illumination adaptively. However, the use of the aperture will reduce the effective aperture of the lens, significantly reducing the light energy involved in imaging, which is not conducive to use in slightly dark environments.
[0004] Therefore, current imaging devices have many deficiencies and are unable to achieve clear imaging of both near and far targets simultaneously. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a device and method for simultaneously imaging near and distant targets. The device sets a convex portion on a preset lens to converge the imaging light of the near-end object onto the imaging surface of the current far-end object, thereby achieving clear imaging when simultaneously shooting near and distant targets without manual or electric focusing.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A device for simultaneously imaging near and far targets, comprising:
[0008] A telephoto lens, wherein the focal length of the telephoto lens is set to the imageable focal length of the remote object;
[0009] A preset lens, wherein the preset lens is arranged in parallel in front of the telephoto lens, and the center of the preset lens is on the same horizontal line as the focus of the telephoto lens;
[0010] The preset lens includes a plane portion located in the center of the preset lens and a convex portion surrounding the plane portion, and the convex portion is used to converge the imaging light of the proximal object onto the imaging surface of the current distal object.
[0011] As a further improvement of the present invention, the area S of the planar portion 1 The area S of the convex portion 2 Satisfied: 0.2 1 / S 2 <5.
[0012] As a further improvement of the present invention, the focal length of the convex portion is equal to the distance between the proximal object and the convex portion.
[0013] As a further improvement of the present invention, the imageable focal length is: the distance between the imaging plane of the telephoto lens and the lens when the imaging plane of the telephoto lens is within the focal depth.
[0014] As a further improvement of the present invention, the focal length of the convex portion is r1 / (n-1), wherein r1 is the curvature of the convex portion and n is the refractive index.
[0015] The present invention also provides an imaging method using the imaging device, comprising:
[0016] According to the distance of the remote object to be photographed, the focal length of the fixed telephoto lens is the imageable focal length;
[0017] configuring the focal length of the convex portion according to the distance between the near-end object to be photographed and the convex portion;
[0018] The far-end object and the near-end object are photographed, and the images photographed by the telephoto lens are output.
[0019] As a further improvement of the present invention, the photographing of the far-end object and the near-end object and outputting the image photographed by the telephoto lens includes:
[0020] Under the same conditions, using a close-focus lens to photograph the near-end object alone to obtain a preset image of the near-end object;
[0021] According to the pixel vector of each pixel point of the near-end object in the preset image, the pixel vector of each pixel point of the near-end object in the image captured by the telephoto lens is adjusted.
[0022] As a further improvement of the present invention, adjusting the pixel vector of each pixel point of the near-end object in the image captured by the telephoto lens according to the pixel vector of each pixel point of the near-end object in the preset image includes:
[0023] Calculating the mean value of the pixel vector of each pixel point of the near-end object in the preset image and the image taken by the telephoto lens respectively;
[0024] Comparing the ratio of each numerical difference in the mean values of the vectors of the two images respectively;
[0025] According to the ratio, in the image captured by the telephoto lens, each value in the pixel vector of each pixel point of the near-end object is adjusted proportionally to obtain an image containing the far-end object and the near-end object.
[0026] As a further improvement of the present invention, the photographing of the far-end object and the near-end object and outputting the image photographed by the telephoto lens includes:
[0027] Under the same conditions, using a close-focus lens to photograph the near-end object alone to obtain a preset image of the near-end object;
[0028] According to the grayscale value of each pixel of the near-end object in the preset image, the grayscale value of each pixel of the near-end object in the image captured by the telephoto lens is adjusted.
[0029] As a further improvement of the present invention, according to the grayscale value of each pixel of the near-end object in the preset image, adjusting the grayscale value of each pixel of the near-end object in the image captured by the telephoto lens includes:
[0030] Calculating the grayscale value of each pixel of the near-end object in the preset image and the image taken by the telephoto lens respectively;
[0031] In the image captured by the telephoto lens, the grayscale value of each pixel of the near-end object is simultaneously subjected to multiple γ (gamma) power operations;
[0032] Among the multiple operation results, the operation result closest to the grayscale value of the near-end object in the preset image is selected, and an image containing the far-end object and the near-end object is output.
[0033] The present invention adjusts the shooting light of the near-end object by presetting the convex portion on the lens, and converges the imaging light of the near-end object onto the imaging surface of the currently described far-end object, thereby achieving clear imaging when shooting near and far targets at the same time without manual or electric focusing, and clear imaging is also possible under dark external environment conditions. It has the characteristics of simple structure and low cost, and has broad market application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0035] Figure 2 It is a schematic diagram of the structure of the preset lens in the present invention;
[0036] Figure 3is a flow chart of the method for using the device of the present invention;
[0037] Figure 4 Schematic diagram of the imaging principle of a distant scene in the present invention;
[0038] Figure 5 Schematic diagram of the imaging principle of the near-end scene in the present invention;
[0039] Figure 6 Schematic diagram of the conversion from pixel value to grayscale value;
[0040] Figure 7 A comparison of the shooting results before and after adding the preset lens.
[0041] Reference numerals: 1, preset lens; 2, telephoto lens; 3, lens sleeve; 13, flat portion; 21, convex portion; S 1 , the area of the plane part; S 2 , the area of the convex part; f 1 , focal length of the plane part; f 2 , the focal length of the convex portion. DETAILED DESCRIPTION
[0042] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations of the technical solution of the present invention.
[0043] The term "and / or" in the following text is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0044] The same components are denoted by the same reference numerals hereinafter. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the drawings, and the words "bottom" and "top", "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.
[0045] In order to achieve clear imaging when simultaneously photographing distant and near objects without manual or electric focusing, the present invention provides a device and method for simultaneously imaging distant and near objects.
[0046] like Figure 1 and Figure 2 As shown, a device for simultaneously imaging near and far targets comprises:
[0047] A telephoto lens 2, wherein the focal length of the telephoto lens 2 is set to be an imageable focal length of a remote object;
[0048] A preset lens 1, wherein the preset lens 1 is arranged in parallel in front of the telephoto lens 2, and the center of the preset lens 1 and the focus of the telephoto lens 2 are on the same horizontal line;
[0049] The preset lens 1 includes a plane portion 13 located in the center of the preset lens 1 and a convex portion 21 surrounding the plane portion. The convex portion 21 is used to converge the imaging light of the near-end object onto the imaging surface of the current far-end object.
[0050] Furthermore, the present invention does not limit the type of the convex portion 21 , that is, the convex portion 21 may be a biconvex lens or a plano-convex lens.
[0051] The present invention can realize clear imaging of both near and far objects without manual or electric focusing by reasonably optimizing the preset lens 1, and the present invention does not realize clear imaging of near and far objects by reducing light energy, so clear imaging can be achieved even in dark external environments.
[0052] To facilitate understanding, relevant concepts involved in the present invention are introduced below.
[0053] In optical theory, the focus refers to the point where light parallel to the principal optical axis converges after passing through a convex lens. The distance between the focus and the center of the convex lens is called the focal length, and the plane where the focus is located and perpendicular to the principal optical axis is called the focal plane.
[0054] The principle of adjusting the focal length of a camera is to change the distance between the camera lens and the imaging plane so that the imaging plane coincides with the focal plane to obtain an image of the object. Theoretically, the image of the object is clear only when the imaging plane is at the focal plane of the lens. When the imaging plane is in front of or behind the focal plane, the image is blurred. At this time, the imaging point forms an enlarged circle, which is called the circle of confusion.
[0055] However, due to the limited resolution of the human eye, blurriness will only be felt when the diameter of the confusion circle is large enough. The distance that appears clear to the human eye is the depth of field, which corresponds to the allowable confusion circle. There is an allowable confusion circle before and after the focus, and the distance between these two confusion circles is the depth of field, which corresponds to the depth of field of the object being photographed. The calculation formula for the depth of field is:
[0056] D = 2Ncv / f,
[0057] Where D is the depth of focus, N is the camera aperture number, c is the diameter of the circle of confusion, v is the image distance, and f is the focal length of the lens.
[0058] Therefore, when photographing a remote object, when the imaging plane of the telephoto lens 2 is between two confusion circles (i.e., when the imaging plane is at the focal depth), the object can be considered to be clear. At this time, the distance between the imaging plane and the telephoto lens 2 is called the imageable focal length. The range of the imageable focal length can be expressed as
[0059] After the focal length of the telephoto lens 2 is set to the imageable focal length of the distal object, the focal length that the convex portion 21 needs to be configured is determined according to the distance between the proximal object to be photographed and the convex portion 21, and a suitable preset lens 1 is selected according to the focal length that needs to be configured.
[0060] This is because the function of the convex portion 21 is to converge the imaging light of the near-end object onto the imaging surface of the current far-end object, that is, to convert the imaging light of the near-end object into parallel light similar to the imaging light of the far-end object. According to the principle of the convex lens, the light emitted from the focus to the convex lens will be parallel to the main optical axis after being refracted by the convex lens. Therefore, as long as the focal length of the convex portion 21 is set to the distance between the near-end object to be photographed and the convex portion 21, the imaging light of the far-end object can be refracted into parallel light.
[0061] It should be noted that for the area covered by the lens corresponding to the far object, it is incident into the lens with parallel light, so it is imaged at the same time as the near view. Therefore, in this application, there is interference between part of the near view and part of the far view, but the interference between the far view and the near view is not obvious. Figure 7 As shown, the part corresponding to the central area of the picture is still relatively clear, which shows that the interference of the near view caused by the distant view has little effect and can be ignored.
[0062] In addition, the focal length of the convex portion is r1 / (n-1), where r1 is the curvature of the convex portion and n is the refractive index. In this way, the near view is placed near the focus and converted into parallel light by the plano-convex lens, and the distant view is imaged on the focal plane by the convex lens, so that the near view and the distant view are displayed relatively clearly at the same time. In order to reduce the time for configuring the focal length, the convex angle of the convex portion 21 can be set to be adjustable, and the focal length required by the convex portion can be adjusted by the angle of the convex portion 21.
[0063] At this focal length, the convex portion can converge the imaging light of the near-end object onto the imaging surface of the current far-end object, thereby achieving the effect of clear imaging of both near and far objects at the same time.
[0064] In addition, in order to fix the preset lens 1 , a lens sleeve 3 may be used to fix the preset lens 1 on the telephoto lens 2 .
[0065] It can be seen from the above embodiments that the simultaneous imaging device for near and far targets provided by the present application, due to the addition of the convex portion 21, converges the imaging light of the near-end object onto the imaging surface of the current far-end object, thereby achieving clear imaging when simultaneously photographing near and far objects without manual or electric focusing.
[0066] It should be noted that the simultaneous imaging solution obtained in the present application takes into account the interference of high beam and low beam during imaging, which imposes some limitations on the overall clarity. The embodiments of the present application can be used in specific scenarios, such as medical surgery scenarios, where the surgeon needs both the high beam and the low beam to appear in the field of vision at the same time. The present application does not impose any restrictions on this.
[0067] It should be further explained that the distant view and near view in this application are relative concepts. The two can form a combination of one far and one near. In specific scenes, the distant view and near view can be set based on the focal length of the lens. Both are indoor objects, and this application will not elaborate on this.
[0068] The following is a detailed description of the imaging method of the present application using the device in the above embodiment.
[0069] In order to achieve clear imaging of both near and far targets, the present application further provides a method for simultaneously imaging both near and far targets, such as Figure 3 As shown, the method includes:
[0070] According to the distance of the remote object to be photographed, the focal length of the fixed telephoto lens 2 is the imageable focal length;
[0071] According to the distance between the near-end object to be photographed and the convex portion 21, the focal length of the convex portion is configured;
[0072] Capture distant objects and near objects, and output images captured by telephoto lens 2.
[0073] The imaging principle in the above steps is as follows Figure 4 and Figure 5 As shown:
[0074] The shooting light of the remote object enters through the plane portion 13 and converges on the imaging surface of the telephoto lens 2 to form a clear image;
[0075] The shooting light of the near-end object enters through the convex surface 21, and is refracted by the convex surface 21 and converges on the imaging surface of the telephoto lens 2, forming a clear image at the same time as the far-end object.
[0076] Since a longer focal length is required when photographing a remote object, when the focal length is longer, the imaging viewing angle is smaller. Therefore, most of the light when photographing a remote object will enter through the plane portion 13. Since the remote object is far away from the preset lens 1, the light passing through the plane portion 13 can be approximated as light parallel to the main optical axis. At this time, only a small part of the light will pass through the convex portion 21. At this time, the light passing through the convex portion 21 can be ignored. However, if the area of the plane portion 13 is much smaller than the area of the convex portion 21, the light passing through the convex portion 21 may affect the imaging effect of the remote object.
[0077] When shooting a near-end object, since the near-end object is closer to the preset lens 1 and the imaging angle is larger, more light will pass through the plane portion 13 and the convex portion 21. The light passing through the convex portion 21 is refracted and converged on the imaging surface of the telephoto lens 2, forming a clear image at the same time as the far-end object; while the light entering through the plane portion 13 cannot converge on the imaging surface of the telephoto lens 2. When the area of the plane portion 13 of the configured preset lens 1 is much larger than the area of the convex portion 21, too much light will pass through the plane portion 13, and these lights may affect the imaging effect of the near-end object.
[0078] Although the above problem may only occur when the area of the convex portion 21 and the flat portion 13 differ greatly, and the possibility of occurrence is small, the possibility of occurrence of the above problem cannot be completely ruled out. Therefore, this embodiment provides two solutions to the above problem.
[0079] First, the area occupied by the convex portion 21 and the flat portion 13 can be adjusted. The inventor of the present application has found through experiments that when the area S of the flat portion 13 is 1 The area S of the convex portion 21 2 Satisfied: 0.2 1 / S 2 When <5, it can meet the requirements of clear imaging of both near-end and far-end objects under most conditions.
[0080] Secondly, the output image can be processed. In the above problem, the influence of light on the imaging effect can be converted into the influence on the brightness and clarity of the output image, and the brightness of the image is usually determined by the pixels of the image. Therefore, based on this, the inventor uses a close-focus lens to shoot the near-end object alone under the same conditions to obtain a preset image of the near-end object, and adjusts the pixel vector of each pixel point of the near-end object in the image shot by the telephoto lens 2 according to the pixel vector of each pixel point of the near-end object in the preset image, such as Figure 6 As shown, the pixel vector of each pixel can be expressed as [r, g, b], where r, g, and b represent the values of red, green, and blue in the three primary colors, respectively.
[0081] This embodiment further provides a method for adjusting image brightness, the specific steps are:
[0082] Calculate the mean of the pixel vectors of the near-end object in the preset image and the image taken by the telephoto lens 2 respectively;
[0083] Compare the ratio of each numerical difference in the mean of the vectors of the two images respectively;
[0084] According to the phase difference ratio, in the image captured by the telephoto lens 2, each value in the pixel vector of each pixel point of the near-end object is adjusted proportionally to obtain an image containing the far-end object and the near-end object.
[0085] Through the above steps, the brightness of the image can be adjusted, thereby reducing the influence of the image brightness on the image quality.
[0086] On the other hand, the grayscale of the image is an important factor affecting the clarity of the image. When the details in the image are not fully displayed, the image details can be compressed to make the image details appear more clearly.
[0087] Therefore, in the case of insufficient image clarity, under the same conditions, a near-focus lens can be used to shoot the near-end object alone to obtain a preset image of the near-end object, and based on the grayscale value of each pixel of the near-end object in the preset image, the grayscale value of each pixel of the near-end object in the image shot by the telephoto lens 2 is adjusted. The method for adjusting the grayscale value can use logarithmic change, γ (gamma) change, grayscale histogram, etc.
[0088] This embodiment takes the change of γ as an example to further provide a method for adjusting the grayscale value of an image. The specific steps are:
[0089] In the preset image and the image taken by the telephoto lens 2, the gray value of each pixel of the near-end object is calculated. The gray value of each pixel is calculated as follows: gray = 0.299*r + 0.587*g + 0.144*b, where gray represents the gray value;
[0090] In the image captured by the telephoto lens 2, the grayscale value of each pixel of the near-end object is multiplied by γ times;
[0091] When γ is less than 1, the lower grayscale areas in the image will be stretched and the higher grayscale areas will be compressed. Conversely, when γ is greater than 1, the lower grayscale areas in the image will be compressed and the higher grayscale areas will be stretched. Therefore, the value of γ needs to be selected according to the grayscale of the image.
[0092] Among the multiple operation results, the operation result closest to the grayscale value of the near-end object in the preset image is selected, and an image containing the far-end object and the near-end object is output.
[0093] Through the above steps, the clarity of the image can be improved, thereby reducing the impact of image exposure on image quality.
[0094] It can be seen from the above embodiments that the method and device for simultaneous imaging of near and far targets provided by the present invention, by setting the convex portion 13 of the preset lens 1, converges the imaging light of the near-end object to the imaging surface of the current far-end object, so that the near and far targets can be clearly imaged simultaneously without manual or electric focusing, and a solution to possible image exposure conditions is proposed, with a simple structure and easy operation.
[0095] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A device for simultaneously imaging near and far targets, characterized in that: include: A telephoto lens, wherein the focal length of the telephoto lens is set to the imageable focal length of the remote object; A preset lens, wherein the preset lens is arranged in parallel in front of the telephoto lens, and the center of the preset lens is on the same horizontal line as the focus of the telephoto lens; The preset lens includes a plane portion located in the center of the preset lens and a convex portion surrounding the plane portion, and the convex portion is used to converge the imaging light of the proximal object onto the imaging surface of the current distal object.
2. The device for simultaneous imaging of near and far targets according to claim 1, characterized in that: The area S1 of the planar portion and the area S2 of the convex portion satisfy: 0.2<S1 / S2<5.
3. The device for simultaneous imaging of near and far targets according to claim 2, characterized in that: The focal length of the convex portion is equal to the distance between the near-end object and the convex portion.
4. The device for simultaneous imaging of near and far targets according to claim 1, characterized in that: The imageable focal length is: the distance between the imaging plane of the telephoto lens and the lens when the imaging plane is within the focal depth.
5. The device for simultaneous imaging of near and far targets according to claim 1, characterized in that: The focal length of the convex portion is r1 / (n-1), where r1 is the curvature of the convex portion and n is the refractive index.
6. An imaging method using the device for simultaneously imaging near and far targets as claimed in any one of claims 1 to 5, characterized in that: include: According to the distance of the remote object to be photographed, the focal length of the fixed telephoto lens is the imageable focal length; configuring the focal length of the convex portion according to the distance between the near-end object to be photographed and the convex portion; The far-end object and the near-end object are photographed, and the images photographed by the telephoto lens are output.
7. The method for simultaneous imaging of near and far targets according to claim 6, characterized in that: The photographing of the far-end object and the near-end object and outputting the image photographed by the telephoto lens comprises: Under the same conditions, using a close-focus lens to photograph the near-end object alone to obtain a preset image of the near-end object; According to the pixel vector of each pixel point of the near-end object in the preset image, the pixel vector of each pixel point of the near-end object in the image captured by the telephoto lens is adjusted.
8. The method for simultaneous imaging of near and far targets according to claim 7, characterized in that: The step of adjusting the pixel vector of each pixel of the near-end scene in the image taken by the telephoto lens according to the pixel vector of each pixel of the near-end object in the preset image comprises: Calculating the mean value of the pixel vector of each pixel point of the near-end object in the preset image and the image taken by the telephoto lens respectively; Comparing the ratio of each numerical difference in the mean values of the vectors of the two images respectively; According to the ratio, in the image captured by the telephoto lens, each value in the pixel vector of each pixel point of the near-end object is adjusted proportionally to obtain an image containing the far-end object and the near-end object.
9. The method for simultaneous imaging of near and far targets according to claim 6, characterized in that: The photographing of the far-end object and the near-end object and outputting the image photographed by the telephoto lens comprises: Under the same conditions, using a close-focus lens to photograph the near-end object alone to obtain a preset image of the near-end object; According to the grayscale value of each pixel of the near-end object in the preset image, the grayscale value of each pixel of the near-end object in the image captured by the telephoto lens is adjusted.
10. The method for simultaneous imaging of near and far targets according to claim 9, characterized in that: According to the grayscale value of each pixel of the near-end object in the preset image, in the image captured by the telephoto lens, adjusting the grayscale value of each pixel of the near-end object in the image captured by the telephoto lens comprises: Calculating the grayscale value of each pixel of the near-end object in the preset image and the image taken by the telephoto lens respectively; In the image captured by the telephoto lens, a plurality of gamma-power operations are performed on the grayscale value of each pixel of the near-end object at the same time; Among the multiple operation results, the operation result closest to the grayscale value of the near-end object in the preset image is selected, and an image containing the far-end object and the near-end object is output.
