摘要:
A flood-fill method for parallel implementation comprises the steps of receiving an image comprising first elements having a flood fill source colour to be replaced with a flood fill target colour, and second elements not having the flood fill source colour; dividing the image according to a hierarchical space-partitioning scheme to form cells at a plurality of levels in the hierarchy; detecting the occupancy of each cell by second elements; for any cell having no occupancy by second elements, set a depth elevation value for child cells of that cell to be one greater than the value for that cell, indicating that the flood fill shall navigate levels towards a root cell by the depth elevation amount of a cell whilst only occupying nodes without any second elements, thereby reaching the largest parent cell which can be flood-filled; and filling the flood fill source colour of cells having no occupancy by second elements with the flood fill target colour, thereby modifying the received image.
摘要:
An image generating device comprising an object data storage section that stores polygon identification data for polygons of an object to be displayed; a reference image data storage section that stores data of reference images each representing an image when a space including the object to be displayed is viewed from one of a plurality of prescribed reference viewing points, and further stores polygon identification data corresponding to each reference image; a viewing point information acquisition section that acquires information relating to a viewing point; a projection section that represents on a plane of a display image the position and shape of an image of said object when said space is viewed from said viewing point; a pixel value determination section that determines the values of pixels constituting the image of said object in said display image, using the values of the pixels representing the same image in one or more of said plurality of reference images; and an output section that outputs the data of said display image; wherein for a subject pixel, said pixel value determination section is arranged to determine the position on a reference image corresponding to the position of the subject pixel on the object, obtain the polygon identification corresponding to the determined position on the reference image, compare the obtained polygon identification with the polygon identification of the polygon corresponding to the position of the subject pixel on the object; and select the reference image if the compared polygon identifications match.
摘要:
A method of selecting an object from a videogame for 3D printing comprises the steps of periodically rendering a virtual environment of a videogame for display at a succession of points in time periodically recording information that enables a visual reconstruction of at least part of the rendered virtual environment at a succession of points in time periodically recording a predetermined set of values responsive to the state of at least part of the rendered virtual environment at a succession of points in time, the predetermined set of values enabling a model of a selected at least part of the rendered virtual environment to be generated that is configured for 3D printing; meanwhile a complimentary method of selecting an object from a videogame for 3D printing comprises the steps of reviewing one or more visual reconstructions of at least part of a rendered virtual environment of a videogame from respective points in time and selecting one associated with a specific point in time; selecting at least part of the visually reconstructed virtual environment at the specific point in time as the object to be 3D printed; retrieving a respective predetermined set of values defining a state of the selected at least part of the rendered virtual environment; and generating, responsive to the retrieved respective values, a model of the selected at least part of the rendered virtual environment that is configured for 3D printing.
摘要:
An image rendering method for rendering a pixel at a viewpoint comprises the steps of, for a first element of a virtual scene, having a predetermined surface at a position within that scene, evaluating whether to render a pixel corresponding to the first element using at least a first machine learning system having been trained to generate an illuminance output representative of the lighting of the predetermined surface at the position, or using an alternative rendering approach, and rendering the pixel according to which of the at least first machine learning system and the alternative rendering approach are chosen in the evaluating step; wherein the evaluating step comprises obtaining a confidence value from the at least first machine learning system indicative of the accuracy of the illuminance output, the machine learning system having been trained to generate the confidence value in conjunction with the illuminance output, and the rendering step comprises using the alternative rendering approach if the confidence value does not satisfy a predetermined threshold value.
摘要:
An image rendering method for an entertainment device for rendering a pixel at a viewpoint comprises the steps of, for a first element of a virtual scene, having a predetermined surface at a position within that scene, obtaining a machine learning system previously trained to predict a factor that, when combined with a distribution function that characterises an interaction of light with the predetermined surface, generates a pixel value corresponding to the first element of the virtual scene as illuminated at the position; providing the position and a direction based on the viewpoint to the machine learning system; combining the predicted factor from the machine learning system with the distribution function to generate the pixel value corresponding to the illuminated first element of the virtual scene at the position; and incorporating the pixel value into a rendered image for display; wherein the obtaining step comprises: identifying a current or anticipated state of an application determining the virtual scene to be rendered; requesting a download of a machine learning system corresponding to the current or anticipated state, from among a plurality of machine learning systems corresponding to a plurality of states of the application, accessible via a remote server; and downloading the requested machine learning system.
摘要:
A method of generating a training set for a neural precomputed light model comprises the steps of generating a plurality of candidate viewpoints of a scene, culling candidate viewpoints according to a probability that depends upon a response of the surface of the scene to light at a surface position in the scene corresponding to the viewpoint, and generating training images at the remaining viewpoints.
摘要:
An image rendering method for a virtual scene comprises, for a plurality of IDs, generating a respective mask identifying elements of the scene that are associated with a respective ID; for the resulting plurality of masks, dividing a respective mask into a plurality of tiles; and discarding tiles that do not identify any image elements; for the resulting plurality of remaining tiles, selecting a respective trained machine learning model from among a plurality of machine learning models, the respective machine learning model having been trained to generate data contributing to a render of at least a part of an image, based upon elements of the scene associated with the same respective ID as the elements identified in the mask from which the respective tile was divided; and using the respective trained machine learning model to generate data contributing to a render of at least a part of the image based upon input data at least for the identified elements in the respective tile.
摘要:
An image rendering method for rendering a pixel at a viewpoint comprises the steps of, for a first element of a virtual scene, having a predetermined surface at a position within that scene; providing the position and a direction based on the viewpoint to a machine learning system previously trained to predict a factor that, when combined with a distribution function that characterises an interaction of light with the predetermined surface, generates a pixel value corresponding to the first element of the virtual scene as illuminated at the position, combining the predicted factor from the machine learning system with the distribution function to generate the pixel value corresponding to the illuminated first element of the virtual scene at the position, and incorporating the pixel value into a rendered image for display, wherein the machine learning system was previously trained with a training set based on images comprising multiple lighting conditions.