The present invention relates generally to a method for producing a composite or interlaced image by processing image data corresponding to two or more source images. In particular, it relates to processing the image data to align two selected reference points in the first source image with corresponding reference points in the second source image.
It is known to print a composite or interlaced image on a sheet of material and then overlay a transparent lenticular sheet in order to achieve one of several special visual effects. A composite image comprises a plurality of interlaced image slices, wherein the slices are portions of two or more different source images. A lenticular sheet includes a plurality of parallel semi-cylindrical lenses, or lenticules, and the image slices are aligned with the lenticules. Alternatively, a composite image can be printed directly on the backside of a transparent lenticular sheet.
The different special effects that can be obtained by viewing a composite image through the lenticular lenses include, for example, a three-dimensional effect, motion of an object, morphing between two different images, and flipping between distinct images. For example, a composite image can be created by interlacing slices of source images that are different perspective views of an object. Viewing such a composite image through a lenticular sheet creates a three dimensional effect due to the parallax shift between the images viewed by each eye. If a composite image is created by interlacing source images of an object at sequential points in time, viewing that image through a lenticular sheet conveys an impression of motion as the position of the viewer changes with respect to the lenticular sheet. Similarly, if a composite image is created by interlacing different source images of one or more faces, for example, viewing the composite image through a lenticular sheet creates a morphing effect as the position of the viewer changes with respect to the lenticular sheet. Similarly, a flip effect can occur by viewing a composite image that is created from dissimilar source images.
The invention provides a method for producing a composite image that is viewable through lenticular lenses to create a special visual effect. The method includes the steps of storing a first source image and a second source image, displaying the first and second source images, and selecting two reference points E1 and E2 in the first source image and corresponding reference points E3 and E4 in the second source image. A first intermediate image including points E1 and E2 that is a version of the first source image and a second intermediate image including points E3 and E4 that is a version of the second source image are created. The location of point E1 in the first intermediate image is the same as the location of point E3 in the second intermediate image, and the location of point E2 in the first intermediate image is the same as the location of point E4 in the second intermediate image. The first intermediate image and the second intermediate image are then interlaced to produce the composite image.
Other features and advantages of the invention will become apparent to those skilled in the art upon review of the following detailed description, claims, and drawings.
a)-(c) illustrate various points in the processing of a second source image to produce an intermediate image;
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways. Also, it is to be understood that the phraseology and terminology used herein is for the purpose of description and should not be regarded as limited. The use of “including,” “comprising” or “having” and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. The order of limitations specified in any method claims does not imply that the steps or acts set forth therein must be performed in that order, unless an order is explicitly set forth in the specification. In addition, it should be noted that a plurality of hardware and software-based devices, as well as a plurality of different structural components, may be utilized to implement the invention.
A general overview of one embodiment of a method for producing a composite image and printing it on a lenticular sheet follows. A composite image can be generated in the form of an image data file by a software application 28 running on computer 12, by interlacing two or more intermediate images, which are in turn produced from a set of source images and a desired visual effect. In one embodiment, a user inputs the source images to the computer and selects via the user interface a desired visual effect, such as morph or 3D. The user may also have the ability to select a desired page layout of the composite image, and then print the composite image. The composite image can be printed using the inkjet printer 16, for example, directly on the backside of a lenticular sheet (i.e, the side of the sheet opposite the lenticules). Achieving a desired lenticular effect depends on printing the interlaced image so that the image slices are precisely aligned with respect to the lenticules of the lenticular medium. Lenticular sheets are generally available with lenticules at such resolutions as 60 lines per inch or 100 lines per inch, and inkjet printers are typically available at printing resolutions such as 600 dots per inch. When the composite image is printed on the lenticular sheet, depending on the angle of view, one of the intermediate images will be viewable. Changing the angle of view allows a viewer to switch between the different intermediate images.
Especially when the desired visual effect from an interlaced image viewed through lenticular lenses is a blend or morph effect (as a viewer's eyes are moved relative to the lenses), it is desirable that common features in the two or more images making up the interlaced image are aligned. Alignment of common features in these images provides the best visual effect, and prevents the disjointed sensation of viewing objects having different sizes.
One embodiment of a method for producing a composite image that matches relevant features between two or more source images is described with respect to
At step 32, the source images are then displayed and reference points on each are selected. In one embodiment, the source images are displayed on the computer display 24, and using the user interface, the user can select two reference points on the first source image and two corresponding reference points on the second source image. For example, referring to
At step 34, first and second intermediate images are created such that the first set of selected reference points are at the same location in the first intermediate image as are the second set of reference points in the second intermediate image. At step 36, the intermediate images are interlaced to create a composite image. By performing these steps, objects (such as faces) in the intermediate images can be made to be substantially the same size, and the resultant composite image will present a more pleasing effect when viewed through lenticular lenses as compared to having different sized objects making up the composite image.
The source images stored on the computer are in the form of image data files such as arrays. Each data file includes a plurality of pixels each having an associated color value. In one embodiment, the first intermediate image created is simply the first source image without any modification. In this case, processing occurs with respect to the second source image, as illustrated in
The amount of the rotation required between the translated image and the rotated image can be determined with reference to
e1=√{square root over ((x4−x2)2+(y4−y2)2)}{square root over ((x4−x2)2+(y4−y2)2)}
Similarly, distances e2 and e4 can be determined:
e2=√{square root over ((x4−x1)2+(y4−y1)2)}{square root over ((x4−x1)2+(y4−y1)2)}
e4=√{square root over ((x2−x1)2+(y2−y1)2)}{square root over ((x2−x1)2+(y2−y1)2)}
Then, using the law of cosines:
Using the inverse cosine allows for the determination of angle θ, and image 2 is rotated (in this case in a clockwise direction) by this amount to produce the image illustrated in
With respect to the amount of resizing required, this is determined by a ratio of line segments. In the example shown, the image illustrated in
The first intermediate image and the second intermediate image for one embodiment are illustrated in
Further, it is important to note that in other embodiments, the translating, rotating, and resizing steps can be performed in a different order, on the first source image rather than the second source image, or on a combination of these. For example, the translating step could be performed using the first source image, and the rotating and resizing steps performed on the second source image. Similarly, the translating and rotating steps can be performed on the first source image, with the resizing step performed on the second source image. Other possibilities exist as well.
Clearly, these steps can also be repeated to create three or more intermediate images to generate the composite image in the event that three or more source images are desired.
Once the intermediate images are created, there are various ways to perform the interlacing to create the composite image. For example, the intermediate images can be divided into the requisite number of slices (such as by pixel columns), and every nth column of n images can be selected to produce the interlaced image. For example, with two source images, every other slice of each intermediate image is selected to generate the composite image. In another example, with four intermediate images: the first slice of the composite image will be the first slice from the first intermediate image, the second composite slice will be the first slice of the second intermediate image, the third composite slice will be the first slice of the third intermediate image, the fourth composite slice will be the first slice of the fourth intermediate image, the fifth composite slice will be the fifth slice of the first intermediate image, the sixth composite slice will be the fifth slice of the second intermediate image, the seventh composite slice will be the fifth slice of the third intermediate image, the eight composite slice will be the fifth slice of the fourth intermediate image, and so forth.
Other ways to do the interlacing are also envisioned. For example, with four intermediate images: the first slice of the composite image will be the first slice from the first intermediate image, the second composite slice will be the second slice of the second intermediate image, the third composite slice will be the third slice of the third intermediate image, the fourth composite slice will be the fourth slice of the fourth intermediate image, the fifth composite slice will be the fifth slice of the first intermediate image, the sixth composite slice will be the sixth slice of the second intermediate image, the seventh composite slice will be the seventh slice of the third intermediate image, the eight composite slice will be the eighth slice of the fourth intermediate image, and so forth.
Various features and advantages of the invention are set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4394693 | Shirley | Jul 1983 | A |
4484347 | Kashioka | Nov 1984 | A |
4679155 | Mitsuka | Jul 1987 | A |
5491777 | Mase et al. | Feb 1996 | A |
5537662 | Sato et al. | Jul 1996 | A |
5649032 | Burt et al. | Jul 1997 | A |
5696995 | Huang et al. | Dec 1997 | A |
5787419 | Sato et al. | Jul 1998 | A |
5956083 | Taylor et al. | Sep 1999 | A |
6229904 | Huang et al. | May 2001 | B1 |
6268846 | Georgiev | Jul 2001 | B1 |
6272231 | Maurer et al. | Aug 2001 | B1 |
6278451 | Suzuki | Aug 2001 | B1 |
6314197 | Jain et al. | Nov 2001 | B1 |
6449398 | Gennetten | Sep 2002 | B1 |
6463163 | Kresch | Oct 2002 | B1 |
6496594 | Prokoski | Dec 2002 | B1 |
6591011 | Nielsen | Jul 2003 | B1 |
6611613 | Kang et al. | Aug 2003 | B1 |
6650791 | Cullen | Nov 2003 | B1 |
6654018 | Cosatto et al. | Nov 2003 | B1 |
6704041 | Katayama et al. | Mar 2004 | B2 |
6724948 | Lippincott | Apr 2004 | B1 |
6751340 | Prokoski | Jun 2004 | B2 |
6785427 | Zhou | Aug 2004 | B1 |
7027054 | Cheiky et al. | Apr 2006 | B1 |
Number | Date | Country | |
---|---|---|---|
20060115180 A1 | Jun 2006 | US |