This shows you the differences between two versions of the page.
jvs:fscan:manual:chapter3:imagekeys:overlay [2011/11/09 16:18] voyvodic |
jvs:fscan:manual:chapter3:imagekeys:overlay [2023/02/23 18:43] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **fScan Reference Manual, Chapter 3 (KeyCmds: | ||
- | |||
- | ===== Overlay -- Manipulate overlay of images or surfaces onto each other ===== | ||
- | **usage: | ||
- | * **" | ||
- | * **N,Mo** | ||
- | * **Fo** | ||
- | |||
- | The OVERLAY interactive command overlays one data set onto another. | ||
- | |||
- | Overlay has many options for controlling how the overlay display should appear. By default, the display colors of each overlaid voxel are " | ||
- | |||
- | |||
- | Usually, overlaying makes use of header information in each data set to figure out which location in the overlaid data set corresponds to each visible location in the underlying data set. | ||
- | | ||
- | Usage options: | ||
- | | ||
- | " | ||
- | N,Mo Set dataset num N overlay mode M | ||
- | Note: | ||
- | - overlay will be intialized if necessary | ||
- | - overlay becomes current active overlay | ||
- | - " | ||
- | - N=0, means previous window dataset (only for M=1) | ||
- | | ||
- | | ||
- | F flag values | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | 16 show non-zero underlay opaque on top of overlays (for overlay on images), | ||
- | or show raw data values instead of display color (for overlay on surface) | ||
- | 32 smooth overlay | ||
- | 64 show overlay only where underlay is non-zero | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | 2048 CTRSMATCH - not used? | ||
- | 4096 RESIZE - not used? | ||
- | 8192 ZOOM - not used? | ||
- | | ||
- | |||
- | | ||
- | 0, | ||
- | FLG: 0 - no transform -- simply match sizes | ||
- | 1 - one step transform matrix | ||
- | 2 - multi-step transform | ||
- | 1 | ||
- | 2 align overlay | ||
- | 3 turn off align, keep align matrix | ||
- | 3,0 turn off align, discard matrix | ||
- | 3,flg (flg > 0) save align matrix in file | ||
- | FLG is format: | ||
- | 1 - 4x4 matrix | ||
- | 2 - register.dat (FreeSurfer) | ||
- | 4 - FSL transform | ||
- | 010 - stand-alone XML header w/ mtx | ||
- | 020 - only write if non-identitty mtx | ||
- | 4,flg,value set depth parameters for maximum intensity projection. | ||
- | The overlay value will be the maximum value in the | ||
- | | ||
- | | ||
- | The displayed value will be the overlay value if that | ||
- | | ||
- | For voxels below the surface, the displayed value will | ||
- | be a combination of surface and overlay value. The | ||
- | percentage of overlay displayed depends on the | ||
- | Translucence and Opacity parameters as: | ||
- | OPACITY > 0, TRANSLUCENCE > 0 | ||
- | PctSeen = 100 - OPACITY - voxDepth/ | ||
- | Note: | ||
- | If the OPAQUE (4) overlay flag is set (see above), | ||
- | TRANSLUCENCE is ignored but surface OPACITY is not. | ||
- | |||
- | FLG indicates which parameter to set to VALUE as: | ||
- | 0 - Z0: mm above surface to include (default 0) | ||
- | 1 - DEPTH: mm below surface to include (default 0) | ||
- | -1: all, above and below | ||
- | -2: ~1/2 the minimum (XYZ axis) thickness | ||
- | of the object (for olay on Surface) | ||
- | 2 - TRANSLUCENCE: | ||
- | >0: overlay below surface fades to 0 at this depth | ||
- | 0: special case, surface is transparent (equivalent | ||
- | to infinite depth -- DEPTH is ignored) | ||
- | -1: special case, TRANSLUCENCE equals DEPTH (default) | ||
- | 3 - OPACITY:% of overlay merged with surface image, prior | ||
- | to calculating effect of translucence (see above) | ||
- | 100: overlay image at surface is opaque | ||
- | 50: overlay at surface merged 50:50 with surface image | ||
- | 4 - VSIZE: mm projected size of overlay voxel | ||
- | | ||
- | voxel dimensions and projection angle) | ||
- | 8 - add to Z0 | ||
- | 9 - add to DEPTH | ||
- | 10 - add to TRANSLUCENCE | ||
- | 11 - add to OPACITY | ||
- | 16 - sub from Z0 | ||
- | 17 - sub from DEPTH | ||
- | 18 - sub from TRANSLUCENCE | ||
- | 19 - sub from OPACITY | ||
- | |||
- | For Images, ' | ||
- | For Surfaces: ' | ||
- | 5 copy alignment matrix from prev win to this | ||
- | 5,1 copy alignmatrix from this win to all other open wins in WS | ||
- | with same XYZ dims as this win (except reference win) | ||
- | 5,2 copy alignmatrix from this win to all other open wins in WS | ||
- | | ||
- | 5,5 copy alignmatrix from this win to all other data sets in WS | ||
- | with same XYZ dims as this win (except reference win) | ||
- | 5,6 copy alignmatrix from this win to all other data sets in WS | ||
- | | ||
- | 6,rgb use 24bit RGB value as color mask | ||
- | 6, | ||
- | 6,C,0 use code C (1=red, | ||
- | 7,rgb same as F=6, but use color as underlay mask | ||
- | 8,flg reorder overlay | ||
- | FLG: 0 - move to bottom | ||
- | 1 - move to top | ||
- | 2 - move down 1 | ||
- | 3 - move up 1 | ||
- | " | ||
- | NAME: name of new data set, if FLG > 0 | ||
- | FLG: 0 - turn off overlay (default) | ||
- | 1 - detach underlay as new dataset | ||
- | 2 - detach overlay as new dataset | ||
- | 4 - detach underlay depth map as new dataset | ||
- | 8 - detach overlay depth map as new dataset | ||
- | 16 - detach underlay triangle map as new dataset | ||
- | (Note: flgs>1 only apply to olay on surface. | ||
- | 10,f | ||
- | |||
- | **See Also:**\\ | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||