Contrast optimization of mass spectrometry imaging (MSI) data visualization by threshold intensity quantization (TrIQ)
TrIQ
00 Remarks
works based on the ECDF.
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CutThreshold | 1 | trim the head intensity data by a given cutoff threshold which is evaluated via the TrIQ algorithm. |
| FindThreshold | 1 | The Threshold Intensity Quantization addresses this issue by setting a new upper limit T |
| GetTrIQRange | 1 | get the best value range for level scaler via TrIQ algorithm. |
| DiscreteLevels | 1 | Quantization is a process for mapping a range of analog intensity values To a Single discrete value, known As a gray level. |
03 Members
IEnumerable(Of Double), Double, Int32, Double)trim the head intensity data by a given cutoff threshold which is evaluated via the TrIQ algorithm.
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of Double) | - |
q | Double | - |
N | Int32 | - |
eps | Double | - |
IEnumerable(Of Double), Double, Int32, Double)The Threshold Intensity Quantization addresses this issue by setting a new upper limit T
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of Double) | - |
q | Double | - |
N | Int32 | - |
eps | Double | - |
the upper bound raw value of the threshold
IEnumerable(Of Double), Double, Int32, Double)get the best value range for level scaler via TrIQ algorithm.
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of Double) | - |
q | Double | - |
N | Int32 | - |
eps | Double | - |
[min,max] of the data range.
IEnumerable(Of Double), Int32, Nullable(Of Double))Quantization is a process for mapping a range of analog intensity values To a Single discrete value, known As a gray level.
Quantization is a process For mapping a range of analog intensity values To a Single discrete value, known As a gray level. Zero-memory Is a widely used quantization method. The zero-memory quantizer computes equally spaced intensity bins Of width w:
w = (max(f) - min(f)) / n
where n represents the number Of discrete values, usually 256; min(f) And max(f) operators provide minimum And maximum intensity values. Quantization Is based On a comparison with the transition levels tk:
tk = w + min(f), 2w + min(f), ..., nw + min(f)
Finally, the discrete mapped value Q Is obtained:
Q(f(x, y)) = {
0, f(x,y) <= t1
k, tk < f(x,y) < tk+1
}| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of Double) | - |
n | Int32 | - |
T | Nullable(Of Double) | - |