Skip to content

This program is aimed to finish the classDesign problem at University.

Notifications You must be signed in to change notification settings

NekoWings/MatrixPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MatrixPG

附:课程设计题目

·矩阵区域增长(★★★★★)
由文件读入一个大矩阵,从键盘读入M,N在矩阵中选择一个种子点,然后选择区域增长的条件,若种子点4邻域中有点符合增长条件,则进行区域增长,最后输出产生的区域,可用全是0,1 的矩阵表示。0表示不是该区域,1表示是该区域。也可采用图形界面输入区域增长的结果。
·区域增长的条件:
(1) 阈值增长(设定阈值T,若矩阵内的值大于或者小于阈值就进行增长)
(2) 4邻域平均值,该点4邻域的平均值,做平均值符合条件,则进行增长。(设定阈值T)
(3) 8邻域平均值(同2,设定阈值T)

About

This program is aimed to finish the classDesign problem at University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published