This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:fscan:manual:chapter2:expression:censor [2016/01/04 17:58] voyvodic |
jvs:fscan:manual:chapter2:expression:censor [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
**fScan Reference Manual, Chapter 2 (CmdLineOptions: | **fScan Reference Manual, Chapter 2 (CmdLineOptions: | ||
- | ===== censor -- ===== | + | ===== censor -- replace or remove selected images from time series |
- | | + | |
- | CENSOR replaces flagged | + | CENSOR replaces flagged with new values, or it can completely remove images. Which images to censor is controlled by a reference time series. By default, |
- | All voxels | + | Usually the reference series should have at least as many values as their are images, |
- | FLAG:\\ | + | |
- | * 0 - replace with linear interpolation | + | Alternatively, |
- | * 1 - replace with spline interpolation | + | |
- | * 2 - replace with zeros | + | What happens to censored images depends on the values of the FLAG and FILLOPTION arguments. FILLOPTION can be a number, indicating which image volume of the data being censored to use as fill images, or it can be the name of a 3D image data set (with the same XYZ dimensions as the data being censored). |
- | * 3 - excise the value (result | + | |
+ | FLAG - censoring operation:\\ | ||
+ | * 0 - replace with linear interpolation (unless FILLOPTION specified) \\ | ||
+ | * 1 - replace with spline interpolation\\ | ||
+ | * 2 - replace with zeros (blank image)\\ | ||
+ | * 3 - remove image entirely making shorter image series | ||
+ | * 4 - match post-mean to pre-mean\\ | ||
+ | * 8 - reference | ||
+ | * 16 - replace with value at 1st censored | ||
+ | * 17 - replace with value at 1st uncensored time point at or after FILLOPTION\\ | ||
+ | * 18 - replace with value at time point FILLOPTION\\ | ||
+ | * 32 - replace with FILLOPTION data set images\\ | ||
+ | |||
+ | Default FLAG is:\\ | ||
+ | * 0 if FILLOPTION is 0 or not specified, or\\ | ||
+ | * 16 if FILLOPTION is a number, or\\ | ||
+ | * 32 if FILLOPTION is data set name | ||
- | Other FLAG values can be combined with the above byb addition:\\ | ||
- | * 4 - adjust values after 0 reference values to have similar means to earlier values (matches means of 3 values before and after) | ||
- | * 8 - The TIMEREF is a list of time point indices to censor (default is TIMEREF is 0/1 flag for every timepoint) | ||
- | * | ||
**See Also:**\\ | **See Also:**\\ | ||
[[jvs: | [[jvs: |