Undefined function 'imhistc' for input arguments of type 'uint8'.
Show older comments
Im trying to get the histogram of an image using imhist. however its showing the above error? i tried which imhistc and its not found. Im using matlab R2016
1 Comment
Akshay
on 29 Jul 2016
I face the same problem. Canny edge detector as it, like imhist, depends on the function imhistc, which is somehow not present in our computers.
Accepted Answer
More Answers (1)
Elena
on 26 Mar 2026 at 16:40
0 votes
To use the imhistc function you need to install 'Image Processing Toolbox'. You can install it in Matlab Add-Ons.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!