protected virtual void OnSobelFilterReady(ImgOut e)
 {
     SobelFilterReady?.Invoke(this, e);
 }
 protected virtual void OnCoppedFromRegionImgReady(ImgOut e)
 {
     CoppedFromRegionImgReady?.Invoke(this, e);
 }
 protected virtual void OnImg3Ready(ImgOut e)
 {
     Img3Ready?.Invoke(this, e);
 }
 protected virtual void OnRegionImgReady(ImgOut e)
 {
     RegionImgReady?.Invoke(this, e);
 }
 private void Imp_SobelFilterReady(object sender, ImgOut e)
 {
     filterSettings.pictureBox1.Image = e.Img;
 }
 private void Imp_Img3Ready(object sender, ImgOut e)
 {
     filterSettings.pictureBox3.Image = e.Img;
 }
 private void Imp_RegionImgReady(object sender, ImgOut e)
 {
     filterSettings.pictureBox2.Image = e.Img;
 }
 private void Imp_CoppedFromRegionImgReady(object sender, ImgOut e)
 {
     processingWindow.pictureBox2.Image = e.Img;
 }