Posts by wutianmeng

    I've made the C# example for new JPEG operator for Oliver, he has tested it and could go forward with his project. I'm attaching it here maybe it would be helpful for someone others.


    In the Zip file the .hap, .mcf and generated JEPG image are included, the example is running with internal generator so that you don't need a camera, it's compatible with Runtime 5.7.0 x64.

    Files

    • C# JPEG.zip

      (2.48 MB, downloaded 6 times, last: )

    Dear Lily,


    as I talked with you, you formula shall like this:

    OPn=(2Maxn -Pn)*OPn- 1/2Maxn + 255 * Pn/2Maxn

    OPn+1 = (2Maxn+1 -Pn+1)*OPn/2Maxn+1 + 255 * Pn+1/2Maxn+1

    OPn+2 = (2Maxn+2 -Pn+2)*OPn+1/2Maxn+2 + 255 * Pn+2/2Maxn+2

    .....


    Isn't it?