掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
FMX Bicubic 画像拡縮 (ID:49700)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
https://github.com/bLightZP/ImageInterpolation/blob/master/resizeimageunit.pas にはBicubicはないような。 記述するなら下記かな。 function FilterBicubic(Value: Single): Single; begin { |x|<1 :1-2|x|^2+|x|^3 1<=|x|<2 :4-8|x|+5|x|^2-|x|^3 } if Value < 0.0 then Value := -Value; if Value < 1.0 then Result := 1.0 - 2.0 * Value * Value + Value * Value * Value else if Value < 2.0 then Result := 4.0 - 8.0 * Value + 5.0 * Value * Value - Value * Value * Value else Result := 0.0; end;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.