How to transform double to unit8
4 views (last 30 days)
Show older comments
Sivakumar Rajagopal
on 3 Apr 2020
Commented: Sivakumar Rajagopal
on 3 Apr 2020
for i = 1:1:291 %go through rows
for j = 1:1:240 %columns
img_heq(i, j) = T(img(i,j));
end
end
ERROR: Variable img_heq must be of data type uint8. It is currently of type double.
How to recity the varibale error problem.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Shifting and Sorting Matrices 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!