Macros Grouped in Proc Directory
Binary_Dither
target, source
A one-bit version of the source image is placed in the target. [war/misc/dither]
Clip
target, source, value
target = source < value ? source : value [war/compare/clip]
Color_Dither
color image, byte buffer
Color_Dither_If
image, viewer_index, string
Convert
target, source
[war/unary/convert]
DCT
image
[war/fft/dct]
Dilate
dest, src
[war/misc/dilate]
Dump_Chain
name
[war/control/chains/dump]
End_Chain
name
[war/control/chains/end_chain]
Enlarge
target, source
[war/misc/enlarge]
Exec_Chain
name
FFT
image
[war/fft/fft]
FFT_Cols
image
[war/fft/cols]
FFT_Rows
image
[war/fft/rows]
Fetch_Samples
dest, src, map
[war/misc/new_bilinear]
Fill
img, x, y, v, tol
[war/misc/fill]
Filter_For
name, template
[data/image]
Find_Max_Pixel
input
Finite
image
[war/misc/finite]
Get_Max
varname, image
Get_Mean
varname, image
Get_Min
varname, image
Histogram
target, source, minimum bin center, bin width
[war/misc/histogram]
IClip
target, source, value
[war/compare/iclip]
IXform_For
name, template
[data/image]
Inner_Prod
destvec, srcvec, matrix
[war/linear/inner_prod]
InvDCT
image
[war/fft/idct]
InvFFT
image
[war/fft/invfft]
Invert
matrix
[war/linear/invert]
Map
float_output, byte_input, map_vector
Map_Compare
target bitmap, input1, input2
[war/compare/vmcmp]
Map_Scalar_Compare
target bitmap, input vector, scalar value
[war/compare/vmscp]
Map_Scalar_Mag_Compare
target bitmap, input vector, scalar value
[war/compare/vmscm]
Max_Index
source, index
[war/minmax/max_index]
Max_Times
index_array, source, maxval, maxtimes
[war/minmax/max_times]
Median
targ, src
Median_1D
targ, src, radius
[war/misc/median_1D]
Median_Clip
targ, src
[war/misc/median_clip]
Min_Index
source, index
[war/minmax/min_index]
Min_Times
index_array, source, maxval, maxtimes
[war/minmax/min_times]
Morph
dest, src, map
[war/misc/bilinear]
New_Chain
none
[war/control/chains/new_chain]
Product
target, vec1, vec2
[war/image/product]
Project
dest, src
[war/misc/project]
RFFT
xform, image
[war/fft/rfft]
RInvFFT
image, xform
[war/fft/irfft]
Ramp1D
target, start, delta
[war/image/ramp1d]
Ramp2D
target, start, dx, dy
[war/image/ramp2d]
Reduce
target, source
[war/misc/reduce]
Render
dest, src, map
[war/sample/render2]
Scale
target, min, max
[war/misc/scale]
Scroll
target, source, dx, dy
Scrolls the original image <dx> to the right
and <dy> to the left. [war/fft/scroll]
Selap
index
[war/control/selap]
Select
input bitmap, output image, input1, input2
[war/compare/select]
Transpose
target, source
[war/linear/transpose]
UDiffuse
target, source, nlevels, min, max
[war/image/udiffuse]
VACos
target, source
Apply acos() function to the elements of
source vector, place results in target vector.
[war/trig/acos]
VASin
target, source
Apply asin() function to the elements of
source vector, place results in target vector.
[war/trig/asin]
VAbs
targ, src
Apply (absolute value) abs() function to the elements of
a source vector, and place the results in a target vector.
[war/unary/abs]
VAtan
target, source
Apply atan() function to the elements of a source
vector, and place the results in a target vector.
[war/trig/atan]
VAtan2
target, source
Apply the 4 quadrant inverse tan function to the
elements of a complex source vector, and place the
results in a target vector. [war/trig/atan2]
VCeil
target, source
[war/unary/ceil]
VCos
target, source
[war/trig/cos]
VExp
target, source
[war/trig/exp]
VFlip
target, source
[war/unary/flip]
VFloor
target, source
floor (3M). [war/unary/floor]
VInterp
target, source, control
[war/misc/interpolate]
VLog
target, source
log (3M) natural logarithm.
VLog10
target, source
Log base 10. [war/trig/Log]
VMCmp
target bitmap, input1, input2
[war/compare/vmcmp]
VMagSq
target, source
[war/trig/magsq]
VMax
vector, scalar
The scalar value is set to the maximum of the vector
elements. [war/minmax/max]
VMin
vector, scalar
The scalar value is set to the minimum of the
vector elements. [war/minmax/min]
VMov
target, source
Copies the source to the target. [war/unary/mov]
VNeg
target, source
[war/unary/neg]
VOr
target, in1, in2
[war/logical/or]
VPow
dest, src, exponent
[war/trig/pow]
VSAdd
target, source, value
[war/svector/add]
VSAddComplex
target, source, real, imag
[war/svector/add]
VSDiv
target, source, value
target[i] = value/source[i]. [war/svector/div]
VSMax
target, src, value
[war/compare/vsmax]
VSMin
target, src, value
[war/compare/vsmin]
VSMul
target, source, value
target[i] = value * source[i]. [war/svector/mul]
VSMulComplex
target, source. real, imag
[war/svector/cmul]
VSSub
target, source, value
[war/svector/sub]
VSet
target, value
VSetComplex
target, real, imag
[war/unary/set]
VSin
target, source
[war/trig/sin]
VSqrt
target, source
[war/trig/sqrt]
VSquare
target, source
[war/vvector/mul]
VStitch
target, source, control
[war/misc/stitch]
VSum
source, scalar
[war/unary/sum]
VTan
target, source
[war/trig/tan]
VVAdd
target, in1, in2
[war/vvector/add]
VVCmul
target, in1, in2
[war/vvector/cmul]
VVDiv
target, in1, in2
[war/vvector/div]
VVDot
v1, v2, scalar
[war/linear/dot]
VVMax
target, v1, v2
VVMaxMag
target, v1, v2
[war/compare/max_mag]
VVMin
target, v1, v2
[war/compare/min]
VVMul
target, in1, in2
[war/vvector/mul]
VVSub
target, in1, in2
[war/vvector/sub]
Wrap
target, source
Scrolls an image by half the width horizontally,
and half the height vertically. The target and
source must not be the same! [war/fft/wrap]
Xform_List
target, source, xform
[war/linear/lxform]