In order that the invention may be clearly understood and readily carried into effect, one embodiment thereof will now be described, by way of example only, with reference to the accompanying drawings, of which:
As previously mentioned, the intention of the arrangement now to be described is to facilitate, speed up and render more accurate the input of data concerning the physical characteristics of substantially planar surfaces of a room or other area into a computer that is capable of running software that conditions the computer to display one or more of the surfaces overlain with selected surface treatments. A typical objective of the use of such expedients is to enable a home owner to review, effectively in situ, various potential surface treatments, such as paint colours, wallpaper designs and colours, carpeting and the like before redecorating, refurbishing or, indeed, before first decorating or furnishing a room.
It is thus prerequisite that a computer is available to the user and that it is capable of running the software that permits overlaying of colours, patterns and/or textures on surfaces displayed in an image of a room or other area derived from a photograph of the room or area.
Referring now to
The markings such as 9 on the template devices are also constrained to be of known dimensions and thus provide an accurate basis for determination of other important physical characteristics, such as scaling and aspect ratio.
Usefully, the markings on the template devices can also include orientation devices, such as the broad arrows 10, which can be used to indicate the orientation of a pattern or ornament incorporated in a surface treatment to be synthetically overlain on a representation of the selected surface or surfaces.
The sheet material of the template devices such as 6 is also, in this example, selected to have a known reflectance and colouration such that its in situ response to light falling on the surface to which it is (temporarily) applied can be utilised in applying suitable lighting characteristics to the imaged scene when selected overlays are applied to the surface.
It will be appreciated that the computer which is running the overlay software needs to be suitable conditioned to automatically utilise the data derived from the template devices and relating to physical characteristics of the surfaces to develop appropriate measurands and operands, and additional software is supplied for that purpose.
It will thus be appreciated that, having decided which surfaces of a room are candidates for computerised texture variation, the user temporarily attaches a template device to each different plane of the surfaces to be mapped and takes a photograph of the room from a desired position.
The photograph, unless taken on a digital camera, needs to be digitised (e.g. by scanning) for input to a computer running the required visualisation software, which guides the user through a sequence of operations designed to select the regions of the image corresponding to the surfaces in question, delineate the outline and mask out any features, such as doors and windows, which are not part of the planned review. The user is also requested, in each case, to identify the template device lying in the same plane as a selected outline. The computer evaluates the relevant physical characteristics, as described above, and the relevant textures can then be superimposed on the image of the scene as displayed, for example, on a screen associated with the computer.
The physical characteristics required by the texture-mapping software typically include vanish points (convergence points of extrapolated perspective lines), calibration data for size mapping and aspect ratio, and area brightness.
These characteristics can, as mentioned above, be generated by the computer from data derived from the template devices.
Regarding the vanish points, the image of the template device is reviewed to identify the corner points of the rectangular frame 9 and these are used in pairs to extrapolate to the vanishing points for the relevant surface. It is preferred to hold these data with sub-pixel accuracy.
In one practical arrangement, the following steps are taken:
Bearing in mind that the user has supplied instructions to the computer defining a closed set of vector outlines for each planar element of each surface to be reviewed and an indication of the template device appropriate to each planar element, the vanish points can be identified with higher accuracy, if desired, by:
Once the vanish points have been established to a desired degree of accuracy, a mapping quadrilateral is defined by using the two vanish points for a given planar element, finding the pair of intersecting lines for each that optimises the opening angle and computing the four points of intersection between these two pairs of lines.
It is now possible to establish the true size of the quadrilateral; the first stage in this process being to call up the co-ordinates of the corners of the rectangular marking on the template device. If these are not contained within the dimensions of the mapping quadrilateral, the latter is temporarily expanded to include them. Given the known dimensions of the markings on the template device (e.g. 16 cm sides, measured internally of the rectangle) a calibration factor giving the scale in each direction is established. It is then possible to map a texture to the quadrilateral.
As mentioned previously, the template device can also be used to determine scene brightness. The brightness is adjusted using the fact that white areas of the template have been lit by the ambient lighting conditions within the room. The brightness of pixels falling in the aforesaid white areas is compared to that of pixels in the immediate vicinity of the template device, but outside it, to ascertain the degree of adjustment needed to brighten scene pixels to the same level as those representing the white areas of the template device.
It will be appreciated that the template device can take many different forms and the scope of this invention is not intended to be limited to the specific example shown herein. Moreover, the information relating to the template device and its components may be derived differently, processed differently and utilised differently than described herein.
Number | Date | Country | Kind |
---|---|---|---|
0317642.7 | Jul 2003 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB04/03269 | 7/28/2004 | WO | 00 | 10/10/2007 |