Back to photostream

Mark Twain and the Four-Way Reflection 2

I continued refining my reflection feature in my camera program. I got vertical and four-way reflection working for still images. (Vertical reflection still doesn't work for live images but four-way reflection does...)

 

I am still tracking down the pesky bug that leaves lines in the middle and edges of the image. I thought it was related to the dimensions of the image so I changed all the images to have even dimensions but that didn't have any noticeable effect, unfortunately. Also, unfortunately, it's a "non-trivial" task (as one of my professors from long ago said) to debug a Metal kernel on an iPhone.

 

Four-way reflection takes one of the quadrants of the image (upper-left, upper-right, lower-right, or lower-left) and reflects it to the other three quadrants. The result is usually rather queasy...

 

Nice (but not any more) portrait of Mark Twain from the early 1900s.

182 views
0 faves
0 comments
Uploaded on February 3, 2019