Esempio n. 1
0
        protected override void CorrelationStarted()
        {
            if (this.knownOverlapCorrelatorOptionPanel.Filter == FiltersEnum.GenericEdgeDetection)
            {
                KernalBasedOverlapCorrelator.Prefilter = new CorrelationPrefilter(FreeImageAlgorithmsBitmap.EdgeDetect);
            }

            this.KernelMinSizeMicrons = this.knownOverlapCorrelatorOptionPanel.StripSize;
            this.SearchMinSizeMicrons = this.knownOverlapCorrelatorOptionPanel.SearchSize;

            this.channel = this.knownOverlapCorrelatorOptionPanel.Channel;

            this.knownOverlapCorrelatorOptionPanel.SelectStartTile.Checked = false;
            this.startTile = null;
        }
        private void setComboBoxForFICC(ComboBox comboBox, FREE_IMAGE_COLOR_CHANNEL ficc)
        {
            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_RED)
            {
                comboBox.Text = "Red";
            }

            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_GREEN)
            {
                comboBox.Text = "Green";
            }

            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_BLUE)
            {
                comboBox.Text = "Blue";
            }
        }
Esempio n. 3
0
 public static extern uint GetChannel(uint dib, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 4
0
 public static extern bool SetChannel(uint dib, uint dib8, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 5
0
        private void setComboBoxForFICC(ComboBox comboBox, FREE_IMAGE_COLOR_CHANNEL ficc)
        {
            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_RED)
                comboBox.Text = "Red";

            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_GREEN)
                comboBox.Text = "Green";

            if (ficc == FREE_IMAGE_COLOR_CHANNEL.FICC_BLUE)
                comboBox.Text = "Blue";
        }
Esempio n. 6
0
 public static extern bool GetHistogram(FIBITMAP dib, IntPtr histo, FREE_IMAGE_COLOR_CHANNEL channel);
 public static extern FIBITMAP GetComplexChannel(FIBITMAP src, FREE_IMAGE_COLOR_CHANNEL channel);
 public static extern bool AdjustCurve(FIBITMAP dib, byte[] lookUpTable, FREE_IMAGE_COLOR_CHANNEL channel);
 public static extern bool SetChannel(IntPtr dib, IntPtr dib8, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 10
0
 private static extern bool GetHistogramWindows(FIBITMAP dib, int[] histo, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 11
0
 private static extern bool AdjustCurveWindows(FIBITMAP dib, byte[] lookUpTable, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 12
0
 private static extern FIBITMAP GetComplexChannelLinux(FIBITMAP src, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 13
0
 private static extern FIBITMAP GetChannelLinux(FIBITMAP dib, FREE_IMAGE_COLOR_CHANNEL channel);
        public void GetChannel(FREE_IMAGE_COLOR_CHANNEL ficc)
        {
            FIBITMAP tmp_dib = FreeImage.GetChannel(this.Dib, ficc);

             this.ReplaceDib(tmp_dib);
        }
        protected override void CorrelationStarted()
        {
            if (this.knownOverlapCorrelatorOptionPanel.Filter == FiltersEnum.GenericEdgeDetection)
                KernalBasedOverlapCorrelator.Prefilter = new CorrelationPrefilter(FreeImageAlgorithmsBitmap.EdgeDetect);

            this.KernelMinSizeMicrons = this.knownOverlapCorrelatorOptionPanel.StripSize;
            this.SearchMinSizeMicrons = this.knownOverlapCorrelatorOptionPanel.SearchSize;

            this.channel = this.knownOverlapCorrelatorOptionPanel.Channel;

            this.knownOverlapCorrelatorOptionPanel.SelectStartTile.Checked = false;
            this.startTile = null;
        }
 public static extern IntPtr GetChannel(IntPtr dib, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 17
0
 private static extern bool SetChannelWindows(FIBITMAP dib, FIBITMAP dib8, FREE_IMAGE_COLOR_CHANNEL channel);
 public static extern bool GetHistogram(FIBITMAP dib, int[] histo, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 19
0
 private static extern bool SetComplexChannelWindows(FIBITMAP dst, FIBITMAP src, FREE_IMAGE_COLOR_CHANNEL channel);
 public static extern FIBITMAP GetChannel(FIBITMAP dib, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 21
0
        public void GetChannel(FREE_IMAGE_COLOR_CHANNEL ficc)
        {
            FIBITMAP tmp_dib = FreeImage.GetChannel(this.Dib, ficc);

            this.ReplaceDib(tmp_dib);
        }
Esempio n. 22
0
 public static extern bool AdjustCurve(FIBITMAP dib, byte[] lut, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 23
0
 public static extern bool GetHistogram(uint dib, IntPtr histo, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 24
0
 public static extern bool SetChannel(FIBITMAP dib, FIBITMAP dib8, FREE_IMAGE_COLOR_CHANNEL channel);
Esempio n. 25
0
 public static extern bool AdjustCurve(uint dib, byte[] lut, FREE_IMAGE_COLOR_CHANNEL channel);