Click here to Skip to main content
15,886,689 members
Articles / Multimedia / GDI+

Large pattern recognition system using multi neural networks

Rate me:
Please Sign up or sign in to vote.
4.94/5 (71 votes)
31 May 2012CPOL7 min read 212.8K   253.2K   192  
Tutorials of using multi neural networks for large pattern recognition system, handwriting recognition system
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Neurons;
using Neurons.NNLayers;

namespace NNControl.NNTraining
{
    public partial class ConvolutionForm : Form
    {
        ConvolutionLayer layer;
        Layer preLayer;
        public ConvolutionLayer Layer
        {
            get
            {
                return layer;
            }
        }
        public ConvolutionForm(Layer prelayer)
        {
            InitializeComponent();
            layer = null;
            preLayer = prelayer;
        }

        private void btAdd_Click(object sender, EventArgs e)
        {
            string label = tbLabel.Text;
            Size mSize = new System.Drawing.Size((int)udWidth.Value, (int)udHeight.Value);
            int nMaps = (int)udMaps.Value;
            int kernel = (int)udKernelSize.Value;
            layer = new ConvolutionLayer(label, preLayer,mSize,nMaps,kernel);
            layer.Initialize();
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Vietnam Maritime University
Vietnam Vietnam
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions