MainWindow 0 0 664 436 MainWindow 50 240 75 23 打开摄像头 190 240 75 23 捕获图片 330 240 75 23 打开图片 50 310 75 23 阈值分割 190 310 75 23 灰度化 20 40 150 150 QFrame::Plain 摄像头 200 40 150 150 捕获图 380 40 150 150 结果图 330 310 75 23 加噪 190 360 75 23 保存图片 0 0 664 22 btnOpenCamera btnCapture btnReadImage btnThreshold btnGray btnOpenCamera clicked() MainWindow btnOpenCamera_Clicked() 90 276 100 232 btnCapture clicked() MainWindow btnCapture_Clicked() 239 275 281 236 btnReadImage clicked() MainWindow btnReadImage_Clicked() 368 277 470 274 btnThreshold clicked() MainWindow btnThreshold_Clicked() 78 354 126 366 btnGray clicked() MainWindow btnGray_Clicked() 253 354 382 364 btnDenoising clicked() MainWindow btnDenoising_Clicked() 370 337 432 311 btnSaveImage clicked() MainWindow btnSaveImage_Clicked() 230 393 317 388 btnOpenCamera_Clicked() btnCapture_Clicked() btnReadImage_Clicked() btnGray_Clicked() btnThreshold_Clicked() btn_Clicked() btnDenoising_Clicked() btnSaveImage_Clicked()