Getting problem in Matlab GUI code.
3 ビュー (過去 30 日間)
古いコメントを表示
I am new to matlab. Will u please help me in matlab code for generate negative of image, contrast value of image and average intensity value of pixel in the image.
0 件のコメント
回答 (2 件)
Walter Roberson
2016 年 10 月 7 日
For uint8 images,
negativeImage = uint8(255) - YourImage;
For average intensity, rgb2gray() and then mean2()
You need to explain what contrast value you are looking for. One possibility is at https://www.mathworks.com/matlabcentral/answers/81133-how-to-calculate-contrast-per-pixel-cpp-of-an-image#answer_90845
0 件のコメント
Image Analyst
2016 年 10 月 14 日
Try imadjust() to change the image, or colormap() to change just how it's displayed.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!