| Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) | 
![]()  | 
	
| 		
			
			 | 
		#1 | 
| 
			
			 高级会员 
			
			
			
			注册日期: 2019-11-21 
				
				
				
					帖子: 3,013
				 
				
				
				声望力: 66 ![]()  | 
	
	
	
		
		
			
			 
			
			我整天都在阅读上面的MATLAB函数。我似乎在网上都找不到很好的解释,即使在MathWorks网站上也是如此!  
		
		
		
		
		
		
		
	如果有人能解释bwlabel , regionprops和centroid ,我将不胜感激。如果应用于灰度图像,它们如何工作? 具体来说,它们在下面的代码中使用。以上功能如何适用于以下代码? fun=@minutie; L = nlfilter(K,[3 3],fun); %% Termination LTerm=(L==1); figure; imshow(LTerm) LTermLab=bwlabel(LTerm); propTerm=regionprops(LTermLab,'Centroid'); CentroidTerm=round(cat(1,LTerm(:).Centroid)); figure; imshow(~K) set(gcf,'position',[1 1 600 600]); hold on plot(CentroidTerm(:,1),CentroidTerm(:,2),'ro') 更多&回答...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 |