can anyone tell me how to normalization for a 3-channel float data? how can I set the stride? src or dst are all should 3-channel.
what does patchWidth, patchHeight used for?, how to use fcvNormalizeLocalBoxf32
FASTCV_API fcvStatus fcvNormalizeLocalBoxf32(const float32_t *__restrict src,
int src_stride = w*3*4; int dst_stride = w*3*4; fcvStatus status = fcvNormalizeLocalBoxf32(src, w, h, src_stride, w, h, 1, dst, dst_stride);
Hi,
The API fcvNormalizeLocalBoxf32 expects single channel data. If you can treat your 3-channel data as single channel then you can use it.
Patch defines the box in which the data is normalized by the stats of the box. It works like a sliding window.
Cheers,
-Jeff