matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
matrix
Matrix
= (float)
;
//從
到
進行修改色彩變換矩陣主對角線上的數值
//依次減少每種色彩分量
Single count = (float)
;
while (count >
)
{
matrix
Matrix
= (float)count;
matrix
Matrix
= (float)count;
matrix
Matrix
= (float)count;
matrix
Matrix
= (float)count;
attributes
SetColorMatrix(matrix
ColorMatrixFlag
Default
ColorAdjustType
Bitmap);
g
DrawImage(MyBitmap
new Rectangle(
width
height)
width
height
GraphicsUnit
Pixel
attributes);
System
Threading
Thread
Sleep(
);
count = (float)(count
);
}
}
catch (Exception ex)
{
MessageBox
Show(ex
Message
信息提示
);
}
}
六 以左右對接的方式顯示圖像
原理: 首先將圖像分為左右兩部分 然後分別顯示
代碼:
private void button_Click(object sender EventArgs e)
{
//以左右對接方式顯示圖像
[] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/net/201311/14935.html