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"; } }
public static extern uint GetChannel(uint dib, FREE_IMAGE_COLOR_CHANNEL channel);
public static extern bool SetChannel(uint dib, uint dib8, FREE_IMAGE_COLOR_CHANNEL channel);
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"; }
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);
private static extern bool GetHistogramWindows(FIBITMAP dib, int[] histo, FREE_IMAGE_COLOR_CHANNEL channel);
private static extern bool AdjustCurveWindows(FIBITMAP dib, byte[] lookUpTable, FREE_IMAGE_COLOR_CHANNEL channel);
private static extern FIBITMAP GetComplexChannelLinux(FIBITMAP src, FREE_IMAGE_COLOR_CHANNEL channel);
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);
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);
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);
public void GetChannel(FREE_IMAGE_COLOR_CHANNEL ficc) { FIBITMAP tmp_dib = FreeImage.GetChannel(this.Dib, ficc); this.ReplaceDib(tmp_dib); }
public static extern bool AdjustCurve(FIBITMAP dib, byte[] lut, FREE_IMAGE_COLOR_CHANNEL channel);
public static extern bool GetHistogram(uint dib, IntPtr histo, FREE_IMAGE_COLOR_CHANNEL channel);
public static extern bool SetChannel(FIBITMAP dib, FIBITMAP dib8, FREE_IMAGE_COLOR_CHANNEL channel);
public static extern bool AdjustCurve(uint dib, byte[] lut, FREE_IMAGE_COLOR_CHANNEL channel);