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 [2017/06/02 19:15] voyvodic |
jvs:fscan:manual:chapter2:expression:censor [2017/06/02 21:23] voyvodic |
||
---|---|---|---|
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 |
- | | + | |
- | -expr censor [ref] [flag [fillindex] [fillimages]] | + | |
+ | 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, the reference time series is the data set's " | ||
- | CENSOR replaces flagged time points with new values. By default, time points | + | Usually the reference series should have at least as many values |
- | All voxels in images with a 0 reference value will be replaced according the the FLAG argument, | + | Alternatively, |
- | FLAG:\\ | + | |
- | * 0 - replace with linear interpolation | + | |
- | * 1 - replace | + | |
- | * 2 - replace with zeros | + | |
- | * 3 - excise | + | |
- | Other FLAG values | + | What happens to censored images depends on the values of the FLAG and FILLOPTION arguments. FILLOPTION |
- | * 4 - adjust values after 0 reference values | + | |
- | * 8 - The TIMEREF is a list of time point indices to censor | + | |
- | * | + | |
- | /* val: | + | FLAG - censoring operation: |
- | same as VAL=8 if VAL2 is non-zero | + | * 0 - replace with linear interpolation |
- | | + | * 1 - replace with spline interpolation\\ |
- | 2 - replace with 0's | + | * 2 - replace with zeros (blank image)\\ |
- | 3 - excise | + | * 3 - remove image entirely making shorter image series (blank images added at end)\\ |
- | 4 - match post-mean to pre-mean | + | * 4 - match post-mean to pre-mean\\ |
- | 8 - replace with value at 1st censored | + | * 8 - reference is list of image numbers to remove; otherwise is 0/1 flag\\ |
- | 9 - replace with value at 1st uncensored | + | * 16 - replace with value at 1st censored |
- | 10 | + | * 17 - replace with value at 1st uncensored |
- | 16 | + | * 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 | ||
**See Also:**\\ | **See Also:**\\ |