Introduction - If you have any usage issues, please Google them yourself
for(i=0;i<m_imgHeight;i++){
for(j=0;j<m_imgWidth;j++)
*(m_pImgDataOut+i*lineByteOut+j)=0.11**(m_pImgData+i*lineByteIn+j*pixelByteIn+0)
+0.59**(m_pImgData+i*lineByteIn+j*pixelByteIn+1)
+0.30**(m_pImgData+i*lineByteIn+j*pixelByteIn+2)+0.5;
}