Extras |
|
Weighing Constraints. In this
enhancement I attempted to weight the constraints of the M matrix and v vector
when calculating the depths. The thinking here is that dark pixels have less
accurate information than light pixels and therefore should receive less
weight. To achieve this I weighted each constraint by the sum of the pixel
values across all images. In this way, pixels that were dark in all images
would get a low weight and pixels that were bright in all images would get a
high weight. Pixels values that varied across images would get an average
weight. This enhancement produced interesting results. In some cases it
achieved the desired results of reducing abnormal normals like the eye of the
owl, but it also seems to distort the normals in other areas. For instance,
with the cat, the nuzzle portion is significantly more defined and less smooth
than the original solution.
|
|
Original |
Weighted |
|
|
|
|
|
|
|
|
|
|
Weighing Normals. In the normal
project solution when solving for the normals we weight each side by the image
intensity to help with shadows in the image. As an alternative method I weighed
each side in the normal equation by the average of the pixel intensities over
all of the images for the pixel we are computing. This results in a more
gradual blending of the normals. This can be seen in the computation of the
normals for the cat in the RGB image. On the left side of the cat's neck there is a more
gradual blending when compared with the original. Looking closely at the cat's wiskers
also shows the shallower normals produced by this average weighing.
You can also see the effects as the albedo mask and depths are computed from
these normals. The results are much smoother and gradual than the originals.
|
|
Original |
Weighted |
|
|
|
|
|
|
|
|
|
|
Gaussian Filter on Normals. In
yet another attempt to smooth the normals and ultimately the depths, once I calculated the normals, I
then applied a gaussian smoothing kernel to them. By doing this, the normal at
each point would be smoothed to its neighbors which theoretically should cause
the normals to be more of a continuous function (and smoother). You can see the effects of
this on the buddha as the RGB map as well as the depths are smoother (and
blurrier). On the cat images, you can see the smoothing on the whiskers as they
are not nearly as defined as in the original. The owl images show slight improvement in the eye
area, but more improvement is still possible.
|
|
Original |
Gaussian |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|