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);
}
}
}
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);
}
}
}
댓글
댓글 쓰기