UH-OH

It looks like you don’t have access to that feature yet

Contact sales to get upgraded to the full DevStudio experience.

UH-OH

It looks like you don't have access to that feature yet.

Chimera Compute Library (CCL) API ReferenceImage ProcessingHistograms

Histograms

πŸ“„ src/image.hpp

3512       /**
3513        * @brief Calculates histogram given an input image.
3514        *
3515        * @tparam OcmTensorShape Input image shape.
3516        * @tparam NDArray Array type.
3517        * @param ocmTensor Input Image
3518        * @param histo `NDArray` representing the histogram. (Expected length of 256).
3519        * @param channel Which channel to calculate.
3520        */
3521       template <typename OcmTensorShape, typename NDArray>
3522       INLINE void calcHist(OcmTensorShape& ocmTensor, NDArray& histo, std::uint8_t channel = 0) {

πŸ“„ src/image.hpp

3567       /**
3568        * @brief Equalizes image given a histogram.
3569        *
3570        * @tparam OcmTensorShape Shape of input image.
3571        * @tparam NDArray Array type.
3572        * @param ocmTensor Input image.
3573        * @param histoMap Mapping to apply.
3574        * @param channel Which channel to equalize.
3575        */
3576       template <typename OcmTensorShape, typename NDArray>
3577       INLINE void histogramEq(OcmTensorShape& ocmTensor, NDArray& histoMap, std::int32_t channel = 0) {

Table of Contents

Sign in to your account

Don't have an account? Create an Account
By signing in, you are agreeing to our Terms of Use and Privacy Policy.

Develop.

Simulate.

Profile.

Collaborate.