extracting pixel values from image
조회 수: 6 (최근 30일)
이전 댓글 표시
Smruti Khobragade
2020년 1월 29일
댓글: Smruti Khobragade
2020년 1월 29일
Hello,
I have to get the value of pure black pixel in images which hva colorbar
i have converted the range of pixels using function of thresholding and divided the image accorging.
how can i get value of highest and min value(how pure the black color is?)
like waht is the highrst value of pixels ie highest value of black color in each image?
댓글 수: 0
채택된 답변
Jose Jeremias Caballero
2020년 1월 29일
편집: Jose Jeremias Caballero
2020년 1월 29일
a=imread('binary2.jpg');
imshow(a);
minimum=min(min(a)),
[row,column]=find(a==minimum);
hold on,
plot(column,row,'*'),
hold off,
minimum =
uint8
88
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!