ImageMagick v6 Examples -- Resize or Scaling (General Techniques) Resizing Images Ignore Aspect Ratio ('!') Only Shrink Larger ('>') Only Enlarge Smaller ('<') Fill Given Area ('^') Percentage Resize ('%') Pixel Count Limit ('@') During Image Reading Other Specialised Resize Operators Geometry - Resize just the last image Thumbnail - Resize with profile stripping Resample - Changing an images reso
Sprite of a television set (center) resized using simple nearest-neighbor scaling (left) and the 2xSaI interpolation algorithm (right) Comparison of common pixel art scaling algorithms. View in full resolution to see the differences. Pixel art scaling algorithms are graphical filters that attempt to enhance the appearance of hand-drawn 2D pixel art graphics. These algorithms are a form of automati
遠隔地に画像をネットワーク配信するときに、遅延を少なくフレームレートを上げたい場合、とりあえず画像サイズを小さくして送っておいて、受信側で高解像度化できたらいいな、ということがあります。ざっと画像拡大縮小アルゴリズムを調べてみましょう。 一般的な画像によく使われる拡大縮小アルゴリズム Nearest neighbor(ニアレストネイバー) Bilinear(バイリニア) Bicubic(バイキュービック) Lanczos-3(ランチョス3) 任意の浮動小数点のスケール倍に拡大縮小するアルゴリズムです。これらはOpenCVのresize関数の補間アルゴリズムとしても実装されています。opencvではINTER_AREAという指定もできます。またLanczos-3ではなく4が実装されています。ただし、Lanczosアルゴリズムの結果の割には、ものすごい変な結果が返ってきますので、品質重視の場合
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く