private void HarrisCornerDetection() { swHarris.Reset(); // Used for timing functions. (good for testing changes in optimisation) swHarris.Start(); HarrisCornerProperties hp = ControlPanel.Controls[0] as HarrisCornerProperties; processing = new FrmProcessing("Conducting Harris Corner Detection"); processing.Show(); Log("Conducting Harris Corner Detection"); SetStatus("Please wait for corner detection"); Harris h = new Harris(CurrentImage); h.ImageComplete += h_ImageComplete; Task ht = new Task(() => h.GetCorners(hp.Threshold, hp.Sigma)); ht.Start(); }
private void HarrisCornerDetection() { swHarris.Reset(); // Used for timing functions. (good for testing changes in optimisation) swHarris.Start(); if (ModificationPropertiesLog != null) { ModificationPropertiesLog("Conducting Harris Corner Detection"); } Harris h = new Harris(CurrentImage); h.ImageComplete += h_ImageComplete; Task ht = new Task(() => h.GetCorners(hp.Threshold, hp.Sigma)); ht.Start(); }