aforge

Alpha shape (concave hull) algorithm in C#

徘徊边缘 提交于 2019-12-25 01:55:41
问题 I'm in need of concave algorithm to outline shape from set of points, is there implementation in AForge.NET that I could use, I have read somewhere that AForge.NET has implementation of that algorithm but I can't find it in documentation. Any help would be greatly appreciated, Best regards, Daniel 回答1: i know that AForge DONT have the Concave Hull. You need to use EmguCV if you want compute it. 回答2: I was also looking for a simple .NET implementation creating an alpha shape but couldn't find

Vertical histogram & horizontal histogram in aforge

人走茶凉 提交于 2019-12-24 14:51:30
问题 How can I get the vertical histogram or the horizontal histogram of text image for segmentation the text into line and connected words? I used aforge with: HorizontalIntensityStatistics his = new HorizontalIntensityStatistics(pic); Histogram histogram = his.Gray; But it didn't work, I can't see the histogram. 回答1: You're not going to be able to see something without plugging the histogram into some kind of charting component. The Histogram that AForge generates is a list of the sums of the

NuGet: where is AForge.Video.FFMPEG

谁都会走 提交于 2019-12-23 10:24:26
问题 Good day. I want to use AForge.Video.FFMPEG in my project. So, i try to find it on the NuGet. But i'm not found it here. So, here it exists: https://code.google.com/archive/p/aforge/downloads But, if i want to restore it automatically from nuget (after git clone and rebuild), it's not allowed in this case? Only store this dll in project and push/fetch it always? 回答1: You can use Accord.Video.FFMPEG 回答2: Install from Package Manager Console using: Install-Package Accord.Video.FFMPEG -Version 3

Find Tables in Image using C#

99封情书 提交于 2019-12-23 05:22:47
问题 I am trying to write a function that will take an image and return me a list of images with only tables using EMGU.CV or Magick.Net or AForge.Net for example for the below image the function should return 2 images with the two tables in the image. private static List<Image> FindTables(Image img) { var masterImage = (Bitmap)img; var image = new Image<Gray, byte>(masterImage); var copyImg = new Image<Bgr, byte>(masterImage); List<Image> tables = new List<Images> //Find all tables and add to

Find Tables in Image using C#

爷,独闯天下 提交于 2019-12-23 05:22:13
问题 I am trying to write a function that will take an image and return me a list of images with only tables using EMGU.CV or Magick.Net or AForge.Net for example for the below image the function should return 2 images with the two tables in the image. private static List<Image> FindTables(Image img) { var masterImage = (Bitmap)img; var image = new Image<Gray, byte>(masterImage); var copyImg = new Image<Bgr, byte>(masterImage); List<Image> tables = new List<Images> //Find all tables and add to

C# image processing on Kinect video using AForge

雨燕双飞 提交于 2019-12-22 09:48:02
问题 My goal : use Kinect video to do shape recognition (large rectangle on the picture), draw rectangle on the picture to highlights the results and display. The techno I use : C# code, AForge and more specifically its shape checker http://www.aforgenet.com/articles/shape_checker/ How the magic should work : Every time a frame is ready I get the frame data as bytes array and transform it to bitmap to allow me to analyze it Apply the shape recognition algorithm Render the result... My problem :

Automatic enhancement of scanned images

拈花ヽ惹草 提交于 2019-12-20 09:12:06
问题 I'm developing a routine for automatic enhancement of scanned 35 mm slides. I'm looking for a good algorithm for increasing contrast and removing color cast. The algorithm will have to be completely automatic, since there will be thousands of images to process. These are a couple of sample images straight from the scanner, only cropped and downsized for web: I'm using the AForge.NET library and have tried both the HistogramEqualization and ContrastStretch filters. HistogramEqualization is

AForge camera memory leak

天大地大妈咪最大 提交于 2019-12-20 03:04:29
问题 I'm developing an application in C#, and I developed a library that does some stuff with Aforge cameras. One of the points is to simply capture images of what is in front of the Web Cam and show it on a specific PictureBox to do so: camera.NewFrame += NewFrame; private void NewFrame(object sender, NewFrameEventArgs args) { Bitmap newFrame = new Bitmap(args.Frame); args.Frame.Dispose(); PictureBox.FromBitmapImage(newFrame); newFrame.Dispose(); newFrame = null; } What I do here, I get every

Image sequence to video stream?

二次信任 提交于 2019-12-17 04:41:05
问题 Like many people already seem to have (there are several threads on this subject here) I am looking for ways to create video from a sequence of images. I want to implement my functionality in C#! Here is what I wan't to do: /*Pseudo code*/ void CreateVideo(List<Image> imageSequence, long durationOfEachImageMs, string outputVideoFileName, string outputFormat) { // Info: imageSequence.Count will be > 30 000 images // Info: durationOfEachImageMs will be < 300 ms if (outputFormat = "mpeg") { }

Image sequence to video stream?

99封情书 提交于 2019-12-17 04:40:11
问题 Like many people already seem to have (there are several threads on this subject here) I am looking for ways to create video from a sequence of images. I want to implement my functionality in C#! Here is what I wan't to do: /*Pseudo code*/ void CreateVideo(List<Image> imageSequence, long durationOfEachImageMs, string outputVideoFileName, string outputFormat) { // Info: imageSequence.Count will be > 30 000 images // Info: durationOfEachImageMs will be < 300 ms if (outputFormat = "mpeg") { }