私はそれを機能させようとしていますが、まだ結果はありません。ぼかし画像フィルタリングのチュートリアルまたはサンプル アセンブラ コードを知っていますか?
1016 次
1 に答える
0
畳み込み行列でぼかすことができます。
システムによっては、古い浮動小数点数、整数演算、または新しい SSE ops を使用できます。
色の値を表すためにバイトを使用している場合、全体的なアルゴリズムは次のとおりです。
calculate sum of convolution matrix (in blur matrix that would be 9)
Clear destination register
load each byte under convolution matrix
multiply each byte with its corresponding number in the convolution matrix
place the sum into the destination register
divide destination register with the sum of convolution matrix
store the destination register into destination buffer
于 2010-07-20T17:10:44.017 に答える