Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
Line 16: | Line 15: |
Explanation: This program is useful for extracting one of the arrays ("a variable") from a surface-registration template file. The output is a file containing a surface-worth of per-vertex values, saved in "curvature" format. Because the template data is sampled to a particular surface mesh, this conjures the idea of "painting to a surface". For more information on surface-registration template files, see TemplateTifImageFiles. |
Ie: Extracts a variable (an array) from a template file, and resamples it to a given surface's vertices, outputting the result in a curvature-format (one-value-per-vertex) file. |
Line 21: | Line 18: |
mrisp_paint [options] <parameterization file> <input surface> <output name> | mrisp_paint [options] <template file> <input surface> <output name> |
Line 49: | Line 46: |
|| ?? || description || || ?? || description || |
The output is a file containing a surface-worth of per-vertex values, saved in "curvature" format. The per-vertex values are the selected variable from the template file, sampled to the given surface. |
Line 53: | Line 49: |
This program paints a parameterization onto a surface and outputs the results as a curvature file. |
This program is useful for extracting one of the arrays ("a variable") from a surface-registration template file. The output is a file containing a surface-worth of per-vertex values, saved in "curvature" format. Because the template data is sampled to a particular surface mesh, this conjures the idea of "painting to a surface". For more information on surface-registration template files, see TemplateTifImageFiles. = Notes = |
Line 57: | Line 60: |
Command: description == Example 2 == |
|
Line 70: | Line 68: |
["othercommand1"], ["othercommand2"] | ["mris_make_template"], TemplateTifImageFiles |
Line 86: | Line 84: |
= Author/s = DougGreve, BruceFischl |
= Document Author(s) = DougGreve, BruceFischl, GrahamWideman |
Index TableOfContents
Overview
Original description: mrisp_paint - Paints a parameterization onto a surface and outputs the results as a curvature file.
Ie: Extracts a variable (an array) from a template file, and resamples it to a given surface's vertices, outputting the result in a curvature-format (one-value-per-vertex) file.
Synopsis
mrisp_paint [options] <template file> <input surface> <output name>
Arguments
Positional Arguments
Posn |
<Argname> |
Description |
1 |
<template_fname> |
Full path to template_file. Template file is usually a tif file (not a picture image; tif format is just used to contain FreeSurfer array data). Template may contain more than one array, called a 'frame' in FS lingo, typically 9 frames (3 x 3) as in the standard template. To select a particular frame, append '#' followed by frame number. Eg: 'somepath/mytemplate.tif#1'. Numbering starts at 0, which is the default. |
2 |
<surf_fname> |
Full path to surface file which will provide the grid (vertices) onto which the template data is to be sampled or 'painted'. (See note below on what kind of surface is suitable.) |
3 |
<out_fname> |
Output file name. Can be full path, or if directory omitted then will save to same directory as surf_fname |
Required Flagged Arguments
none
Optional Flagged Arguments
Category |
Flag |
<Args> |
Description |
Input |
-SDIR |
<subjects_dir> |
Set SUBJECTS_DIR. Default: use environment variable/ |
Algorithm |
-A |
<navgs> |
Average curvature patterns navgs times |
Algorithm |
-N |
|
Normalize curvature by variance. |
Algorithm |
-S |
|
Take square-root of output variable |
Algorithm |
-variance |
<subject_name hemi field_no> |
Generate variance map |
Utility |
-?,-U |
|
Print usage |
Utility |
--all-info, -all-info |
|
Prints BIRN-standard program information |
Utility |
--help |
|
Prints help message |
Utility |
-V |
<vertex_num (int)> |
Invoke diagnostics for vertex number vertex_num |
Utility |
--version, -version |
|
Prints version information |
Utility |
-W |
|
Write some diagnostics (DIAG_WRITE) |
Footer |
XXXXXXXXXXXXX |
|
Outputs
The output is a file containing a surface-worth of per-vertex values, saved in "curvature" format. The per-vertex values are the selected variable from the template file, sampled to the given surface.
Description
This program is useful for extracting one of the arrays ("a variable") from a surface-registration template file. The output is a file containing a surface-worth of per-vertex values, saved in "curvature" format. Because the template data is sampled to a particular surface mesh, this conjures the idea of "painting to a surface".
For more information on surface-registration template files, see TemplateTifImageFiles.
Notes
Examples
Example 1
Command:
description
Bugs
None
See Also
["mris_make_template"], TemplateTifImageFiles
Links
Methods Description
N/A
References
["References/Lastname###"]
Reporting Bugs
Report bugs to <analysis-bugs@nmr.mgh.harvard.edu>