matrix
Matrix
= (float)
;
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
//从到进行修改色彩变换矩阵主对角线上的数值
//依次减少每种色彩分量
Single count = (float);
while (count > )
{
matrixMatrix = (float)count;
matrixMatrix = (float)count;
matrixMatrix = (float)count;
matrixMatrix = (float)count;
attributesSetColorMatrix(matrix ColorMatrixFlagDefault ColorAdjustTypeBitmap);
gDrawImage(MyBitmap new Rectangle( width height)
width height GraphicsUnitPixel attributes);
SystemThreadingThreadSleep();
count = (float)(count );
}
}
catch (Exception ex)
{
MessageBoxShow(exMessage 信息提示);
}
}
六 以左右对接的方式显示图像
原理: 首先将图像分为左右两部分 然后分别显示
代码:
private void button_Click(object sender EventArgs e)
{
//以左右对接方式显示图像
[] [] [] [] [] [] [] [] [] []