幾何
回転
90度回転
専用のメニューを使用すると、画像を時計回りまたは反時計回りに90度回転させることができます。この回転処理ではピクセルの補間が行われないため、90度の倍数で画像を回転させたい場合に最適な方法です。この機能は、ツールバーにある および
アイコンからも利用できます。
回転・切り抜き
別の角度で回転させるには、回転・切り抜きツールの使用が必要です。このツールを使えば、簡単に操作しながら、正確な回転や切り抜きを行うことができます。
すべての設定が表示された回転・切り抜きダイアログボックス。
5つの補間アルゴリズムが利用可能です:
Nearest Neighbor
Bilinear
Bicubic
Pixel Area Relation
Lanczos-4 (Default)
Lanczos-4 is the one that gives the best results. However, if you see artifacts, especially stars surrounded by black pixels, then you may want to try others. However, the button Interpolation clamping applies a clamping factor to Bicubic and Lanczos-4 interpolation in order to prevent ringing artifacts.
If you don't want the image to be cropped after rotation, then you should uncheck the crop button. However, the missing areas of the picture will be filled with black pixel.
The interest of this tool is that the rotation of the image is represented by a red frame, as illutrated in the figure below. In addition, if a selection is active, it is possible to change its size and see in real time the framing evolve.
Rotate&Crop dialog box with a active selection. Click to enlarge the figure and see the details better.
Sirilコマンドライン
rotatePi
Sirilコマンドライン
rotate degree [-nocrop] [-interp=] [-noclamp]
鏡映
また、画像に鏡像変換を適用することも可能です。x軸方向またはy軸方向のいずれかで行なえます。この変換は、ツールバーの および
ボタンからも実行できます。
Sirilコマンドライン
mirrorx [-bottomup]
Sirilコマンドライン
mirrory
Binning
The binning is a special transformation for resampling image. It computes the sum or mean of the pixels 2x2, 3x3, ... (depending of the binning factor) of the in-memory image (like the analogic binning of CCD camera).
Binning dialog box
Sirilコマンドライン
binxy coefficient [-sum]
Resample
The resample tool allows to resize the image at the cost of an interpolation chosen from the following list:
Nearest Neighbor
Bilinear
Bicubic
Pixel Area Relation
Lanczos-4 (Default)
Lanczos-4 is the one that gives the best results. However, if you see artifacts, especially stars surrounded by black pixels, then you may want to try others. However, the button Interpolation clamping applies a clamping factor to Bicubic and Lanczos-4 interpolation in order to prevent ringing artifacts.
If you want to change the image ratio, then you should uncheck the Preserve Aspect Ratio button.
Resample dialog box
Sirilコマンドライン
resample { factor | -width= | -height= | -maxdim= } [-interp=] [-noclamp]
seqresample sequencename { -scale= | -width= | -height= } [-interp=] [-prefix=]