「mrcImageROIs」の版間の差分
(→-M の詳細) |
|||
(同じ利用者による、間の8版が非表示) | |||
行15: | 行15: | ||
<td>-i</td> | <td>-i</td> | ||
<td>必須</td> | <td>必須</td> | ||
− | <td>入力ファイル: | + | <td>入力ファイル: [[mrcImage]]</td> |
<td>NULL</td> | <td>NULL</td> | ||
</tr> | </tr> | ||
行21: | 行21: | ||
<td>-I</td> | <td>-I</td> | ||
<td>必須</td> | <td>必須</td> | ||
− | <td> | + | <td>入力ファイル:[[ASCII]](ROI情報の設定)</td> |
<td>NULL</td> | <td>NULL</td> | ||
</tr> | </tr> | ||
行61: | 行61: | ||
</tr> | </tr> | ||
</div> | </div> | ||
− | </table> | + | </table> |
− | === | + | ===-m の詳細=== |
[[補間]]の仕方を指定する。 | [[補間]]の仕方を指定する。 | ||
+ | <table border="1"> | ||
+ | <div align="left"> | ||
+ | <tr> | ||
+ | <th>モード</th> | ||
+ | <th>説明</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0</td> | ||
+ | <td>最近傍法</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>1</td> | ||
+ | <td>線形補間法</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>2</td> | ||
+ | <td>3次補間法</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>3</td> | ||
+ | <td>2次曲面補間法</td> | ||
+ | </tr> | ||
+ | </div> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | ===-M の詳細=== | ||
+ | 出力ファイルフォーマットを指定する。 | ||
+ | <table border="1"> | ||
+ | <div align="left"> | ||
+ | <tr> | ||
+ | <th>モード</th> | ||
+ | <th>説明</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0</td> | ||
+ | <td>Char</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>1</td> | ||
+ | <td>Short</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>2</td> | ||
+ | <td>Float</td> | ||
+ | </tr> | ||
+ | </div> | ||
+ | </table> | ||
+ | <br> | ||
=== ROI情報ファイルのフォーマット=== | === ROI情報ファイルのフォーマット=== | ||
行76: | 行125: | ||
中心と半径の指定 | 中心と半径の指定 | ||
− | OutFileName Circle centerx centery radius | + | OutFileName Circle centerx centery radius |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== 実行例 == | == 実行例 == | ||
行88: | 行131: | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>[[画像: | + | <td>[[画像:Input-mrcImageROIs.png]]</td> |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行103: | 行146: | ||
<td>ノイズを加えたものを使用<br> | <td>ノイズを加えたものを使用<br> | ||
------></td> | ------></td> | ||
− | <td>[[画像: | + | <td>[[画像:Inputnoise.r1-mrcImageROIs.png]]</td> |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行121: | 行164: | ||
===------Infomationファイルの内容------=== | ===------Infomationファイルの内容------=== | ||
====ファイル形式1: OutFileName Rect blx bly brx bry trx try tlx tly==== | ====ファイル形式1: OutFileName Rect blx bly brx bry trx try tlx tly==== | ||
− | + | <div>※長方形の座標を指定</div> | |
− | + | <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-0012.roi Rect 6 54 26 54 26 74 6 74 | ||
+ | inputnoise-0013.roi Rect 20 54 40 54 40 74 20 74 | ||
+ | inputnoise-0014.roi Rect 40 54 60 54 60 74 40 74 | ||
+ | inputnoise-0015.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==== | ||
行133: | 行194: | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0000.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0001.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0002.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0003.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0004.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0005.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0006.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0007.roi-mrcImageROIs.png]]</td> |
</tr> | </tr> | ||
− | <td>[[画像: | + | <tr> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0008.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0009.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0010.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0011.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0012.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0013.roi-mrcImageROIs.png]]</td> |
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0014.roi-mrcImageROIs.png]]</td> |
+ | <td>[[画像:Inputnoise-0015.roi-mrcImageROIs.png]]</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | ||
− | [[画像: | + | ====Infomationファイルタイプ:Rect2==== |
+ | [[画像:Inputnoise1-0000-m0.roi-mrcImageROIs.png]]<br> | ||
===------オプション -oを使用------=== | ===------オプション -oを使用------=== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>[[画像: | + | <td>[[画像:Inputnoise.r1.out-mrcImageROIs.png]]</td> |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行173: | 行236: | ||
</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>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行193: | 行256: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====-S=5の時===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise-0015-S5.roi-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行210: | 行276: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | ||
===------オプション -width,-heightを使用------=== | ===------オプション -width,-heightを使用------=== | ||
====-width=10,-height=10に設定==== | ====-width=10,-height=10に設定==== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0015-w10h10.roi-mrcImageROIs.png]]</td> |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行234: | 行300: | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>[[画像: | + | <td>[[画像:Inputnoise-0015-w50h50.roi-mrcImageROIs.png]]</td> |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行252: | 行318: | ||
===------モード1:0~2での処理------=== | ===------モード1:0~2での処理------=== | ||
====Infomationファイル:Rectで実行==== | ====Infomationファイル:Rectで実行==== | ||
+ | =====モード:0===== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise.r1.M0-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行269: | 行335: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:1===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise-r1.M1-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行285: | 行354: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:2===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise.r1.out-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行304: | 行376: | ||
===------モード2:0~2での処理------=== | ===------モード2:0~2での処理------=== | ||
− | + | ====Infomationファイル:Rect2で実行==== | |
+ | =====モード:0===== | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise1-0000-m0.roi-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行324: | 行396: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:1===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise1-0000-m1.roi-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行342: | 行417: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:2===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise1-0000-m2.roi-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> | ||
行360: | 行438: | ||
</td> | </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | |||
+ | =====モード:3===== | ||
+ | <table> | ||
<tr> | <tr> | ||
− | + | <td>[[画像:Inputnoise1-0000-m3.roi-mrcImageROIs.png]]</td> | |
− | <td>[[画像: | + | |
<td><p align="left">最小<br> | <td><p align="left">最小<br> | ||
最大<br> | 最大<br> |
2014年7月30日 (水) 01:18時点における最新版
mrcImageROIsとはmrcImageファイルから、複数の気になる領域を切り出すためのEosのコマンドである。
目次
アルゴリズム
オプション一覧
メインオプション
オプション | 必須項目/選択項目 | 説明 | デフォルト |
---|---|---|---|
-i | 必須 | 入力ファイル: mrcImage | NULL |
-I | 必須 | 入力ファイル:ASCII(ROI情報の設定) | NULL |
-o | 選択 | 出力ファイル:モンタージュファイルの指定 | stdout(設定しなければ標準出力) |
-S | 選択 | 入力:入力ファイルとROI情報を設定した画像の間で縮小率が異なっていた場合 | NULL(縮小が掛かっていないとする) |
-w | 選択 | 入力:全てのROIの幅を指定した一定幅にする | 0.0(ROI情報ファイルのまま) |
-h | 選択 | 入力:全てのROIの高さを指定した一定高さにする | 0.0(ROI情報ファイルのまま) |
-m | 選択 | 補間方法の指定 | 0 |
-M | 選択 | 出力ファイルフォーマットの指定 | 2 |
-m の詳細
補間の仕方を指定する。
モード | 説明 |
---|---|
0 | 最近傍法 |
1 | 線形補間法 |
2 | 3次補間法 |
3 | 2次曲面補間法 |
-M の詳細
出力ファイルフォーマットを指定する。
モード | 説明 |
---|---|
0 | Char |
1 | Short |
2 | Float |
ROI情報ファイルのフォーマット
出力ファイル名 形 パラメータ
長方形(4隅を指定)
OutFileName Rect blx bly brx bry trx try tlx tly
長方形(中心と大きさの指定)
OutFileName Rect2 centerx centery width height
中心と半径の指定
OutFileName Circle centerx centery radius
実行例
------入力ファイルの画像------
最小 最大 |
0 255 |
ノイズを加えたものを使用 ------> |
最小 最大 |
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-0012.roi Rect 6 54 26 54 26 74 6 74 inputnoise-0013.roi Rect 20 54 40 54 40 74 20 74 inputnoise-0014.roi Rect 40 54 60 54 60 74 40 74 inputnoise-0015.roi Rect 54 54 74 54 74 74 54 74
ファイル形式2: OutFileName Rect2 centerx centery width height
------オプション必須項目のみの場合の出力結果画像------
Infomationファイルタイプ:Rect
Infomationファイルタイプ:Rect2
------オプション -oを使用------
最小 最大 |
-168.927 160.828 |
------オプション -Sを使用------
Infomationファイルの15番を表示
-S=3の時
最小 最大 |
0 255 |
-S=5の時
最小 最大 |
0 255 |
------オプション -width,-heightを使用------
-width=10,-height=10に設定
最小 最大 |
0 255 |
-width=50,-height=50に設定
最小 最大 |
0 255 |
------モード1:0~2での処理------
Infomationファイル:Rectで実行
モード:0
最小 最大 |
0 165 |
モード:1
最小 最大 |
0 65445 |
モード:2
最小 最大 |
-168.927 160.828 |
------モード2:0~2での処理------
Infomationファイル:Rect2で実行
モード:0
最小 最大 |
0 255 |
モード:1
最小 最大 |
0 255 |
モード:2
最小 最大 |
-65.1789 323.14 |
モード:3
最小 最大 |
-13045.1 399922 |