12월, 2017의 게시물 표시

이미지 크기를 줄이면 차영상비교가 쉬워진다.

이미지

making NuGet Package from C++ code

http://holograming.blogspot.kr/2017/03/webfont.html

Normalize:Contrast Stretching by AForge

// create filter ContrastStretch filter = new ContrastStretch( ); // process image filter.ApplyInPlace( sourceImage );

Accord ImageBox in Mac

이미지
using  System; using  System.Drawing; using  System.Windows.Forms; using  Accord; using  Accord.Imaging; using  Accord.Imaging.Filters; using  Accord.Controls; namespace  aforge1 {      class   MainClass     {          public   static   void   Main ( string []  args )         {              Console . WriteLine ( " Hello World! " );              Bitmap   img1  = ( Bitmap )Accord.Imaging. Image . FromFile (                  @" /Users/kerbal/Pictures/lena.jpg " );              ImageBox . Show ( img1 );         }     } }  

45deg line Gabor filtering by accord

using System; using System.Media; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Accord; using Accord.Imaging; using Accord.Imaging.Filters; using Accord.Controls; namespace Gabor_Moddagy {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         // form load ------------------------------------------------         private void Form1_Load(object sender, EventArgs e)         {             pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;             pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;         }         // Gabor Filtering button ---------------------------------------------         private void button1_Click(object sender, EventArgs e)         {             Bitmap img1 = (Bitmap)pictureBox1.Image;             // resize ---------------------------------             ResizeBilinear filt

ImageBox.show by accord

using System; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Accord; using Accord.Imaging; using Accord.Imaging.Filters; using Accord.Controls; ... ImageBox.show(image1);

Beep sound in C#

            SystemSounds.Beep.Play(); ... using System.Media;

LHT by Accord + AForge

이미지
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Accord; using Accord.Controls; using Accord.Imaging; using AForge; using AForge.Imaging.Filters; namespace LHT_Moddagy {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void Form1_Load(object sender, EventArgs e)         {             pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;             pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;         }         // LHT Calc button ----------------------------------------------------         private void button1_Click(object sender, EventArgs e)         {             HoughLineTransformation lineTransform = new HoughLineTransformation();             Bitmap sourceImage = (Bitmap)pictureBox1.Image;             // create the filter