Real-time Edge-Aware Image Processing with the Bilateral Grid: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:


==Method==
==Method==
# Take a 2D image and create a low-resolution 3D grid with axis (x, y, intensity).   
# Create a low-resolution 3D grid with axis (x, y, intensity).   
#* This is called a ''bilateral grid''.   
#* This is called a ''bilateral grid''.   
# Place pixels for your 2D image into bins within the bilateral grid based on x, y, z position and intensity.
#* For an 8MP image, they claim a \(70 \times 70 \times 10\) grid is sufficient.
#* For an 8MP image, they claim a \(70 \times 70 \times 10\) grid is sufficient.
# When performing image effects, only change pixels within ''slices'' of the grid: pixels within a certain intensity.
# When performing image effects, only change pixels within ''slices'' of the grid: pixels within a certain intensity.