![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
| void | Accumulate (Signal &sgn) |
| Accumulates input signal. More... | |
| Signal | Accumulate (const Signal &sgn) |
| Returns a copy of input signal, accumulated. More... | |
| double | AccumulatedFrequency (const Signal &sgn, size_t min_bin=0) |
| Returns the sum of the frequencies from min_bin to the last bin (including the extremities). More... | |
| double | AccumulatedFrequency (const Signal &sgn, size_t min_bin, size_t max_bin) |
| Returns the sum of the frequencies from min_bin to max_bin (including the extremities). More... | |
| double | AccumulatedWeightedFrequency (const Signal &sgn, size_t min_bin=0) |
| Returns the sum of frequencies weighted by their sampling time from min_bin to the last bin (including the extremities). More... | |
| double | AccumulatedWeightedFrequency (const Signal &sgn, size_t min_bin, size_t max_bin) |
| Returns the sum of frequencies weighted by their sampling time from min_bin to max_bin (including the extremities). More... | |
| Signal | RemoveEmptyBins (const Signal &sgn) |
| Returns a copy of input signal, without the empty bins. More... | |
| Vector< size_t > | MapBins (const Signal &source, const Signal &target) |
| Returns a Vector contaning the indexes of the target bins which corresponds to the bins with the same frequency in source signals. Used to get corresponding bins with a signal which empty bins were removed. More... | |
| void | Equalize (Signal &sgn) |
| Equalizes input signal. More... | |
| Signal | Equalize (const Signal &sgn) |
| Returns a copy of input signal, equalized. More... | |
| void | SegmentEqualize (Signal &sgn) |
| Equalizes input signal by segmented histogram in two parts. More... | |
| Signal | SegmentEqualize (const Signal &sgn) |
| Returns a copy of input signal, equalized. More... | |
| double | LowHysteresis (const Signal &sgn, size_t krl_size, float low_threshold, float hgh_threshold) |
| Returns data value of the hysteresis in the low data value of the histogram. More... | |
| double | HighHysteresis (const Signal &sgn, size_t krl_size, float low_threshold, float hgh_threshold) |
| Returns data value of the hysteresis in the high data value of the histogram. More... | |
| size_t | Peak (const Signal &sgn, size_t min_bin, size_t max_bin) |
| Finds the highest peak from bin min_bin to bin max_bin. More... | |
| Vector< size_t > | Peaks (const Signal &sgn, size_t min_bin, size_t max_bin, size_t kernel_size) |
| Finds the bins representing the local maxima with respect to their adjacents in kernel range. More... | |
| size_t | FirstRightPeak (const Signal &sgn, size_t start_bin, size_t kernel_size) |
| Finds the first peak to the right of start_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightPeak (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size) |
| Finds the first peak to the right of start_bin up to end_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftPeak (const Signal &sgn, size_t start_bin, size_t kernel_size) |
| Finds the first peak to the left of start_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftPeak (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size) |
| Finds the first peak to the left of start_bin up to end_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored. More... | |
| size_t | Valley (const Signal &sgn, size_t min_bin, size_t max_bin) |
| Finds the lowest valley from bin min_bin to bin max_bin. More... | |
| Vector< size_t > | Valleys (const Signal &sgn, size_t min_bin, size_t max_bin, size_t kernel_size) |
| Finds the bins representing the local minima with respect to their adjacents in kernel range. More... | |
| size_t | FirstRightValley (const Signal &sgn, size_t start_bin, size_t kernel_size) |
| Finds the first valley to the right of start_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightValley (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size) |
| Finds the first valley to the right of start_bin up to end_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftValley (const Signal &sgn, size_t start_bin, size_t kernel_size) |
| Finds the first valley to the left of start_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftValley (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size) |
| Finds the first valley to the left of start_bin up to end_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightAcclivity (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an acclivity, to the right of start_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightAcclivity (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an acclivity, to the right of start_bin and limited to end_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftAcclivity (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an acclivity, to the left of start_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftAcclivity (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an acclivity, to the left of start_bin and limited to end_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightDeclivity (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an declivity, to the right of start_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstRightDeclivity (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an declivity, to the right of start_bin and limited to end_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftDeclivity (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an declivity, to the left of start_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | FirstLeftDeclivity (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the first bin that belongs to an declivity, to the left of start_bin and limited to end_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored. More... | |
| size_t | PlateauRightLimit (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the last occurrence, to the right of start_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored. More... | |
| size_t | PlateauRightLimit (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the last occurrence, to the right of start_bin up to end_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored. More... | |
| size_t | PlateauLeftLimit (const Signal &sgn, size_t start_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the last occurrence, to the left of start_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored. More... | |
| size_t | PlateauLeftLimit (const Signal &sgn, size_t start_bin, size_t end_bin, size_t kernel_size, float signal_delta_proportion) |
| Detects the last occurrence, to the left of start_bin up to end_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored. More... | |
| void | MedianFilter (Signal &sgn, size_t kernel_size) |
| Filters input signal by a median kernel of size kernel_size. More... | |
| Signal | MedianFilter (const Signal &sgn, size_t kernel_size) |
| Returns a copy of input signal filtered by median kernel of size kernel_size. More... | |
| void | Normalize (Signal &sgn) |
| Normalizes input signal. More... | |
| Signal | Normalize (const Signal &sgn) |
| Returns a copy of input signal, normalized. More... | |
| size_t | OtsuThreshold (const Signal &sgn) |
| Computes otsu threshold of input signal. More... | |
| void Bial::SignalOp::Accumulate | ( | Signal & | sgn | ) |
Accumulates input signal.
| sgn | Input signal. |
Returns a copy of input signal, accumulated.
| sgn | Input signal. |
Returns the sum of the frequencies from min_bin to the last bin (including the extremities).
| sgn | Input signal. |
| min_bin | left most bin. |
Returns the sum of the frequencies from min_bin to max_bin (including the extremities).
| sgn | Input signal. |
| min_bin | left most bin. |
| max_bin | right most bin. |
Returns the sum of frequencies weighted by their sampling time from min_bin to the last bin (including the extremities).
| sgn | Input signal. |
| min_bin | left most bin. |
| double Bial::SignalOp::AccumulatedWeightedFrequency | ( | const Signal & | sgn, |
| size_t | min_bin, | ||
| size_t | max_bin | ||
| ) |
Returns the sum of frequencies weighted by their sampling time from min_bin to max_bin (including the extremities).
| sgn | Input signal. |
| min_bin | left most bin. |
| max_bin | right most bin. |
| void Bial::SignalOp::Equalize | ( | Signal & | sgn | ) |
Equalizes input signal.
| sgn | Input signal. |
Returns a copy of input signal, equalized.
| sgn | Input signal. |
| size_t Bial::SignalOp::FirstLeftAcclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an acclivity, to the left of start_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the acclivity. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstLeftAcclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an acclivity, to the left of start_bin and limited to end_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the acclivity. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstLeftDeclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an declivity, to the left of start_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the declivity. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstLeftDeclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an declivity, to the left of start_bin and limited to end_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the declivity. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
Finds the first peak to the left of start_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstLeftPeak | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the first peak to the left of start_bin up to end_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
Finds the first valley to the left of start_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstLeftValley | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the first valley to the left of start_bin up to end_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstRightAcclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an acclivity, to the right of start_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the acclivity. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstRightAcclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an acclivity, to the right of start_bin and limited to end_bin, that is greater than start_bin value * ( 1.0 + signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the acclivity. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstRightDeclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an declivity, to the right of start_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the declivity. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
| size_t Bial::SignalOp::FirstRightDeclivity | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the first bin that belongs to an declivity, to the right of start_bin and limited to end_bin, that is lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| start_bin | A bin tha lies before the declivity. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted. |
Finds the first peak to the right of start_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstRightPeak | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the first peak to the right of start_bin up to end_bin using a kernel of size kernel_size to validade the peak. Peaks that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstRightValley | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the first valley to the right of start_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::FirstRightValley | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the first valley to the right of start_bin up to end_bin using a kernel of size kernel_size to validade the valley. Valleys that are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | Bin of reference. |
| end_bin | Limit for the search. |
| kernel_size | Size of used kernel. |
| double Bial::SignalOp::HighHysteresis | ( | const Signal & | sgn, |
| size_t | krl_size, | ||
| float | low_threshold, | ||
| float | hgh_threshold | ||
| ) |
Returns data value of the hysteresis in the high data value of the histogram.
| sgn | Input signal. |
| krl_size | Size of the kernel to locate hysteresis. |
| low_threshold | Low frequency threshold. |
| hgh_threshold | High frequency threshold. |
| double Bial::SignalOp::LowHysteresis | ( | const Signal & | sgn, |
| size_t | krl_size, | ||
| float | low_threshold, | ||
| float | hgh_threshold | ||
| ) |
Returns data value of the hysteresis in the low data value of the histogram.
| sgn | Input signal. |
| krl_size | Size of the kernel to locate hysteresis. |
| low_threshold | Low frequency threshold. |
| hgh_threshold | High frequency threshold. |
Returns a Vector contaning the indexes of the target bins which corresponds to the bins with the same frequency in source signals. Used to get corresponding bins with a signal which empty bins were removed.
| source | The source signal to be mapped. Signal without empty bins. |
| target | The target signal with empty bins. Indexes from source corresponding to target are returned. |
| void Bial::SignalOp::MedianFilter | ( | Signal & | sgn, |
| size_t | kernel_size | ||
| ) |
Filters input signal by a median kernel of size kernel_size.
| sgn | Input signal. |
| kernel_size | Size of the kernel for filtering. |
Returns a copy of input signal filtered by median kernel of size kernel_size.
| sgn | Input signal. |
| kernel_size | Size of the kernel for filtering. |
| void Bial::SignalOp::Normalize | ( | Signal & | sgn | ) |
Normalizes input signal.
| sgn | Input signal. |
Returns a copy of input signal, normalized.
| sgn | Input signal. |
Computes otsu threshold of input signal.
| sgn | Input signal. |
Finds the highest peak from bin min_bin to bin max_bin.
| sgn | Input signal. |
| min_bin | minimum bin range. |
| max_bin | maximum bin range. |
| Vector< size_t > Bial::SignalOp::Peaks | ( | const Signal & | sgn, |
| size_t | min_bin, | ||
| size_t | max_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the bins representing the local maxima with respect to their adjacents in kernel range.
| sgn | Input signal. |
| min_bin | minimum bin range. |
| max_bin | maximum bin range. |
| kernel_size | Size of used kernel. |
| size_t Bial::SignalOp::PlateauLeftLimit | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the last occurrence, to the left of start_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value * ( 1.0 - signal_delta_proportion ).
Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | A bin that belongs to the plateau. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted for a bin to belong to the plateau. |
| size_t Bial::SignalOp::PlateauLeftLimit | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the last occurrence, to the left of start_bin up to end_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value ( 1.0 - signal_delta_proportion ).
Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | A bin that belongs to the plateau. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted for a bin to belong to the plateau. |
| end_bin | Limit for the search. |
| size_t Bial::SignalOp::PlateauRightLimit | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the last occurrence, to the right of start_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value * ( 1.0 - signal_delta_proportion ). Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | A bin that belongs to the plateau. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted for a bin to belong to the plateau. |
| size_t Bial::SignalOp::PlateauRightLimit | ( | const Signal & | sgn, |
| size_t | start_bin, | ||
| size_t | end_bin, | ||
| size_t | kernel_size, | ||
| float | signal_delta_proportion | ||
| ) |
Detects the last occurrence, to the right of start_bin up to end_bin, of a bin that is not greater than start_bin value * ( 1.0 + signal_delta_proportion ) and that is not lower than start_bin value ( 1.0 - signal_delta_proportion ).
Sets of consecutive bins that are out of plateau signal range but are narrower than kernel_size are ignored.
| sgn | Input signal. |
| signal | Input signal. |
| start_bin | A bin that belongs to the plateau. |
| kernel_size | Size of used kernel. |
| signal_delta_proportion | maximum signal proportion difference accepted for a bin to belong to the plateau. |
| end_bin | Limit for the search. |
Returns a copy of input signal, without the empty bins.
| sgn | Input signal. |
| void Bial::SignalOp::SegmentEqualize | ( | Signal & | sgn | ) |
Equalizes input signal by segmented histogram in two parts.
| sgn | Input signal. |
Returns a copy of input signal, equalized.
| sgn | Input signal. |
Finds the lowest valley from bin min_bin to bin max_bin.
| sgn | Input signal. |
| min_bin | minimum bin range. |
| max_bin | maximum bin range. |
| Vector< size_t > Bial::SignalOp::Valleys | ( | const Signal & | sgn, |
| size_t | min_bin, | ||
| size_t | max_bin, | ||
| size_t | kernel_size | ||
| ) |
Finds the bins representing the local minima with respect to their adjacents in kernel range.
| sgn | Input signal. |
| min_bin | minimum bin range. |
| max_bin | maximum bin range. |
| kernel_size | Size of used kernel. |