The present invention relates to a technology for processing and correcting an image displayed on a display or on a projector screen using a sheet or a panel on which a dot pattern is printed.
As a technology to process and correct an image that is projected on a display screen or on a projector screen, it has been common to correct colors and diagrammatic drawings of image data stored in an information processing device such as a personal computer, by using a coordinate-input supporting device such as a mouse and a graphic tablet.
However, in the case of using a mouse or a graphic tablet, it is required to operate the mouse or the graphic tablet while staring at the screen. Therefore, the operation feeling at hand is not always accurately reflected to position specification on the screen.
Specifically, with a mouse or a graphic tablet, since a shift amount in XY directions is converted into a shift amount on a screen to be displayed thereon, it has been often the case that a shift amount of a cursor on the screen is too small or too large compared to a shift amount of the mouse, resulting in discomfort of the operator (user).
Particularly, when coloring or color correction is performed as putting makeup on a face image displayed on a screen, or when an area on a map is specified to be process, there has been a problem that accurate position specification is difficult with a mouse or a graphic tablet.
The present invention is achieved in view of such problems, and it is an object of the present invention to provide a technology that enables to specify a position accurately on an image displayed on a screen to perform processing and correction of the image data.
A first aspect of the present invention is an image processing method of processing an image displayed on a display device, the image processing method in which the image is printed on a sheet on which a dot pattern has been printed, and the dot pattern is imaged by an imaging means, thereby enabling position recognition on the image. The image processing method includes printing the dot pattern indicating XY coordinates on the sheet; printing the image displayed on a screen of the display device, on the sheet on which the dot pattern is printed; setting and printing a reference point of the image displayed on the display device in a form of a visible mark together with the image, at the printing the image; performing calibration to match coordinates of a position of the mark on the sheet with the reference point of the image, by imaging the mark printed on the sheet by the imaging means; and performing an image processing on the image printed on the sheet by the imaging means.
By thus setting the reference point of the image on the display device and printing the reference point in a visible mark together with the image at the time of printing the image displayed on the display device on the sheet on which the dot pattern has been printed, and by performing the calibration using the mark, it is possible to prevent variation in coordinates between designation made on the sheet with the imaging means (scanner) and processing on the image.
A second aspect of the present invention is an image processing method of processing an image displayed on a display device, the image processing method in which the image is printed on a sheet on which a dot pattern has been printed, and the dot pattern is imaged by an imaging means, thereby enabling position recognition on the image. The image processing method includes printing the dot pattern indicating XY coordinates on the sheet; printing the image displayed on a screen of the display device, on the sheet on which the dot pattern is printed; specifying a mask area by scanning a predetermined area on which the image is printed on the sheet so as to draw a closed figure with the imaging means; setting a flag in an area for which the mask is set in a mask table set in a storage means, the area corresponding to the image area; imaging a dot pattern in the mask area on the sheet by the imaging means; and executing a processing according to a command, referring to a mask/processing command table in which commands corresponding to the mask are defined when the dot pattern in the mask area is read and is determined to be the area for which the mask is set as a result of referring to the mask table.
As described, when the image displayed on the display device is printed on the sheet on which the dot pattern is printed in advance, a mask is set in an arbitrary area on the image, and the mask area is selected on the sheet by the imaging means, the mask table is referred and a processing associated therewith, for example, access to a predetermined address (URL) on the Internet by a browser program, can be executed.
A third aspect of the present invention is an image processing method of processing an image displayed on a display device, the image processing method in which the image is printed on a sheet on which a dot pattern is printed in advance, and the dot pattern is imaged by an imaging means, thereby enabling position recognition on the image. The image processing method includes printing the image displayed on a screen of the display device, on the sheet on which a dot pattern indicating XY coordinates is printed in advance; setting and printing a reference point of the image displayed on the display device in a form of a visible mark together with the image, at the printing the image; performing calibration to match coordinates of a position of the mark on the sheet with the reference point of the image, by imaging the mark printed on the sheet by the imaging means; and performing an image processing on the image printed on the sheet by the imaging means.
A fourth aspect of the present invention is an image processing method of performing an image processing that corresponds to a dot pattern, on an image displayed on a display device, by imaging a medium on which the dot pattern is printed by an optical reading means, wherein a controller as the medium on which dot patterns are printed in a superimposed manner with icon images is used, the dot patterns in which a command code for the image processing or a coordinate value is patterned. The image processing method includes selecting a brush to be used for the image processing by sequentially imaging the icon images in the controller by the optical reading means; selecting a drawing color by imaging an icon image in the controller by the optical reading means; and performing a drawing processing on the screen of the display device by scanning with the optical reading means on the controller, the drawing processing corresponding to a trail of scanning.
A fifth aspect of the present invention is the image processing method according to any one of the first to the fourth aspects, wherein the image processing is a two-dimensional image processing or a processing to cause three-dimensional deformation performed on an area that is a part or all of an image area specified by making a predetermined movement with the imaging means on the sheet, the image area corresponding to the sheet and displayed on the display device.
As described, the sheet on which XY coordinates are printed in advance can be provided as a supply product so that the image displayed on the display device is printed on this sheet and the image processing is performed on the image.
The deformation of the image area can be achieved by a grid grind operation of the imaging means, that is, rotation about a vertical line in a tilt state in which a certain inclination of an imaging optical axis relative to the vertical line of a medium surface is kept. The deformation of the image area can be deformation in a rise in a Z direction in the image area and deformation in a dent in a −Z direction (sixth aspect).
A seventh aspect of the present invention is the image processing method according to the fifth or the sixth aspect, wherein the image processing is a modeling processing on the image, and a predetermined position of the image is specified to deform a corresponding portion of the image in a rise or in a dent in the Z direction or in the −Z direction, respectively.
An eighth aspect of the present invention is the image processing method according to the seventh aspect, wherein in the modeling processing, a mask is set in a predetermined shape of an image, and a corresponding portion of the image along a mask shape is expanded or raised in the Z direction or in the −Z direction, respectively.
A ninth aspect of the present invention is the image processing method according to any one of the first to the seventh aspects, wherein the reference point of the image is arranged at, at least, two points, and the mark is also printed at, at least, two points on the sheet corresponding thereto.
As described, by performing the calibration using the marks at two points, it is possible to prevent displacement of angles in the XY direction and in a θ direction at the time of input of selection on the sheet by the scanner. The calibration can be performed with marks at three or more points to increase the accuracy.
According to the present invention, it is possible to easily perform processing and correction of image data displayed on a screen of a display device, by accurately specifying a position on an image printed on a sheet.
<Hardware Block Diagram>
As shown in the figure, a personal computer includes a central processing unit (CPU) as the center, a main memory (MM), a hard disk unit (HD) that is connected through a bus, a display device (DISP) as an output unit, and a keyboard (KBD) as an input unit.
A scanner (SCN) as an imaging means is connected through a USB interface (USB I/F).
Although illustration thereof is omitted, a printer, a speaker, and the like are connected as an output device other than the display device (DISP).
Moreover, the bus (BUS) is connected to a general-purpose network (NW) such as the Internet, through a network interface (NW I/F), and electronic map data, character information, image information, sound information, animation information, programs, and the like can be downloaded from a server not shown.
The hard disk (HD) stores data including application programs such as a program for analyzing a dot pattern used in the present embodiment, electronic map data, character information, image information, sound information, animation information, various tables, and the like, together with an operating system (OS).
The central processing unit (CPU) sequentially reads to execute the application program in the hard disk through the bus (BUS) and the main memory (MM), and reads data to output to the display device (DISP), thereby implementing a function explained in the present embodiment.
Although illustration is omitted, the scanner (SCN) includes an infrared-ray irradiating means (red LED), an IR filter, and an optical imaging device such as a CMOS sensor or a CCD sensor, and has a function of imaging reflected light of irradiation light that is irradiated on a surface of a medium. A dot pattern on the surface of the medium is printed with carbon ink, and parts other than the dot pattern are printed with non-carbon ink.
Since the carbon ink has a property of absorbing infrared light, only dot portions are imaged black in an image captured by the optical imaging device.
The image of the dot pattern thus captured is analyzed by the central processing unit (CPU) in the scanner (SCN) to be converted into coordinate values or code values, and send to the personal computer through the USB cable.
The central processing unit (CPU) of the personal computer refers to a table of the coordinate values or the code values received, and electronic map data, character information, image information, sound information, and animation information that correspond thereto are output from the display device (DISP) or a speaker not shown.
<Explanation of Dot Pattern: GRID1>
Next, a dot pattern used in the present invention is explained referring to
Note that grid lines in vertical and horizontal directions shown in these figures are drawn for convenience of explanation, and do not appear on an actual print surface. It is preferable that a key dot 2, an information dot 3, a reference grid point dot 4, and the like that constitute a dot pattern 1 are printed with invisible ink that absorbs infrared ray or carbon ink when a scanner as the imaging means has an infrared-ray irradiating means.
An information input output method using the dot pattern of the present invention is implemented by creation of the dot pattern 1, recognition of the dot pattern 1, and a means to output information and a program from this dot pattern 1. In other words, the dot pattern 1 is captured by a camera as image data, and the reference grid point dots 4 are first extracted. The key dot 2 is then extracted based on the fact that no dot is present at a position at which the reference grid point dot 4 is supposed to appear. Subsequently, information area is digitalized to be extracted by extracting the information dots 3, to digitalize the information. Thus, using the digitized information, information and programs are output from this dot pattern 1. For example, information such as sound and a program is output from an information output device, a personal computer, a PDA, a mobile phone, or the like using the dot pattern 1.
To create the dot pattern 1 of the present invention, minute dots, specifically, the key dots 2, the information dots 3, and the reference grid point dots 4, are arranged according to a predetermined rule by a dot code generation algorithm so that information such as sound can be recognized therefrom. As shown in
Single information and a single program that correspond to a single block can be output. Alternatively, single information and a single program that correspond to a plurality of blocks can be output.
The reference grid point dots 4 enables correction at the time of capturing the dot pattern 1 as image data with a camera, for distortion of a lens of the camera or imaging obliquely, expansion and contraction of a paper surface, warp of a surface of a medium, distortion at the time of printing. Specifically, a correction function (Xn, Yn)=f(Xn′, Yn′) to convert a distorted rectangle formed with four reference grid point dots 4 into an original square is calculated. The information dots 3 are corrected using the same function and a correct vector of the information dot 3 is acquired.
If the reference grid point dots 4 are arranged in the dot pattern 1, distortion caused by a camera-related factor is corrected in image data obtained by capturing the dot pattern 1 with the camera; therefore, even when the image data of the dot pattern 1 is captured using a widely used camera on which a lens with high distortion is mounted, the dot pattern 1 can be accurately recognized. Furthermore, even when the dot pattern 1 is captured slanting a camera relative to a surface of the dot pattern 1, the dot pattern 1 can be accurately recognized.
The key dots 2 are, as shown in
The information dot 3 is a dot from which various kinds of information are recognized. This information dot 3 is arranged around the key dot 2 as the representative point, and is arranged at an endpoint of a vector whose starting point is the virtual grid point 5 that is the center of an area surrounded by the four reference grid point dots 4. For example, this information dot 3 is surrounded by the reference grid point dots 4, and a dot 0.1 mm apart from the virtual gird point 5 is rotated clockwise by 45° to be arranged in eight directions since the dot has direction and length expressed by a vector, thereby expressing 3 bits. Therefore, with the dot pattern 1 of one block, 3 bits×16=48 bits can be expressed.
b) shows a method of defining the information dot 3 having 2 bits for each grid in the dot pattern shown in
While 3 bits are expressed by arranging in 8 directions in the example shown in the figure, it is not limited thereto, and 4 bits can be expressed by arranging in 16 directions. Thus, it is needless to say that various modifications can be made.
A diameter of the key dot 2, the information dot 3, or the reference grid point dot 4 is preferable to be around 0.05 mm, considering the appearance, the printing accuracy with respect to quality of paper, a resolution of a camera, and optimal digitalization.
Further, an interval between the reference grid point dots 4 is preferable to be around 0.5 mm in vertical and horizontal directions, considering required amount of data with respect to an imaging area and misidentification of the respective dots 2, 3, and 4. A shifted amount of the key dot 2 is preferable to be about 20% of an interval of grids, considering misidentification with the reference grid point dot 4 and the information dot 3.
An interval between this information dot 3 and the virtual grid point 5 that is surrounded by the four reference grid point dots 4 is preferable to be about 15% to 30% of a distance between the virtual grid points 5 adjacent to each other. This is because if the distance between the information dot 3 and the virtual grid point 5 is smaller than this interval, the dots are likely to be recognized as a large unit, resulting in undesirable appearance as the dot pattern 1. On the other hand, if the distance between the information dot 3 and the virtual grid point 5 is larger than this interval, it becomes difficult to identify which one of the adjacent virtual grid points 5 is the center of the vector given to the information dot 3.
For example, as shown in
Sub-blocks that separately have independent information content and that are not affected by other information content can be further arranged in a block.
The direction of the vector (rotation direction) of the information dot 3 is preferable to be determined uniformly every 30 degrees to 90 degrees.
Moreover, for the information dots 3, if two types being long and short relative to the virtual grid point 5 that is surrounded by the reference grid point dots 4 are used and eight directions are used for the direction of the vector, 4 bits can be expressed. It is preferable that the long one has length of 25% to 30% of a distance between the virtual grid points 5 adjacent to each other, and the short one has length of 15% to 20% thereof. A distance between the centers of the information dots 3 of long and short is preferable to be longer than the diameter of these dots.
The information dot 3 that is surrounded by four dots of the reference grid point dots 4 is preferable to be 1 dot, considering the appearance. However, when it is desired to increase the amount of information regardless of the appearance, by assigning 1 bit for each vector to express the information dot 3 with a plurality of dots, a large amount of information can be held. For example, with vectors in eight directions in a concentric circle, the information dot 3 surrounded by four dots of the grid dots 4 can express information of 28, and with 16 information dots in one block, information is to be 2128.
The dot pattern 1 shown in
Next,
As shown in
a) shows a dot code format of a controller area. In C0 to C15, an operation code is registered, in C16 to C29, a controller ID is registered, and C30 to C31, parity is registered.
Thus, in the dot pattern, together with an X coordinate and a Y coordinate, code information (code values) corresponding thereto can be registered in a 4×4 gird area.
<Explanation of Dot Pattern: Direction Dot>
a) and (b) show an example in which a direction of a block is defined by arranging the information dot 3 only in specific grid areas (direction areas) in a different direction from other gird areas in a dot pattern of a block constituted of 3×3=9 grid areas, in the dot patterns described in
Specifically, as shown in
As described, with arrangement relation (triangle in this example) of the grid areas 34a, 34b, and 34c in which the direction of arrangement of the information dot 3 in the block is varied (the information dot is arranged in the vertical and horizontal directions relative to the center), the direction of the block can be defined. Thus, the information dots 3 can be arranged in all grid areas in a block. Therefore, the information dot 3 can be arranged in all grid areas without using a grid area for a key dot.
b) shows a state where the blocks shown in
a) and (b) are diagrams showing an arranging state of the information dots 3 that correspond to
Next, a technique of specifying a mask area and associating an address thereto is explained referring to
(Paper Controller)
The calibration is a work required when a sheet as a supply product on which a dot pattern indicating XY coordinates is printed in advance is provided.
Specifically, when an image displayed on the display device is printed on a sheet on which XY coordinates are printed in advance, the image displayed on the display device and the image printed on the sheet (XY coordinates) are displaced from each other. Therefore, it is required to calculate adjustment values. This is the calibration. Accordingly, when the image displayed on the display device is printed together with the dot pattern on a blank sheet, the display image and the image to be printed match with each other from the beginning, the calibration work is not required.
For calibration, at the time of printing the image displayed on the display device on a sheet on which XY coordinates are printed as a dot pattern, calibration marks as shown in
In actual calibration, at least two calibration marks are used, the calibration marks are sequentially read by a scanner, thereby performing the calibration. When the read calibration marks are X and Y, a position at an actual display device can be calculated by x=f(X), y=f(Y).
After that, xy coordinates values that are calculated using this expression from the XY coordinates read from the sheet can be used.
The calibration mark can be provided at three points or more to increase the accuracy.
In each icon image (each area shown with rectangle or triangle) on this paper controller, a code value is printed as a dot pattern. By imaging (touching) these icon areas with a scanner, corresponding code values are converted into commands by a personal computer to be given to an application program.
For example, a mask creation processing can be performed with this paper controller.
First, when a user inputs (images) selection of “start mask creation” in a mask creation area shown in a left half of the paper controller with a scanner, a creation screen is displayed on a screen of the display device. The user selects (images) with the scanner, an icon (for example, a polygon, a curved line, etc.) of a shape wished to be created with the scanner.
Subsequently, by scanning a boundary area of the printed image that is wished to be a mask area on the sheet, a mask is created.
To move the created mask, “move” is selected, and then the position on the paper corresponding to a destination position is selected (imaged) with a scanner.
To rotate the created mask left, “rotate left” is selected (imaged) with the scanner, and to rotate right, “rotate right” is selected. Moreover, to enlarge the created mask, “enlarge” is selected (imaged) with the scanner, and to reduce the mask, “reduce” is selected.
To go back to a previous screen to redo the work on the display device, a “undo” area in the mask creation area is selected (imaged) with the scanner. To discontinue the mask creation, “cancel” is selected (imaged) with the scanner.
Finally, when the mask creation is completed, “register” is selected (imaged) with the scanner.
If “delete” area is selected (imaged) with the scanner, “would you like to delete?” is displayed on the display device. If a “yes” area in the mask creation area is selected (imaged) with the scanner, a selected mask is deleted. When deletion is not to be performed, “no” is selected (imaged) with the scanner.
For example, after the “start mask creation” icon in the mask creation area shown in the left half of the paper controller is imaged (touched) with the scanner, and a figure (polygon, curved line, etc.) as the mask area is selected (imaged), a desirable Internet address (URL) is copied by imaging (touching) a “copy” icon in a “URL copy/link” area with the scanner. Subsequently, an “execute/terminate copy & link” icon is selected (imaged) with the scanner to associate the URL to the mask area specified previously. This enables a browser program to access the URL that has been associated, when the mask area on the sheet is selected (imaged) with the scanner.
Such a link between a mask area and a URL can be displayed on a panel that is displayed on the screen of the display device. As for the panel displayed on the screen of the display device, it is configured to be able to delete a link of a URL, to move a pointer on the panel upward and downward, or to scroll a panel screen, by selecting (imaging) each icon in a “panel operation” area on the paper controller with the scanner.
Further, movement (upward and downward, back and forward operation to a previously opened page) of a screen of the browser program and scrolling are enabled by selecting (imaging) each icon in a “web browse” area on the paper controller with the scanner. These operations are enabled by the application program analyzing a code value that has been registered in each icon area in the form of a dot pattern, and performing an interrupt with respect to the browser program.
The table is used for the paper controller shown in
Next, specific examples of the mask specification processing are explained referring to
Subsequently, an outer border of the area specified as the mask area is scanned with the scanner by the operation described above on the sheet on which the image is printed, using the paper controller shown in
For example, when a drawing of a vehicle at the top left of the sheet shown in
The application program refers to this mask table, thereby determining which part of the image is to be processed.
In the mask/address table, addresses are registered corresponding to the mask numbers. For example, an Internet address (URL) is registered for a mask 1, and a local drive and an executable file are registered for a mask 2. Such registration is carried out by performing copy and link of a URL using the paper controller as described above.
For example, when specification of the mask 1 area is input with the scanner, the browser program starts and accesses an Internet address (URL) that is registered in this mask/address table.
Moreover, when specification of the mask 2 area is input with the scanner, a predetermined execution program (for example, an image processing program, etc.) of a local C drive starts.
In the example shown in
In the present embodiment, a user scans an outer border of the image using a mouse or the like to perform mask specification on the screen of the display device. Printing is performed thereafter. As a result, the dot pattern is printed only in the area that is specified to be masked, and the dot pattern is not printed in other areas.
Thus, the dot pattern is printed only in a required area as shown in
a) shows contents of a mask/dot code table.
In the mask/dot code table, a dot code is registered corresponding to the mask number. For example, a dot code 54001 is registered for the mask 1, and a dot code 54002 is registered for the mask 2.
b) shows contents of a dot code/address table.
When a dot code is registered in
Thus, when the area of the mask 1 is specified with the scanner, the browser program starts and accesses an Internet address (URL) registered in the dot code/address table.
Furthermore, when the area of the mask 2 is specified with the scanner, a predetermined execution program (for example, an image processing program, etc.) of a local C drive starts.
Next, a mask processing technique when an area of a part of the image displayed on the display device is specified, and image correction and processing such as a three-dimensional processing of the image, coloring, and correction is performed within the specified area is explained referring to
<Modeling Controller>
In this modeling controller, areas in which respective instruction commands are printed are printed in areas sectioned into upper, middle, and lower rows. In these areas, dot patterns (not shown) indicating coordinates or codes are printed. Therefore, by specifying (imaging) each area with the scanner, the dot pattern printed in the area is converted into coordinates or a code value, to be read by the central processing unit (CPU), and a command corresponding thereto is to be executed by the application program.
In the mask creation instruction area in the upper row, an area for instructing the start of mask creation (start mask creation) or a mask figure such as a polygon, a curved line, and a circle can be specified.
In an area for instructing a modeling operation in the middle row, modeling in a mask area that has been specified in the mask creation instruction area is to be instructed. Specifically, a three-dimensional processing toward a Z direction on an image data such as a map is performed, and the modeling in upward and downward directions (Z direction) at a point specified with the scanner is possible. The three-dimensional processing is enabled using various functions, and such a three-dimensional modeling to make an entire mask area appear in relief in the Z direction, or to make a central part rise in the +Z direction in a bell shape is possible.
A paint instruction area in the lower row enables input of instructions for coloring a mask area with the scanner.
Next, specific examples of the mask creation, the modeling, and the painting using the modeling controller described in
(Mask Creation)
First, when a user selects (images) the “start mask creation” area in the modeling controller with the scanner, a creation screen is displayed on the screen of the display device. The user selects (images) an icon of a figure wished to be created (for example, a polygon, a curved line, etc.) with the scanner.
Subsequently, a mask is created by scanning a boarder area for a wished mask area on the printed image on the sheet of the modeling controller.
To move the created mask, after selecting “move”, a position on the sheet corresponding to a destination position is selected (imaged) with the scanner.
To rotate the created mask left, “rotate left” is selected (imaged) with the scanner, and to rotate right, “rotate right” is selected. Moreover, to enlarge the created mask, “enlarge” is selected (imaged) with the scanner, and to reduce the mask, “reduce” is selected.
To go back to a previous screen to redo the work on the display device, a “undo” area in the modeling controller is selected (imaged) with the scanner. To discontinue the mask creation, “cancel” is selected (imaged) with the scanner.
Finally, when the mask creation is completed, “register” is selected (imaged) with the scanner.
If “delete” area is selected (imaged) with the scanner, “would you like to delete?” is displayed on the display device. If a “yes” area in the modeling controller is selected (imaged) with the scanner, a selected mask is deleted. When deletion is not to be performed, “no” is selected (imaged) with the scanner.
(Modeling)
A user selects (images) a “start modeling” icon with the scanner to start modeling.
Next, a modeling method is selected. Specifically, either one of icons (areas), “point up/down”, “influence area up/down”, “mask area, flat surface up/down”, and “mask area, curved surface up/down” is selected (imaged) with the scanner.
Subsequently, a position at which modeling is performed is determined. When a position wished to rise up on the sheet is selected (imaged) with the scanner, an intersection (point) of a mesh that is closest to the position selected (imaged) with the scanner on the sheet flashes on the screen of the display device. At this time, if “mask area, flat surface up/down” or “mask area, curved surface up/down” is selected as the modeling method, an outline of the mask flashes together with the point.
Modeling is then performed. The user selects (images) triangular icons of “up” and “down” with the scanner, to raise a mesh to perform modeling. A raised configuration is determined according to the modeling method selected in the above operation. To raise the mesh higher, or to dent deeper, the number of selection (imaging) with the scanner is increased, and consecutive tapping with the scanner on the sheet can be performed, for example.
To go back to a previous operation to redo the work during the modeling, “undo” is selected (imaged) with the scanner, and to discontinue the modeling, “cancel” is selected.
When a desirable shape (a raised shape, a dent shape, etc.) is formed, “determine” is selected (imaged) with the scanner. Thus, the modeling is settled.
When the scanner is tilted relative to a vertical direction on the paper sheet, variations of light and shade are caused in a tilted direction in an imaging area. Therefore, by recognizing such variations with an image recognition program on the personal computer, the direction in which the scanner is tilted can be recognized. Based on this principle, by a grid grind operation of the scanner, in other words, rotation about a vertical line in a tilted state in which a certain inclination of an imaging optical axis with respect to the vertical line on the sheet, that is, by recognizing a change of an inclined state of an imaging optical axis, image processing displayed on the display device can be instructed.
For example, by rotating (grinding) a posterior end (upper end in
On the other hand, by rotating (grinding) the posterior end (upper end in
As shown in
The dot pattern on the paper sheet is printed in a superimposed manner in the same direction as a vertical direction of the paper sheet. As shown in (a), an angle between the orientation of the dot pattern and the orientation of a camera in the scanner is a. Further, as shown in (b), an angle between the inclination of the scanner and the orientation of the camera when a user tilted the scanner is β. In this case, an angle γ between the orientation of the dot pattern and the inclination of the scanner is an angle at which the scanner is tilted relative to the surface of the paper. Therefore, the angle γ is expressed as
γ=α+β.
The inclination of the scanner (imaging means) relative to a vertical direction of a surface of a medium can be recognized from a difference in brightness in a field of view of the scanner as shown in
The inclination orientation of the scanner is an angle between the scanner and the paper surface as shown in
First, calibration is performed. Calibration herein is not the calibration to adjust coordinate values between the screen of the display device and the sheet described above, but is calibration to adjust an angle between the scanner and the paper surface. The scanner is stood perpendicularly to the paper surface, and brightness of cells 1 to 48 shown in
In the scanner, two LEDs are arranged. Therefore, even if the scanner is stood perpendicularly to the paper surface, brightness differs in cells closed to the LEDs and cells away from the LEDs. For this reason, the calibration is performed.
Next, brightness when the scanner is tilted is measured. As shown in
Max(BL0(i)−BL(i))
is calculated.
When the scanner is tilted, a part opposite to a direction in which the scanner is tilted becomes dark. Because the LEDs are also tilted in the direction in which the scanner is tilted, at the part opposite to the tilted direction, a distance from the LEDs increases. Therefore, as shown in
Thus, the direction in which the scanner is tilted is determined.
Next, another method of determining an inclination direction and an angle by performing calibration is explained referring to
First, calibration is performed. The scanner is stood perpendicularly to the paper surface, and then brightness of cells 1 to 48 shown in
Subsequently, the scanner is tilted by 45°, and rotated once about a penpoint as an axis as shown in
Next, brightness of cells 1 to 48 when the user tilts the scanner is measured, and the brightness in cell i is expressed as BL(i), i=1, n(=48). And then,
is calculated.
Because BL0(i)-BL45(i) is fixed, when a value of BL0(i)−BL(i) is the maximum, in other words, when BL(i) takes the smallest value,
becomes the maximum value. As described above because a part in the direction opposite to the direction in which the scanner is tilted becomes the darkest, an opposite direction to the cell i in this case is the direction in which the scanner is tilted.
Moreover, the angle by which the scanner is tilted is
While the above expression assumes that an angle θ with respect to the brightness becomes linear, to be exact, if it is approximated as shown below with a trigonometric function or the like, the accuracy can be further enhanced. Then, the angle is to be
As shown in
A sine function is expressed as
Therefore, there are two unknown quantities.
Accordingly, when there are n pieces of measurement points, it means there are n pieces of points apart from each other. Therefore, a sum of n/2 sine functions is calculated. This is brightness BL(i) from an analysis center to the radius. Therefore, it is expressed as
where n=2m (n is the number of measurement points).
In the present embodiment, since the measurement points are eight, n=8. Therefore, by combining four expressions of sine functions, α1 to α4 and β1 to β4 of Fourier series are acquired. The brightness BL(i) from the analysis center to the radius is expressed by a sum of four sine functions.
From the above expression, the angle θ at which BL(i) takes the smallest value is the darkest position, and a direction 180° opposite thereto is the direction to which the scanner is tilted.
A graph shown in
BL(i)=α1(θ−β1)·α2(θ−β2) . . . αj(θ−βj)
where j=n/2, n=2m.
As shown in
Thus, the angle θ at which BL(i) takes the smallest value is acquired. The position of the angle θ is the darkest position, and a direction 180° opposite thereto is the direction to which the scanner is tilted.
By the measuring method shown in
As shown in
(Painting)
A user can apply colors on a mesh, or paste a pattern or a photograph in a mask area by a painting function.
First, an area of “start painting” in the modeling controller is selected (imaged) with the scanner (optical reading means).
Next, either one of “pen”, “spray”, and “brush” is selected (imaged) to determine a type of brushes.
Subsequently, parameters of the brush are determined. When thickness of the brush is to be determined, “thickness” is selected (imaged) with the scanner, when shading is to be determined, “shading” is selected, and when clearness is to be determined, “clearness” is selected. By selecting (imaging) triangular icons of “up” and “down” with the scanner, the parameters of the brush can be changed. To return to an initial state, “initial state” is selected (imaged) with the scanner. When the parameters of the brush are determined by such operations, “determine” is selected (imaged) with the scanner.
Colors are then selected in a color palette. The user selects (images) a panel of a desirable color in the color palette with the scanner.
How to draw is then selected.
To draw a polygonal line, “straight line” is selected (imaged) with the scanner, and then positions are sequentially changed by moving the scanner on the paper surface. When the scanner is separated from the paper surface, a polygonal line is drawn.
To draw a curved line, “curved line” is selected (imaged) with the scanner, and then positions are sequentially changed by moving the scanner on the paper surface. When the scanner is separated from the paper surface, a curved line is drawn automatically.
To fill an entire mask area, “fill mask area” is selected (imaged) with the scanner, and a position on the paper corresponding to an area inside a border for which a mask is set is selected (imaged) with the scanner. As a result, the inside of the mask is colored with the color selected above.
To past a pattern or a photograph on a mask area, “pattern” or “photograph” is selected (imaged) with the scanner. As a result, a list of patterns or photographs is displayed on a monitor.
The user selects (images) triangular icons with the scanner to select a pattern or a photograph to be displayed in shade. When a pattern or a photograph to be used is displayed in shade, “determine” is selected (imaged) with the scanner, to choose the pattern or the photograph.
Subsequently, a position on the paper corresponding to an area inside a border for which a mask is set is selected (imaged) with the scanner. As a result, the pattern or the photograph selected above is pasted inside this mask area.
To go back to a previous operation on the screen to redo the work on the display device, “undo” in the modeling controller is selected (imaged) with the scanner. To move forward, “move forward” is selected (imaged) with the scanner.
Finally, when the painting is finished, “finish” is selected (imaged) with the scanner.
A method is explained in which a sheet on which the above described dot pattern has been printed is prepared and correction and processing of an image displayed on the display device (monitor), using the scanner is performed on the sheet.
As one of the application programs stored in the hard disk unit (HD) described in
In the present embodiment, selection of a cheek brush and a color palette used in the simulation is performed using the sheet on which the dot pattern is printed.
On the sheet, the dot pattern described in
In this embodiment, the dot pattern indicating XY coordinates is printed on the sheet.
The sheet is set in a printing device (printer) not shown, and a face image shown in
To accurately reflect selection of a make-up material or the like with the scanner to the face image displayed on the screen of the display device, it is required to make the screen and the sheet agree with each other in positional relation.
Calibration to obtain such agreement is performed as follows.
First, for the sheet, a reference point of an image on the display device is set in advance together with the image, and the reference point is printed in a visible mark (shown with ●) together with the image. This mark can be displayed also on the screen of the display device.
When the calibration is performed using the mark thus printed, first, a calibration button (mark) shown with ● (black dot) at the upper left on the sheet on which the face image shown in the upper half of
Subsequently, ● (black dot) at the bottom right, ● (black dot) at the upper right, and ● (black dot) at the bottom left are sequentially pointed (touched) with the scanner. By pointing (touching) these four calibration buttons, position coordinates of each calibration button on the sheet are given to the simulation program, to make the position coordinates agree with those of calibration buttons at four points on the display device.
By performing such calibration, the coordinates on the sheet and the image on the display device agree with each other in the positional relation. As a result, processing of make-up can be performed on the face image displayed on the screen at accurate positions.
<Make-Up Controller>
Next, a procedure of the simulation by the make-up simulation program using the make-up controller described in the lower half of
A user first selects (images) “start make-up” with the scanner to start the make-up simulation.
A make-up file is then selected. When “select” is selected, a list of files that have already been registered is displayed on the display device. The user selects (images) upward and downward triangular icons to select a make-up file to be displayed in shade. When the make-up file to be used is displayed in shade, “determine” is selected (imaged) with the scanner.
Next, a type of make-up is selected. Default of the type of make-up in the make-up simulation program is set to a cheek brush. Therefore, when the cheek brush, which is default, is selected, it is proceeded to a next operation. When “lip stick/lip brush”, “eye shadow brush”, “mascara”, “eyebrow”, or “eye liner” is selected, a desirable make-up is selected (imaged) with the scanner.
Next, the size of a brush, shading, and clearness are determined. To choose the size of a brush, “size of brush” is selected (imaged) with the scanner. To make the size lager, a triangular icon pointing upward is selected (imaged), and to make the size smaller, a triangular icon pointing downward is selected. To return to an initial setting, “initial setting” is selected (imaged) with the scanner. When thickness is determined, “determine” is selected (imaged) with the scanner. When shading or clearness is determined, “shading” or “clearness” is selected (imaged) with the scanner to determine similarly.
The make-up simulation is then performed. First, color is selected in a color palette. The user selects (images) a panel of a desirable color with the scanner.
To register the selected color in favorites, “register” is selected (imaged) with the scanner. As a result, the color is added thereto. When five colors have already been selected for the make-up, number wished to be changed is selected (imaged) with the scanner. Furthermore, to select a color from among colors that have been registered in favorites, registered number of a make-up (for example, cheek 1) is selected (imaged) with the scanner.
When the type and color of make-up is determined, a part of a face photograph on which the make-up is wished to be put is selected (imaged) with the scanner, and then the make-up simulation is performed on the display device.
To go back to a state before the make-up after the make-up simulation has been performed, “before make-up” is selected (imaged) with the scanner. To go back to a previous screen, “undo” is selected (imaged) with the scanner. To move forward thereafter, “move forward” is selected (imaged) with the scanner.
The make-up file is then registered.
When the make-up simulation is completed, “register” of the make-up file is selected (imaged) with the scanner to register the file. “Overwrite?” is then displayed on the screen of the display device. The user selects (images) either “yes” or “no” with the scanner to determine whether to overwrite the file. When not overwriting the file, “input file name” is displayed on the screen of the display device. When the user inputs an arbitrary file, a new file is created.
When the registration is executed, not only the screen after the make-up is registered, but also processes of the make-up are registered.
Finally, “finish make-up” is selected (imaged) with the scanner to finish the make-up simulation.
For the processing and correction of the face image shown in
In this case, the mask specification processing is required on the image. Since the mask specification processing is the same as the embodiment described above, the explanation thereof is omitted.
As described, if the controller is printed in advance, a user can perform the make-up simulation easily. In addition, it is not limited to the controller for the make-up simulation, and various controllers can be created and printed in advance. Therefore, it is possible to provide a controller meeting the needs of users.
The operations in each of the embodiments described above can be performed without using the controllers by attaching on the surface of the display device a sheet or the like on which a dot pattern is printed and by selecting (imaging) a corresponding position on the screen of the display device.
Furthermore, instead of using the sheet, it can be configured to perform a processing corresponding to a dot pattern by scanning, with a scanner, an image that is projected by a projector on a white board or on a screen on which a dot pattern is printed.
The present invention is applicable to control technology on a screen of a display device.
Number | Date | Country | Kind |
---|---|---|---|
2006-049190 | Jan 2006 | JP | national |
This application is a divisional application of U.S. patent application Ser. No. 12/162,955 filed on Jul. 31, 2008, expected to issue as U.S. Pat. No. 8,368,954 on Feb. 5, 2013, and that application is the National Stage of International Application No. PCT/JP2007/052064, filed on Jan. 31, 2007. The disclosures of U.S. patent application Ser. No. 12/162,955 and International Application No. PCT/JP2007/052064 are hereby incorporated by reference. This application is also based on Japanese Patent Application No. 2006-049190 filed on Jan. 31, 2006, the contents of which are also incorporated hereinto by reference.
Number | Name | Date | Kind |
---|---|---|---|
6072915 | Tanaka | Jun 2000 | A |
6842538 | Lee et al. | Jan 2005 | B2 |
7712860 | Edamura et al. | May 2010 | B2 |
20100074511 | Tamamushi et al. | Mar 2010 | A1 |
Number | Date | Country | |
---|---|---|---|
20130215438 A1 | Aug 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12162955 | US | |
Child | 13759551 | US |