AKTIVE

Artifact [444709c035]
Login

Artifact [444709c035]

Artifact 444709c035112770923a111fdd4d1114f6012996973fd0ec3e48f62b1de868ed:


Project ↗ Documentation ↗ Tutorials ↗ How To's ↗ Explanations ↗ References
Entry ↗ Sections ↘ Permuted Sections ↘ Names ↘ Permuted Names ↘ Strict ↘ Implementations ↘

Documentation -- Reference Pages -- transform statistics

<anchor='top'> Table Of Contents

Operators

Operators


aktive op band arg ge

Syntax: aktive op band arg ge thresholds src [→ definition]

Returns the source image with its bands compressed to a single value, the first index where the band value is greater than or equal than the threshold. The result is a single-band image with the same width and height as the inputs.

The result is suitable for use by aktive op take z.

At the pixels where no band matches the condition the result is the depth of the data image.

Both images have to have the same width and height.

The threshold image has to be single-band.

Input Description
thresholds Single-band image of thresholds.
src Source to scan and compress.

aktive op band arg gt

Syntax: aktive op band arg gt thresholds src [→ definition]

Returns the source image with its bands compressed to a single value, the first index where the band value is greater than than the threshold. The result is a single-band image with the same width and height as the inputs.

The result is suitable for use by aktive op take z.

At the pixels where no band matches the condition the result is the depth of the data image.

Both images have to have the same width and height.

The threshold image has to be single-band.

Input Description
thresholds Single-band image of thresholds.
src Source to scan and compress.

aktive op band arg le

Syntax: aktive op band arg le thresholds src [→ definition]

Returns the source image with its bands compressed to a single value, the first index where the band value is lesser than or equal than the threshold. The result is a single-band image with the same width and height as the inputs.

The result is suitable for use by aktive op take z.

At the pixels where no band matches the condition the result is the depth of the data image.

Both images have to have the same width and height.

The threshold image has to be single-band.

Input Description
thresholds Single-band image of thresholds.
src Source to scan and compress.

aktive op band arg lt

Syntax: aktive op band arg lt thresholds src [→ definition]

Returns the source image with its bands compressed to a single value, the first index where the band value is lesser than than the threshold. The result is a single-band image with the same width and height as the inputs.

The result is suitable for use by aktive op take z.

At the pixels where no band matches the condition the result is the depth of the data image.

Both images have to have the same width and height.

The threshold image has to be single-band.

Input Description
thresholds Single-band image of thresholds.
src Source to scan and compress.

aktive op band arg max

Syntax: aktive op band arg max src [→ definition]

Returns an image with the input bands compressed to a single value, the first index of the maximal band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band arg min

Syntax: aktive op band arg min src [→ definition]

Returns an image with the input bands compressed to a single value, the first index of the minimal band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band cumulative

Syntax: aktive op band cumulative src [→ definition]

Returns image with the input bands transformed into cumulative sums.

This means that each pixel in a band is the sum of the values in the bands before it, having the same row and column.

The result has the same geometry as the input. Only the contents change.

Input Description
src Source image

aktive op band histogram

Syntax: aktive op band histogram src ?(param value)...? [→ definition]

Returns image with input bands transformed into a histogram of bins values.

The result is an image of bin-sized histogram bands with width and height of the input

Input Description
src Source image
Parameter Type Default Description
bins int 256 The number of bins held by a single histogram. The pixel values are quantized to fit. Only values in the range of [0..1] are considered valid. Values outside of that range are placed into the smallest/largest bin. The default quantizes the image values to 8-bit.

aktive op band max

Syntax: aktive op band max src [→ definition]

Returns an image with the input bands compressed to a single value, the maximum of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band mean

Syntax: aktive op band mean src [→ definition]

Returns an image with the input bands compressed to a single value, the arithmetic mean of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band median

Syntax: aktive op band median src [→ definition]

Returns image with input bands compressed to a single value, the median of the sorted band values.

The result is a single-band image with width and height of the input

Input Description
src Source image

aktive op band min

Syntax: aktive op band min src [→ definition]

Returns an image with the input bands compressed to a single value, the minimum of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band otsu

Syntax: aktive op band otsu src [→ definition]

Returns image with the input bands compressed into an otsu threshold.

This assumes as input an image of band histograms.

The result has the same width and height as the input.

The result is single-band.

Input Description
src Source image

aktive op band rank

Syntax: aktive op band rank src ?(param value)...? [→ definition]

Returns image with input bands compressed to a single value, the chosen rank of the sorted band values.

The result is a single-band image with width and height of the input

Beware. While it is possible to use the rank filter for max/min extractions it is recommended to use the specific max/min operators instead, as they should be faster (linear scan of region, no gather, no sorting of the region).

Input Description
src Source image
Parameter Type Default Description
rank int -1 Index of the sorted values to return. Default creates a median filter. 0 creates min-filter.

aktive op band stddev

Syntax: aktive op band stddev src [→ definition]

Returns an image with the input bands compressed to a single value, the standard deviation of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band sum

Syntax: aktive op band sum src [→ definition]

Returns an image with the input bands compressed to a single value, the sum of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band sumsquared

Syntax: aktive op band sumsquared src [→ definition]

Returns an image with the input bands compressed to a single value, the sum of the squared band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op band variance

Syntax: aktive op band variance src [→ definition]

Returns an image with the input bands compressed to a single value, the variance of the band values. The result is a single-band image with the same width and height as the input.

Input Description
src Source image

aktive op column arg max

Syntax: aktive op column arg max src [→ definition]

Returns image with input columns compressed to a single value, the first index of the maximal column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column arg max @1
 
@1
geometry(0 0 32 32 1)
0000001087767777888999910101011111111121212


aktive op column arg min

Syntax: aktive op column arg min src [→ definition]

Returns image with input columns compressed to a single value, the first index of the minimal column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column arg min @1
 
@1
geometry(0 0 32 32 1)
00000000000000000000000000000000


aktive op column cumulative

Syntax: aktive op column cumulative src [→ definition]

Returns image with the input columns transformed into cumulative sums.

This means that each pixel in a column is the sum of the values in the row before it, having the same column.

The result has the same geometry as the input. Only the contents change.

Input Description
src Source image

Examples

@1
 
aktive op column cumulative @1
 
@1
geometry(0 0 32 32 1)
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.52790.87691.00000.87690.60450.32970.05500.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.75741.52791.87692.00001.87691.60451.32971.05500.74180.46710.19240.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.52791.75742.52792.87693.00002.87692.60452.32972.05501.74181.46711.19240.87920.60450.32970.05500.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00001.40482.75743.52793.87694.00003.87693.60453.32973.05502.74182.46712.19241.87921.60451.32971.05500.74180.46710.19240.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00002.40483.75744.52794.87695.00004.87694.60454.32974.05503.74183.46713.19242.87922.60452.32972.05501.74181.46711.19240.87920.60450.32970.05500.00000.00000.0000
0.00000.00000.00000.00000.00000.00003.28174.75745.52795.87696.00005.87695.60455.32975.05504.74184.46714.19243.87923.60453.32973.05502.74182.46712.19241.87921.60451.32971.05500.74180.46710.1924
0.00000.00000.00000.00000.00000.00003.80955.75746.52796.87697.00006.87696.60456.32976.05505.74185.46715.19244.87924.60454.32974.05503.74183.46713.19242.87922.60452.32972.05501.74181.46711.1924
0.00000.00000.00000.00000.00000.00003.84816.66427.52797.87698.00007.87697.60457.32977.05506.74186.46716.19245.87925.60455.32975.05504.74184.46714.19243.87923.60453.32973.05502.74182.46712.1924
0.00000.00000.00000.00000.00000.00003.84817.07498.52798.87699.00008.87698.60458.32978.05507.74187.46717.19246.87926.60456.32976.05505.74185.46715.19244.87924.60454.32974.05503.74183.46713.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.31079.876910.00009.87699.60459.32979.05508.74188.46718.19247.87927.60457.32977.05506.74186.46716.19245.87925.60455.32975.05504.74184.46714.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597410.876911.000010.876910.604510.329710.05509.74189.46719.19248.87928.60458.32978.05507.74187.46717.19246.87926.60456.32976.05505.74185.46715.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.535712.000011.876911.604511.329711.055010.741810.467110.19249.87929.34639.32979.05508.74188.46718.19247.87927.60457.32977.05506.74186.46716.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.000012.876912.604512.329712.055011.741811.467111.192410.879210.34639.61649.38489.34639.34639.19248.87928.60458.32978.05507.74187.46717.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.534713.876913.604513.329713.055012.741812.467112.192411.879211.346310.39929.38489.34639.34639.38489.34639.34639.32979.05508.74188.46718.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573414.783714.604514.329714.055013.741813.467113.192412.879212.346311.39929.79559.34639.34639.38489.34639.34639.38489.38489.34639.34639.1924
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194515.604515.329715.055014.741814.467114.192413.879213.346312.399210.70239.38499.34639.38489.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.387316.329716.055015.741815.467115.192414.879214.346313.399211.70239.91969.34639.38489.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674017.329717.055016.741816.467116.192415.879215.346314.399212.702310.91969.50899.38489.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674017.988518.055017.741817.467117.192416.879216.346315.399213.702311.919610.16779.38489.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.055018.741818.467118.192417.879217.346316.399214.702312.919611.16779.67149.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.589819.741819.467119.192418.879218.346317.399215.702313.919612.167710.45439.34639.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.628420.648720.467120.192419.879219.346318.399216.702314.919613.167711.45439.75709.34639.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.628421.059421.467121.192420.879220.346319.399217.702315.919614.167712.454310.66399.38499.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.628421.059422.249922.192421.879221.346320.399218.702316.919615.167713.454311.66399.91969.38489.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.628421.059422.536623.192422.879222.346321.399219.702317.919616.167714.454312.663910.91969.54749.38489.34639.34639.3848
0.00000.00000.00000.00000.00000.00003.84817.07499.597411.698313.573415.194516.674018.151219.628421.059422.536623.851223.879223.346322.399220.702318.919617.167715.454313.663911.919610.20629.38489.34639.34639.3848


aktive op column histogram

Syntax: aktive op column histogram src ?(param value)...? [→ definition]

Returns image with input columns transformed into a histogram of bins values.

The result is an image of bins-sized histogram columns with width and depth of the input.

Input Description
src Source image
Parameter Type Default Description
bins int 256 The number of bins held by a single histogram. The pixel values are quantized to fit. Only values in the range of [0..1] are considered valid. Values outside of that range are placed into the smallest/largest bin. The default quantizes the image values to 8-bit.

Examples

@1
 
aktive op column histogram @1 bins 8
 
@1
geometry(0 0 32 32 1)
323232323232262117131066677771114182122222122222222222221
00000001010100000201010020000002
00000010101001000010210000011000
00000001010100001111000101000010
00000020201010000011101000100100
00000001010100010102001000100100
00000001000000000000000000000000
000000371216202325252524242118131198999899899


aktive op column max

Syntax: aktive op column max src [→ definition]

Returns image with input columns compressed to a single value, the maximum of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column max @1
 
@1
geometry(0 0 32 32 1)
00000011111111111111111111111111


aktive op column mean

Syntax: aktive op column mean src [→ definition]

Returns image with input columns compressed to a single value, the arithmetic mean of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column mean @1
 
@1
geometry(0 0 32 32 1)
0.00000.00000.00000.00000.00000.00000.12030.22110.29990.36560.42420.47480.52110.56720.61340.65810.70430.74530.74620.72960.70000.64690.59120.53650.48290.42700.37250.31890.29330.29210.29210.2933


aktive op column median

Syntax: aktive op column median src [→ definition]

Returns image with input columns compressed to a single value, the median of the sorted column values.

The result is a single-column image with height and depth of the input

Input Description
src Source image

aktive op column min

Syntax: aktive op column min src [→ definition]

Returns image with input columns compressed to a single value, the minimum of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column min @1
 
@1
geometry(0 0 32 32 1)
00000000000000000000000000000000


aktive op column otsu

Syntax: aktive op column otsu src [→ definition]

Returns image with the input columns compressed into an otsu threshold.

This assumes as input an image of column histograms.

The result has the same width and depth as the input.

The result has a single row.

Input Description
src Source image

Examples

@1
 
aktive op column otsu [aktive op column histogram @1]
 
@1
geometry(0 0 32 32 1)
000000851208512085120185151120120120120858511205012018585112050


aktive op column profile

Syntax: aktive op column profile src [→ definition]

Returns image with input columns transformed into a profile.

Where a profile contains, per column, the distance of the first pixel != 0

from the top border of the input.

The result is a single-row image with width and depth of the input.

Input Description
src Source image

Examples

@1
 
aktive op column profile @1
 
@1
geometry(0 0 32 32 1)
323232323232876666666777888899910101010111111


aktive op column rank

Syntax: aktive op column rank src ?(param value)...? [→ definition]

Returns image with input columns compressed to a single value, the chosen rank of the sorted column values.

The result is a single-row image with width and depth of the input

Beware. While it is possible to use the rank filter for max/min extractions it is recommended to use the specific max/min operators instead, as they should be faster (linear scan of region, no gather, no sorting of the region).

Input Description
src Source image
Parameter Type Default Description
rank int -1 Index of the sorted values to return. Default creates a median filter. 0 creates min-filter.

aktive op column stddev

Syntax: aktive op column stddev src [→ definition]

Returns image with input columns compressed to a single value, the standard deviation of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column stddev @1
 
@1
geometry(0 0 32 32 1)
0.00000.00000.00000.00000.00000.00000.28690.39530.43640.46610.48510.48560.48000.47680.47600.45700.43450.42180.43130.42880.43750.45790.46830.47570.47780.47260.45970.44430.44580.43970.44230.4445


aktive op column sum

Syntax: aktive op column sum src [→ definition]

Returns image with input columns compressed to a single value, the sum of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column sum @1
 
@1
geometry(0 0 32 32 1)
0000004710121415171820212324242322211917151412109999


aktive op column sumsquared

Syntax: aktive op column sumsquared src [→ definition]

Returns image with input columns compressed to a single value, the sum of the squared column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column sumsquared @1
 
@1
geometry(0 0 32 32 1)
000000379111315161819212223242322201816151311109999


aktive op column variance

Syntax: aktive op column variance src [→ definition]

Returns image with input columns compressed to a single value, the variance of the column values. The result is a single-row image with width and depth of the input.

The part about the depth of the input means that the bands in each column are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op column variance @1
 
@1
geometry(0 0 32 32 1)
0.00000.00000.00000.00000.00000.00000.08230.15630.19050.21730.23530.23580.23040.22730.22660.20880.18880.17790.18610.18380.19140.20970.21930.22630.22830.22340.21130.19740.19870.19330.19570.1976


aktive op image histogram

Syntax: aktive op image histogram src ?(param value)...? [→ definition]

Returns image with the input transformed into a histogram of bins values.

Input Description
src Source image
Parameter Type Default Description
bins int 256 The number of bins in the returned histogram. The pixel values are quantized to fit. Only values in the range of [0..1] are considered valid. Values outside of that range are placed into the smallest/largest bin. The default quantizes the image values to 8-bit.

Examples

@1
 
aktive op image histogram @1 bins 8
 
@1
geometry(0 0 128 128 1)
143765253356253221731


aktive op row arg max

Syntax: aktive op row arg max src [→ definition]

Returns image with input rows compressed to a single value, the first index of the maximal row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row arg max @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
10
8
7
7
6
7
7
8
8
9
9
10
10
11
12
12
13
13
14
14
15
16
16
17
17
18


aktive op row arg min

Syntax: aktive op row arg min src [→ definition]

Returns image with input rows compressed to a single value, the first index of the minimal row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row arg min @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


aktive op row cumulative

Syntax: aktive op row cumulative src [→ definition]

Returns image with the input rows transformed into cumulative sums.

This means that each pixel in a row is the sum of the values in the column before it, having the same row.

The result has the same geometry as the input. Only the contents change.

Input Description
src Source image

Examples

@1
 
aktive op row cumulative @1
 
@1
geometry(0 0 32 32 1)
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
0.00000.00000.00000.00000.00000.00000.00000.00000.52791.40482.40483.28173.88614.21594.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.27094.2709
0.00000.00000.00000.00000.00000.00000.00000.75741.75742.75743.75744.75745.75746.75747.75748.49928.96639.15879.15879.15879.15879.15879.15879.15879.15879.15879.15879.15879.15879.15879.15879.1587
0.00000.00000.00000.00000.00000.00000.52791.52792.52793.52794.52795.52796.52797.52798.52799.527910.527911.527912.407013.011513.341213.396313.396313.396313.396313.396313.396313.396313.396313.396313.396313.3963
0.00000.00000.00000.00000.00000.00000.87691.87692.87693.87694.87695.87696.87697.87698.87699.876910.876911.876912.876913.876914.876915.876916.618717.085817.278217.278217.278217.278217.278217.278217.278217.2782
0.00000.00000.00000.00000.00000.00001.00002.00003.00004.00005.00006.00007.00008.00009.000010.000011.000012.000013.000014.000015.000016.000017.000018.000019.000019.879220.483620.813420.868420.868420.868420.8684
0.00000.00000.00000.00000.00000.00000.87691.87692.87693.87694.87695.87696.87697.87698.87699.876910.876911.876912.876913.876914.876915.876916.876917.876918.876919.876920.876921.876922.876923.618724.085824.2782
0.00000.00000.00000.00000.00000.00000.52791.52792.52793.52794.52795.52796.52797.52798.52799.527910.527911.527912.527913.527914.527915.527916.527917.527918.527919.527920.527921.527922.527923.527924.527925.5279
0.00000.00000.00000.00000.00000.00000.03860.94551.94552.94553.94554.94555.94556.94557.94558.94559.945510.945511.945512.945513.945514.945515.945516.945517.945518.945519.945520.945521.945522.945523.945524.9455
0.00000.00000.00000.00000.00000.00000.00000.41071.41072.41073.41074.41075.41076.41077.41078.41079.410710.410711.410712.410713.410714.410715.410716.410717.410718.410719.410720.410721.410722.410723.410724.4107
0.00000.00000.00000.00000.00000.00000.00000.00000.78281.78282.78283.78284.78285.78286.78287.78288.78289.782810.782811.782812.782813.782814.782815.782816.782817.782818.782819.782820.782821.782822.782823.7828
0.00000.00000.00000.00000.00000.00000.00000.00000.28671.28672.28673.28674.28675.28676.28677.28678.28679.286710.286711.286712.286713.286714.286715.286716.286717.286718.286719.286720.286721.286722.286723.2867
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.65881.65882.65883.65884.65885.65886.65887.65888.65889.658810.400611.400612.400613.400614.400615.400616.400617.400618.400619.400620.400621.400622.4006
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.16261.16262.16263.16264.16265.16266.16267.16268.16269.162610.162610.449310.779111.383512.262713.262714.262715.262716.262717.262718.262719.262720.2627
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.53471.53472.53473.53474.53475.53476.53477.53478.53479.534710.317610.317610.317610.317610.509910.977111.718912.718913.718914.718915.718916.7189
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.03860.94551.94552.94553.94554.94555.94556.94557.94558.94559.945510.356210.356210.356210.356210.356210.356210.411210.740911.345412.224613.2246
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.41071.41072.41073.41074.41075.41076.41077.41078.41079.410710.317610.356210.356210.356210.356210.356210.356210.356210.356210.356210.5486
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.78281.78282.78283.78284.78285.78286.78287.78288.78289.782810.317610.317610.317610.317610.317610.317610.317610.317610.317610.3176
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.28671.28672.28673.28674.28675.28676.28677.28678.28679.286710.286710.449310.449310.449310.449310.449310.449310.449310.449310.4493
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.65881.65882.65883.65884.65885.65886.65887.65888.65889.658810.317610.317610.317610.317610.317610.317610.317610.317610.3176
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.16261.16262.16263.16264.16265.16266.16267.16268.16269.162610.162610.449310.449310.449310.449310.449310.449310.449310.4493
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.53471.53472.53473.53474.53475.53476.53477.53478.53479.534710.317610.317610.317610.317610.317610.317610.317610.3176
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.03860.94551.94552.94553.94554.94555.94556.94557.94558.94559.945510.356210.356210.356210.356210.356210.356210.3562
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.41071.41072.41073.41074.41075.41076.41077.41078.41079.410710.317610.356210.356210.356210.356210.356210.3562
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.78281.78282.78283.78284.78285.78286.78287.78288.78289.782810.317610.317610.317610.317610.317610.3176
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.28671.28672.28673.28674.28675.28676.28677.28678.28679.286710.286710.449310.449310.449310.449310.4493
0.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.65881.65882.65883.65884.65885.65886.65887.65888.65889.658810.317610.317610.317610.317610.3176


aktive op row histogram

Syntax: aktive op row histogram src ?(param value)...? [→ definition]

Returns image with input rows transformed into a histogram of bins values.

The result is an image of bins-sized histogram rows with height and depth of the input.

Input Description
src Source image
Parameter Type Default Description
bins int 256 The number of bins held by a single histogram. The pixel values are quantized to fit. Only values in the range of [0..1] are considered valid. Values outside of that range are placed into the smallest/largest bin. The default quantizes the image values to 8-bit.

Examples

@1
 
aktive op row histogram @1 bins 8
 
@1
geometry(0 0 32 32 1)
320000000
320000000
320000000
320000000
320000000
320000000
260102003
211010117
1701020012
1310101016
1001010020
610101023
600010025
601000025
700000025
700001024
700100024
720101021
1101110018
1410112013
1802010011
211100009
220001108
220010009
212000009
220010009
220001108
220100009
220100009
220001108
220010009
212000009


aktive op row max

Syntax: aktive op row max src [→ definition]

Returns image with input rows compressed to a single value, the maximum of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row max @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1


aktive op row mean

Syntax: aktive op row mean src [→ definition]

Returns image with input rows compressed to a single value, the arithmetic mean of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row mean @1
 
@1
geometry(0 0 32 32 1)
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.1335
0.2862
0.4186
0.5399
0.6521
0.7587
0.7977
0.7795
0.7628
0.7432
0.7277
0.7000
0.6332
0.5225
0.4133
0.3296
0.3224
0.3265
0.3224
0.3265
0.3224
0.3236
0.3236
0.3224
0.3265
0.3224


aktive op row median

Syntax: aktive op row median src [→ definition]

Returns image with input rows compressed to a single value, the median of the sorted row values.

The result is a single-row image with width and depth of the input

Input Description
src Source image

aktive op row min

Syntax: aktive op row min src [→ definition]

Returns image with input rows compressed to a single value, the minimum of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row min @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


aktive op row otsu

Syntax: aktive op row otsu src [→ definition]

Returns image with the input rows compressed into an otsu threshold.

This assumes as input an image of row histograms.

The result has the same height and depth as the input.

The result has a single column.

Input Description
src Source image

Examples

@1
 
aktive op row otsu [aktive op row histogram @1]
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
85
120
85
120
85
120
1
10
106
1
74
1
85
120
106
106
1
74
1
74
1
106
106
1
74
1


aktive op row profile

Syntax: aktive op row profile src [→ definition]

Returns image with input rows transformed into a profile.

Where a profile contains, per row, the distance of the first pixel != 0

from the left border of the input.

The result is a single-column image with height and depth of the input.

Input Description
src Source image

Examples

@1
 
aktive op row profile @1
 
@1
geometry(0 0 32 32 1)
32
32
32
32
32
32
8
7
6
6
6
6
6
6
7
8
8
9
9
10
10
11
12
12
13
13
14
14
15
16
16
17


aktive op row rank

Syntax: aktive op row rank src ?(param value)...? [→ definition]

Returns image with input rows compressed to a single value, the chosen rank of the sorted row values.

The result is a single-column image with height and depth of the input

Beware. While it is possible to use the rank filter for max/min extractions it is recommended to use the specific max/min operators instead, as they should be faster (linear scan of region, no gather, no sorting of the region).

Input Description
src Source image
Parameter Type Default Description
rank int -1 Index of the sorted values to return. Default creates a median filter. 0 creates min-filter.

aktive op row stddev

Syntax: aktive op row stddev src [→ definition]

Returns image with input rows compressed to a single value, the standard deviation of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row stddev @1
 
@1
geometry(0 0 32 32 1)
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.2917
0.4242
0.4650
0.4758
0.4556
0.4014
0.3919
0.4099
0.4164
0.4307
0.4379
0.4438
0.4516
0.4667
0.4602
0.4525
0.4532
0.4575
0.4521
0.4575
0.4532
0.4556
0.4556
0.4532
0.4575
0.4521


aktive op row sum

Syntax: aktive op row sum src [→ definition]

Returns image with input rows compressed to a single value, the sum of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row sum @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
4
9
13
17
21
24
26
25
24
24
23
22
20
17
13
11
10
10
10
10
10
10
10
10
10
10


aktive op row sumsquared

Syntax: aktive op row sumsquared src [→ definition]

Returns image with input rows compressed to a single value, the sum of the squared row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row sumsquared @1
 
@1
geometry(0 0 32 32 1)
0
0
0
0
0
0
3
8
13
17
20
24
25
25
24
24
23
22
19
16
12
10
10
10
10
10
10
10
10
10
10
10


aktive op row variance

Syntax: aktive op row variance src [→ definition]

Returns image with input rows compressed to a single value, the variance of the row values. The result is a single-column image with height and depth of the input.

The part about the depth of the input means that the bands in each row are handled separately.

Input Description
src Source image

Examples

@1
 
aktive op row variance @1
 
@1
geometry(0 0 32 32 1)
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0851
0.1799
0.2163
0.2264
0.2075
0.1611
0.1536
0.1681
0.1734
0.1855
0.1918
0.1970
0.2039
0.2178
0.2118
0.2048
0.2054
0.2093
0.2044
0.2093
0.2054
0.2075
0.2075
0.2054
0.2093
0.2044


aktive op tile histogram

Syntax: aktive op tile histogram src ?(param value)...? [→ definition]

Returns image with input tiles transformed into a histogram of bins values.

Only single-band images are legal inputs. The result will have bins bands.

Beware, the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for histogram is black. It is chosen to have minimal to no impact on the statistics at the original input's borders.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.
bins int 256 The number of bins held by a single histogram. The pixel values are quantized to fit. Only values in the range of [0..1] are considered valid. Values outside of that range are placed into the smallest/largest bin. The default quantizes the image values to 8-bit.

aktive op tile max

Syntax: aktive op tile max src (param value)... [→ definition]

Returns image containing the maximum of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for maximum is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile mean

Syntax: aktive op tile mean src (param value)... [→ definition]

Returns image containing the arithmetic mean of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for arithmetic mean is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile median

Syntax: aktive op tile median src (param value)... [→ definition]

Returns image with input tiles compressed to a single value, the median of the sorted tile values.

Beware, the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for rank is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile min

Syntax: aktive op tile min src (param value)... [→ definition]

Returns image containing the minimum of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for minimum is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile rank

Syntax: aktive op tile rank src ?(param value)...? [→ definition]

Returns image with input tiles compressed to a single value, the chosen rank of the sorted tile values.

Beware, the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for rank is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Beware. While it is possible to use the rank filter for max/min extractions it is recommended to use the specific max/min operators instead, as they should be faster (linear scan of region, no gather, no sorting of the region).

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.
rank int -1 Index of the sorted values to return. Default creates a median filter. 0 creates min-filter.

aktive op tile stddev

Syntax: aktive op tile stddev src (param value)... [→ definition]

Returns image containing the standard deviation of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for standard deviation is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile sum

Syntax: aktive op tile sum src (param value)... [→ definition]

Returns image containing the sum of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for sum is black. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile sumsquared

Syntax: aktive op tile sumsquared src (param value)... [→ definition]

Returns image containing the sum of the squared tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for sum is black. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.

aktive op tile variance

Syntax: aktive op tile variance src (param value)... [→ definition]

Returns image containing the variance of the tile values, for all tiles of radius R in the input.

Beware, "all tiles" means that the operator consumes overlapping tiles, not just adjacent.

Beware, the result image is shrunken by 2*radius in width and height relative to the input. Inputs smaller than that are rejected.

If shrinkage is not desired add a border to the input using one of the aktive op embed ... operators before applying this operator.

The prefered embedding for variance is mirror. It is chosen to have minimal to no impact on the statistics at the original input's borders.

The input bands are handled separately.

Input Description
src Source image
Parameter Type Default Description
radius uint Tile size as radius from center. Full width and height of the tile are 2*radius+1.