「mrcImageROIs」の版間の差分
行122: | 行122: | ||
====ファイル形式1: OutFileName Rect blx bly brx bry trx try tlx tly==== | ====ファイル形式1: OutFileName Rect blx bly brx bry trx try tlx tly==== | ||
<div>※長方形の座標を指定</div><br> | <div>※長方形の座標を指定</div><br> | ||
− | + | <pre> | |
+ | inputnoise-0000.roi Rect 6 6 26 6 26 26 6 26 | ||
+ | inputnoise-0001.roi Rect 20 6 40 6 40 26 20 26 | ||
+ | inputnoise-0002.roi Rect 40 6 60 6 60 26 40 26 | ||
+ | inputnoise-0003.roi Rect 54 6 74 6 74 26 54 26 | ||
+ | inputnoise-0004.roi Rect 6 20 26 20 26 40 6 40 | ||
+ | inputnoise-0005.roi Rect 20 20 40 20 40 40 20 40 | ||
+ | inputnoise-0006.roi Rect 40 20 60 20 60 40 40 40 | ||
+ | inputnoise-0007.roi Rect 54 20 74 20 74 40 54 40 | ||
+ | inputnoise-0008.roi Rect 6 40 26 40 26 60 6 60 | ||
+ | inputnoise-0009.roi Rect 20 40 40 40 40 60 20 60 | ||
+ | inputnoise-0010.roi Rect 40 40 60 40 60 60 40 60 | ||
+ | inputnoise-0011.roi Rect 54 40 74 40 74 60 54 60 | ||
+ | inputnoise-0008.roi Rect 6 54 26 54 26 74 6 74 | ||
+ | inputnoise-0009.roi Rect 20 54 40 54 40 74 20 74 | ||
+ | inputnoise-0010.roi Rect 40 54 60 54 60 74 40 74 | ||
+ | inputnoise-0011.roi Rect 54 54 74 54 74 74 54 74 | ||
+ | |||
+ | </pre> | ||
====ファイル形式2: OutFileName Rect2 centerx centery width height==== | ====ファイル形式2: OutFileName Rect2 centerx centery width height==== | ||
行142: | 行160: | ||
<td>[[画像:inputnoise-0007.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-0007.roi-mrcImageROIs.png]]</td> | ||
</tr> | </tr> | ||
+ | <tr> | ||
<td>[[画像:inputnoise-0008.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-0008.roi-mrcImageROIs.png]]</td> | ||
<td>[[画像:inputnoise-0009.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-0009.roi-mrcImageROIs.png]]</td> | ||
行152: | 行171: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | ||
− | [[画像:inputnoise1-0000-m0.roi-mrcImageROIs.png]]<br | + | ====Infomationファイルタイプ:Rect2==== |
+ | [[画像:inputnoise1-0000-m0.roi-mrcImageROIs.png]]<br> | ||
===------オプション -oを使用------=== | ===------オプション -oを使用------=== | ||
行173: | 行193: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | ||
===------オプション -Sを使用------=== | ===------オプション -Sを使用------=== | ||
====Infomationファイルの15番を表示==== | ====Infomationファイルの15番を表示==== | ||
+ | =====-S=3の時===== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise-0015-S3.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-0015-S3.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行193: | 行213: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====-S=5の時===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise-0015-S5.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-0015-S5.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行210: | 行233: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | ||
===------オプション -width,-heightを使用------=== | ===------オプション -width,-heightを使用------=== | ||
====-width=10,-height=10に設定==== | ====-width=10,-height=10に設定==== | ||
行252: | 行275: | ||
===------モード1:0~2での処理------=== | ===------モード1:0~2での処理------=== | ||
====Infomationファイル:Rectで実行==== | ====Infomationファイル:Rectで実行==== | ||
+ | =====モード:0===== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise.r1.M0-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise.r1.M0-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行269: | 行292: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:1===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise-r1.M1-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise-r1.M1-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行285: | 行311: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:2===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise.r1.out-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise.r1.out-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行304: | 行333: | ||
===------モード2:0~2での処理------=== | ===------モード2:0~2での処理------=== | ||
− | + | ====Infomationファイル:Rect2で実行==== | |
+ | =====モード:0===== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise1-0000-m0.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise1-0000-m0.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行324: | 行353: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:1===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise1-0000-m1.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise1-0000-m1.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行342: | 行374: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:2===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise1-0000-m2.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise1-0000-m2.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
行360: | 行395: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:3===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | |||
<td>[[画像:inputnoise1-0000-m3.roi-mrcImageROIs.png]]</td> | <td>[[画像:inputnoise1-0000-m3.roi-mrcImageROIs.png]]</td> | ||
<td><p align="left">最小<br> | <td><p align="left">最小<br> |
2013年11月22日 (金) 03:54時点における版
mrcImageROIsとはmrcImageファイルから、複数の気になる領域を切り出すためのEosのコマンドである。
目次
アルゴリズム
オプション一覧
メインオプション
オプション | 必須項目/選択項目 | 説明 | デフォルト |
---|---|---|---|
-i | 必須 | 入力ファイル: 画像 | NULL |
-I | 必須 | 入力ファイル:ROI情報の設定 | NULL |
-o | 選択 | 出力ファイル:モンタージュファイルの指定 | stdout(設定しなければ標準出力) |
-S | 選択 | 入力:入力ファイルとROI情報を設定した画像の間で縮小率が異なっていた場合 | NULL(縮小が掛かっていないとする) |
-w | 選択 | 入力:全てのROIの幅を指定した一定幅にする | 0.0(ROI情報ファイルのまま) |
-h | 選択 | 入力:全てのROIの高さを指定した一定高さにする | 0.0(ROI情報ファイルのまま) |
-m | 選択 | 補間方法の指定 | 0 |
-M | 選択 | 出力ファイルフォーマットの指定 | 2 |
モードの詳細
補間の仕方を指定する。
ROI情報ファイルのフォーマット
出力ファイル名 形 パラメータ
長方形(4隅を指定)
OutFileName Rect blx bly brx bry trx try tlx tly
長方形(中心と大きさの指定)
OutFileName Rect2 centerx centery width height
中心と半径の指定
OutFileName Circle centerx centery radius
出力ファイルフォーマットの指定
0: Char 1: Short 2: Float
実行例
------入力ファイルの画像------
ファイル:input-mrcImageROIs.png | 最小 最大 |
0 255 |
ノイズを加えたものを使用 ------> |
ファイル:inputnoise.r1-mrcImageROIs.png | 最小 最大 |
0 255 |
------Infomationファイルの内容------
ファイル形式1: OutFileName Rect blx bly brx bry trx try tlx tly
inputnoise-0000.roi Rect 6 6 26 6 26 26 6 26 inputnoise-0001.roi Rect 20 6 40 6 40 26 20 26 inputnoise-0002.roi Rect 40 6 60 6 60 26 40 26 inputnoise-0003.roi Rect 54 6 74 6 74 26 54 26 inputnoise-0004.roi Rect 6 20 26 20 26 40 6 40 inputnoise-0005.roi Rect 20 20 40 20 40 40 20 40 inputnoise-0006.roi Rect 40 20 60 20 60 40 40 40 inputnoise-0007.roi Rect 54 20 74 20 74 40 54 40 inputnoise-0008.roi Rect 6 40 26 40 26 60 6 60 inputnoise-0009.roi Rect 20 40 40 40 40 60 20 60 inputnoise-0010.roi Rect 40 40 60 40 60 60 40 60 inputnoise-0011.roi Rect 54 40 74 40 74 60 54 60 inputnoise-0008.roi Rect 6 54 26 54 26 74 6 74 inputnoise-0009.roi Rect 20 54 40 54 40 74 20 74 inputnoise-0010.roi Rect 40 54 60 54 60 74 40 74 inputnoise-0011.roi Rect 54 54 74 54 74 74 54 74
ファイル形式2: OutFileName Rect2 centerx centery width height
------オプション必須項目のみの場合の出力結果画像------
Infomationファイルタイプ:Rect
Infomationファイルタイプ:Rect2
ファイル:inputnoise1-0000-m0.roi-mrcImageROIs.png
------オプション -oを使用------
ファイル:inputnoise.r1.out-mrcImageROIs.png | 最小 最大 |
-168.927 160.828 |
------オプション -Sを使用------
Infomationファイルの15番を表示
-S=3の時
ファイル:inputnoise-0015-S3.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
-S=5の時
ファイル:inputnoise-0015-S5.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
------オプション -width,-heightを使用------
-width=10,-height=10に設定
ファイル:inputnoise-0015-w10h10.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
-width=50,-height=50に設定
ファイル:inputnoise-0015-w50h50.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
------モード1:0~2での処理------
Infomationファイル:Rectで実行
モード:0
ファイル:inputnoise.r1.M0-mrcImageROIs.png | 最小 最大 |
0 165 |
モード:1
ファイル:inputnoise-r1.M1-mrcImageROIs.png | 最小 最大 |
0 65445 |
モード:2
ファイル:inputnoise.r1.out-mrcImageROIs.png | 最小 最大 |
-168.927 160.828 |
------モード2:0~2での処理------
Infomationファイル:Rect2で実行
モード:0
ファイル:inputnoise1-0000-m0.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
モード:1
ファイル:inputnoise1-0000-m1.roi-mrcImageROIs.png | 最小 最大 |
0 255 |
モード:2
ファイル:inputnoise1-0000-m2.roi-mrcImageROIs.png | 最小 最大 |
-65.1789 323.14 |
モード:3
ファイル:inputnoise1-0000-m3.roi-mrcImageROIs.png | 最小 最大 |
-13045.1 399922 |