title: Android Camera how to use LUT images for preview effects
body: <p>I found out that u can use to bitmaps in Android using LUT. Before I used to
  <a href="https://xjaphx.wordpress.com/2011/06/22/image-processing-brightness-over-image/" rel="nofollow noreferrer">do it programatically</a> then I found out about LUTs. 
  They can be used to edit bitmaps and apply some effects like filters just like the one you see on stock camera like mono,sepia,solarize,etc.. </p>
  
  <p>I am working along side an IOS dev and we're trying to create an app that has camera taking functionality and the goal for the camera functionality is:</p>
  
  <ol>
  <li>apply the LUT filter to the result captured image  </li>
  <li>apply the LUT
  filter to the camera preview (to make it brighter and smoother -usually the face of the person).</li>
  </ol>
  
  <p>For IOS this library <a href="https://github.com/IFTTT/FastttCamera" rel="nofollow noreferrer">Ifttt Fast Camera</a> helps to achieve the above goals. For Android I'm trying to do the same thing but having a hard time. There are libraries that show how to apply LUTs to bitmaps but I can't find any resource for applying it to the camera preview.</p>
  
  <p>The question/problem here is how to apply the LUT image/bitmap to Android camera preview or is it possible? If you guys have other approaches for achieving the goals please let me know too.</p>
  
  <p>Sources that show LUT to edit the bitmap</p>
  
  <ul>
  <li><a href="https://github.com/RenderScript/RsLutDemo" rel="nofollow noreferrer">https://github.com/RenderScript/RsLutDemo</a></li>
  <li><a href="https://github.com/dntks/easyLUT/wiki" rel="nofollow noreferrer">https://github.com/dntks/easyLUT/wiki</a></li>
  </ul>
  
  <p>References:</p>
  
  <ul>
  <li><a href="https://xjaphx.wordpress.com/2011/06/22/image-processing-brightness-over-image/" rel="nofollow noreferrer">https://xjaphx.wordpress.com/2011/06/22/image-processing-brightness-over-image/</a></li>
  <li><a href="https://github.com/IFTTT/FastttCamera" rel="nofollow noreferrer">https://github.com/IFTTT/FastttCamera</a></li>
  </ul>