The present disclosure relates generally to digital presenters.
A digital presenter may be used to display a wide variety of media from printed materials (e.g., transparencies, documents, books, etc.) to other media such as slides, photographs or films, as well as 3-dimensional physical objects.
Unlike analog overhead projectors, a digital presenter may use a digital (still or video) camera to capture images of 2- or 3-dimensional objects that are then conveyed to other output devices (such as television screens or computer monitors) or displayed through an LCD projector, etc.
A digital presenter generally includes a light source(s) capable of providing sufficient illumination to detect and capture images of the media or object to be displayed. In this regard, since the digital presenter relies on a light source(s) for illumination, when an image is captured by the camera, specular reflection (highlight or glare) from the surface of the object to be displayed may adversely affect the quality of the image captured.
In addition, if the surfaces of the materials whose images are being captured are not sufficiently flat, then the captured images may be blurry or out-of-focus. For example, the portions of pages near the spine (or binding) of bound documents (such as books or magazines) tend to be curved, and as a result, such portions may not receive uniform or sufficient illumination, potentially making the images captured from these portions blurry and out-of-focus.
Conventional digital presenters may employ multiple light sources and/or cameras, and strategic positioning of the cameras and/or light sources may be needed for proper functioning—but such systems tend to be cumbersome and costly to implement.
Embodiments of image displaying methods and apparatuses are disclosed herein. In one embodiment by way of non-limiting example, an image displaying apparatus includes a base capable of supporting an object; a camera configured to capture a plurality of images of the object; an illumination system housing a plurality of illuminators; an illumination control system configured to control illumination provided by the plurality of illuminators; and a focus control system configured to control a focus of the camera.
In another embodiment, a method for displaying an image includes capturing a plurality of images of an object; comparing respective pixels of the plurality of images; selecting one pixel from the respective pixels of the plurality of the images; forming an image from the selected pixels; and outputting the image.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here. It will be readily understood that the components of the present disclosure, as generally described herein, and illustrated in the Figures, may be arranged, substituted, combined, and designed in a wide variety of different configurations, all of which are explicitly contemplated and make part of this disclosure.
The plurality of illuminators 150 may illuminate the object 180 to provide illumination and/or visual effects so that the camera system 120 may detect and capture images of the object to be displayed.
Various light sources, such as light-emitting diodes (LEDs), halogen lamps, cold cathode ray tubes, incandescent lamps, etc., may be employed as illuminators 150. In one embodiment by way of non-limiting example, LED illuminators may be used where the illuminators 150 may be disposed around the camera system 120 to illuminate the object 180 to be displayed from above. In another embodiment, the illuminators 150 may be integrated with the base 110 so that illumination may be provided from the base, below the object 180 to be displayed.
In one illustrative embodiment, the illuminator control system 160 may individually energize and/or de-energize the plurality of illuminators 150 and may control the camera system 120 to capture images of the object 180 while the illuminators are being individually activated or energized and/or de-energized. For example, as each of the illuminators 150 is being individually energized and de-energized, camera system 120 may capture an image of the object 180 while the corresponding illuminator is being energized. The camera system 120 may be synchronized with the illuminator control system 160 so that camera system 120 captures a plurality of images each corresponding to a respective illuminator 150 being activated. Thus, for example, for each illuminator 150, an image may be captured when that illuminator 150 is energized and while the other illuminators of illuminators 150 are de-energized. In addition, the camera system 120 may include storage means not shown in
In some illustrative embodiments, focus control system 170 may act to focus camera system 120 by adjusting the focus of a camera lens in system 120 and/or by raising, lowering or otherwise manipulating the camera system 120 relative to the base 110. Depth of field (DOF) may be described as a range of distances between camera system 120 and object 180 within which an image of object 180 may be considered acceptably sharp. The DOF may vary depending on camera type, aperture and focusing distance. Those skilled in the art in light of the disclosure provided herein will appreciate that when an image is described as being brought into focus, it may also mean that an image point is within the DOF.
In some illustrative embodiments, the focus control system 170 may cause the camera system 120 to capture images of the object 180 at a plurality of focal distances. Further, the camera system 120 may be synchronized with the focus control system 170 in order to controllably adjust camera focus and capture images of the object 180, where each image captured may correspond to a respective one of the focal distances. In addition, the camera system 120 may include a plurality of frame memories for storing the captured images.
In another illustrative embodiment, at block 210, a plurality of images may be captured at a plurality of focal distances of the camera. For example, as the focus of the camera system 120 is changed, a plurality of images of the object 180 may be captured, each image corresponding to a different focal distance of the camera. This image acquisition process may be repeated and each image may be stored in a memory of the camera system 120. As explained above, instead of changing the focus of the camera system 120 directly, similar focus-changing effects may be achieved by moving the base 110 with respect to camera system 120.
At block 220, respective pixels of the plurality of images may be compared with each other and at block 230 one pixel may be selected from the respective pixels of the plurality of the images in response to comparing the respective pixels. At block 240, the selected pixels may be combined to form a final image to be output at block 250.
In
At block 310 of process 300, K may be initialized to 0 and incremented by one at block 320. At block 330, if K is larger than M (maximum number of pixels), then all pixels may be considered to be processed, and process 300 may be terminated. Otherwise, at block 340, a determination is made as to whether all Kth pixels of the plurality of images have a brightness value greater than an upper threshold brightness value (TH). Brightness, also known as luminance, may be considered as the amount of light that passes through or is emitted from a particular area, and the standard unit for luminance is candela per square meter (cd/m2). In some embodiments, the upper threshold brightness value may range from about 5 cd/m2 to about 20 cd/m2, from about 10 cd/m2 to about 20 cd/m2, from about 15 cd/m2 to about 20 cd/m2, from about 5 cd/m2 to about 10 cd/m2, from about 5 cd/m2 to about 15 cd/m2, or from about 10 cd/m2 to about 15 cd/m2. In other embodiments, upper threshold brightness value may be about 5 cd/m2, about 10 cd/m2, about 15 cd/m2, or about 20 cd/m2.
When all pixels have a brightness value larger than the upper threshold brightness value, the surface of the object 180 may be determined to be “bright” at the image point corresponding to the Kth pixels. Thus, at block 350, the minimum brightness value of the Kth pixels may be outputted as a brightness value of the Kth pixel. If at least one of the pixels has brightness lower than the upper threshold value, process 300 may proceed to block 360.
At block 360, it may be determined whether all Kth pixels of the images have a brightness value smaller than a lower threshold brightness value (TL). In some embodiments, the lower threshold brightness value may range from about 0.1 cd/m2 to about 5 cd/m2, from about 0.5 cd/m2 to about 5 cd/m2, from about 1 cd/m2 to about 5 cd/m2, from about 2.5 cd/m2 to about 5 cd/m2, from about 0.1 cd/m2 to about 0.5 cd/m2, from about 0.1 cd/m2 to about 1 cd/m2, from about 0.1 cd/m2 to about 2.5 cd/m2, from about 0.5 cd/m2 to about 1 cd/m2, or from about 1 cd/m2 to about 2.5 cd/m2. In other embodiments, the lower threshold brightness value may be about 0.1 cd/m2, about 0.5 cd/m2, about 1 cd/m2, about 2.5 cd/m2, or about 5 cd/m2.
When all pixels have a brightness value smaller than the threshold value, the surface of the object 180 may be determined to be “dark” at the image point corresponding to the Kth pixels. Thus, at block 370, a maximum brightness value of the pixels may be outputted as a brightness value of the Kth pixel. If at least one of the pixels has brightness larger than the lower threshold value, process 300 may proceed to block 380.
At block 380, an average brightness of the pixels may be outputted as the brightness value of the Kth pixel. In calculating the average brightness value, various considerations may be made. For example, if the number of pixels sampled for a particular area of an image is relatively small (e.g., 5 or less images have been obtained), then all pixels may be used for the average brightness calculation. However, if the number of pixels sampled is relatively large (e.g., 10 or more images have been obtained), some pixels having higher or lower brightness values may be excluded from the average calculation.
When all pixels are processed in process 300, an image corresponding to the object 180 may be formed from the resulting (i.e., composite) brightness values (block 240). Thus, pixels of the image thus formed may be derived from various images among the plurality of images obtained for the respective illuminators 150. Thereafter, an image corresponding to the physical object 180 may be outputted through external display devices at block 250.
In another embodiment, referring back to
In
Referring back to
In one illustrative embodiment, an automatic selection method may be used to adjust the focus of the camera and determine a suitable pixel from a plurality of pixels of the images at the same image point. The automatic selection method may be a feature of optical systems capable of obtaining correct focus on a subject. In one illustrative embodiment, the automatic selection method may be a Shape from Focus (SFF) method. In an image, objects at different distances from a lens may be brought into focus at different distances. An SFF method may employ camera parameters such as lens position and/or focal length to adjust focusing of a camera system. According to the SFF method, the depth of the scene may be reconstructed by changing the optics of the camera until a point of interest is brought into focus. The change in the optics may be obtained by changing either the lens position and/or the object position relative to the camera.
A depth of a point of an object in focus may be obtained by using the following Gaussian lens formula: 1/f=1/u+1/v, where f is the focal length, u is the distance of the object from the lens plane, and v is the distance of the focused image from the lens plane. A clear or focused image may be obtained by an image detector if the image detector coincides with the image plane, i.e., s=v. If the image detector is placed at a distance v (s=v), a sharp image may be obtained. However, if the image detector is placed at a distance s (s≠v), then a blurred image of the point source may be obtained. The degree of blurring thus may depend on the focal length f of the lens and the distances u and s. If f and v are known, then the distance u of the object may be determined using the Gaussian lens formula provided above.
When I(x,y) is the image intensity at a point (x,y), the corresponding Laplacian is:
The Laplacian may be determined for each pixel of a given image window and a criterion function may be stated as:
where T is a threshold value. However, in the case of the Laplacian the second derivatives in the x and y directions may have opposite signs and may tend to cancel each other. That is, the partial derivatives may be approximately equal in magnitude but opposing in sign. Thus, a modified Laplacian may be used as follows:
The modified Laplacian may be greater or equal in magnitude to the Laplacian. A discrete approximation to the Laplacian may be a 3×3 matrix or operator. In order to accommodate for possible variations in the size of texture elements, partial derivatives may be determined by using a variable spacing (step) between the pixels used to compute the derivatives. Accordingly, the discrete approximation to the modified Laplacian may be determined from:
∇ML2I(x,y)=|2I(x,y)−I(x−step,y)−I(x+step,y)|+|2I(x,y)−I(x,y−step)−I(x,y+step)|
Finally, a focus measurement at a point (i,j) may be computed as a sum of the modified Laplacian in a small window around (i,j), that are greater than a threshold value:
where the parameter N determines the window size used to compute the focus measure. This focus measure may be termed the Sum-Modified-Laplacian (SML).
In SFF, a sequence of images may be obtained by continuously varying the distance between the lens and the image detector. At each pixel, the image frame which gives the maximum sharpness measure may be determined. The whole image sequence may be viewed as image volume Vi,x,y, where x, y, and i denotes the number of columns, rows and image frames respectively. For each image in the sequence, focus measure ∇ML2I(x,y) may be computed at each pixel and a focus measurement volume MLi,x,y is obtained. A Sum of Modified Laplacian (SML) volume SMLi,x,y using F(x,y) may be computed where the SML volume represents a small (about 15×15) 2D image neighborhood around the pixel.
From an SML volume, the image frame among the image sequence that gives a maximum sharpness measure may be determined. This image frame may represent a final depth map. The gray level (proportional to image irradiance) of the pixel in the image frame thus determined may correspond to the gray level value of the focused image for that pixel. The camera parameter values for this image frame may be used to compute the distance of the object point corresponding to that pixel.
When all pixels are processed in
In another embodiment, a pre-setting method may be used instead of the automatic selection method to adjust the camera focus and determine a suitable pixel from a plurality of pixels of the images at the same point. Pre-setting method may include changing the focus of the lens from a lower point to a higher point at predetermined times. In some illustrative embodiments, the number of the predetermined times may range from 2 to 10, from 5 to 10, from 7 to 10, from 2 to 5, from 2 to 7, or from 5 to 7. In other illustrative embodiments, the number of the predetermined times may be 2, 5, 7 or 10. In order to determine pixels, the pre-setting method may also use the focus measure used for the SFF. In some embodiments, when all pixels are processed in
In other embodiments, other focus measurements may be used. For example, a focus measurement may be based on, but not limited to, high frequency energy in a power spectrum using FFT (fast Fourier transform), variance of image gray levels, L1-norm of image gradient, L2-norm of image gradient, L1-norm of second derivatives of image, energy of Laplacian, Modified Laplacian, histogram entropy of the image, histogram of local variance, and Sum-Modulus-Difference to name several approaches, and accordingly, the claimed subject matter is not limited in these respects.
In light of the present disclosure, those skilled in the art will appreciate that the apparatus, and methods described herein may be implemented in hardware, software, firmware, middleware, or combinations thereof and utilized in systems, subsystems, components, or sub-components thereof For example, a method implemented in software may include computer code to perform the operations of the method. This computer code may be stored in a machine-readable medium, such as a processor-readable medium or a computer program product, or transmitted as a computer data signal embodied in a carrier wave, or a signal modulated by a carrier, over a transmission medium or communication link. The machine-readable medium or processor-readable medium may include any medium capable of storing or transferring information in a form readable and executable by a machine (e.g., by a processor, a computer, etc.).
Those of ordinary skill will appreciate that the functions performed in the methods may be implemented in differing order, and that the outlined steps are provided as examples, and some of the steps may be optional, combined into fewer steps, or expanded to include additional steps without detracting from the essence of the present disclosure.
From the foregoing, it will be appreciated that various embodiments of the present disclosure have been described herein for purposes of illustration, and that various modifications may be made without departing from the scope and spirit of the present disclosure. Accordingly, the various embodiments disclosed herein are not intended to be limiting, with the true scope and spirit being indicated by the following claims.