extracting pixel values from image
    6 次查看(过去 30 天)
  
       显示 更早的评论
    
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!