public KernelEditor(Form callingForm, string filter)
 {
     imageProcessorForm = callingForm as ImageProcessorForm;
     kernel             = filter;
     InitializeComponent();
     SetUpKernelEditor();
 }
        public YBRColorspaceDisplay(Form callerForm, Bitmap currentFltImage)
        {
            currentFilterImage = CacheManager.DeepCopy(currentFltImage);
            imageProcessorForm = callerForm as ImageProcessorForm;

            InitializeComponent();

            Height = callerForm.Height;

            setUpImages();
        }