Voxel build
A computer-implemented method that allows users evaluate the densities of images and search for abnormalities in three-dimensional space. The voxel buildup uses a series of two-dimensional images and evaluates every pixel based on the user described predetermined threshold value at runtime. A singular optimized voxel-generated mesh is spawned to represent the combined locations of every pixel.
1. A method for creation of three-dimensional mesh capable of evaluation and manipulation within a virtual reality space, comprising:
uploading one or more two-dimensional images, the two-dimensional images comprising pixels;
evaluating the pixels based on user-described predetermined threshold values at runtime by looping through rows and columns of the image and obtaining color values for each pixel, comparing each pixel's color against the predetermined threshold values, and saving the location of pixels with a color value above the predetermined threshold;
flagging pixels that meet the user-described predetermined threshold values;
determining a height value associated with each flagged pixel to define a vector location;
saving locations of the flagged pixels;
mapping the flagged pixels in three-dimensional space using the vector locations; and
displaying the flagged pixels in three-dimensions within the virtual reality space by spawning an optimized voxel generated mesh within the virtual reality space.
2. The method of claim 1 , wherein the predetermined threshold color is user-defined.
3. The method of claim 1 , wherein the predetermined threshold color is determined by a processor.
4. The method of claim 1 , wherein the predetermined threshold values comprise a range of values, and the evaluation of the pixels determines whether each pixel is within the range.
5. The method of claim 1 , wherein the step of saving the location of pixels with a color value above the predetermined threshold comprises saving the pixels in an array associated with an image.
6. The method of claim 1 , wherein the step of saving the location of pixels with a color value above the predetermined threshold comprises saving the pixels in a text file.
7. The method of claim 1 , wherein each voxel of the voxel mesh correlates with a pixel of the two-dimensional image.
8. The method of claim 7 , wherein the one or more two-dimensional images comprises a set of two-dimensional images which is displayed within the virtual reality space along with a three-dimensional voxel mesh representing the set.
9. The method of claim 8 , further comprising manipulating the voxel mesh within the virtual reality space.
10. The method of claim 1 , wherein the step of displaying the flagged pixels in three-dimensions within the virtual reality space by spawning an optimized voxel generated mesh within the virtual reality space comprises generating a list of triangle vertex locations and indices and placing a cube at a location of saved pixels.
11. The method of claim 10 , further comprising optimizing the three-dimensional mesh geometry.
12. A method for creation of three-dimensional mesh capable of evaluation and manipulation within an extended reality space, comprising:
uploading one or more two-dimensional images, the two-dimensional images comprising pixels;
evaluating the pixels based on a user-described predetermined threshold values at runtime by looping through rows and columns of the image and obtaining color values for each pixel, comparing each pixel's color against the predetermined threshold values, and saving the location of pixels with a color value above the predetermined threshold;
flagging pixels that meet the user-described predetermined threshold values;
determining a height value associated with each flagged pixel to define a vector location;
saving locations of the flagged pixels;
mapping the flagged pixels in three-dimensional space using the vector locations; and
displaying the flagged pixels in three-dimensions within the virtual reality space by spawning an optimized voxel generated mesh within the extended reality space.
13. The method of claim 12 , further comprising manipulating the voxel mesh within the extended reality space.
14. The method of claim 13 , wherein the extended reality space comprises a virtual reality space.
15. The method of claim 13 , wherein the extended reality space comprises an augmented reality space.
16. The method of claim 13 , wherein the extended reality space comprises a mixed reality space.