mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
add HAL for adaptiveThreshold
This commit is contained in:
@@ -630,6 +630,23 @@ inline int hal_ni_medianBlur(const uchar* src_data, size_t src_step, uchar* dst_
|
||||
#define cv_hal_medianBlur hal_ni_medianBlur
|
||||
//! @endcond
|
||||
|
||||
/**
|
||||
@brief Calculates adaptive threshold
|
||||
@param src_data,src_step Source image
|
||||
@param dst_data,dst_step Destination image
|
||||
@param width,height Source image dimensions
|
||||
@param maxValue Value assigned to the pixels for which the condition is satisfied
|
||||
@param adaptiveMethod Adaptive thresholding algorithm
|
||||
@param thresholdType Thresholding type
|
||||
@param blockSize Size of a pixel neighborhood that is used to calculate a threshold value
|
||||
@param C Constant subtracted from the mean or weighted mean
|
||||
*/
|
||||
inline int hal_ni_adaptiveThreshold(const uchar* src_data, size_t src_step, uchar* dst_data, size_t dst_step, int width, int height, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
|
||||
|
||||
//! @cond IGNORED
|
||||
#define cv_hal_adaptiveThreshold hal_ni_adaptiveThreshold
|
||||
//! @endcond
|
||||
|
||||
//! @}
|
||||
|
||||
#if defined __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user