I am trying to implement the paper: Real-Time Depth-of-Field Rendering Using Anisotropically Filtered Mipmap Interpolation from Sungkil Lee, Gerard Jounghyun Kim and Seungmoon Choi.
Everything works fine till I reached chepter 5 (Smoothing forground Boundaries). After I created the DoN texture, on site 6 between (10) and (11) I don't know how to get value of M
to continue. My texture has 1024x1024 pixels. The highest mipmap level I have is 10 (1x1 pixel). I don't think in the paper they talk about the maximum mipmap level (10).