Click here to Skip to main content
15,905,915 members
Home / Discussions / C#
   

C#

 
GeneralRe: flickers with draw plots from serial port ? Pin
Luc Pattyn10-Jun-10 2:31
sitebuilderLuc Pattyn10-Jun-10 2:31 
GeneralRe: flickers with draw plots from serial port ? Pin
Ahmed R El Bohoty14-Jun-10 17:43
Ahmed R El Bohoty14-Jun-10 17:43 
QuestionC# programm merging pdf files Pin
nstk6-Jun-10 6:39
nstk6-Jun-10 6:39 
AnswerRe: C# programm merging pdf files Pin
Richard MacCutchan6-Jun-10 6:51
mveRichard MacCutchan6-Jun-10 6:51 
AnswerRe: C# programm merging pdf files Pin
dan!sh 6-Jun-10 7:18
professional dan!sh 6-Jun-10 7:18 
AnswerRe: C# programm merging pdf files Pin
Johnny J.6-Jun-10 23:37
professionalJohnny J.6-Jun-10 23:37 
QuestionGetting cookies from IE process. [modified] Pin
Evgeni575-Jun-10 20:19
Evgeni575-Jun-10 20:19 
QuestionGet object count Pin
ruknil5-Jun-10 9:39
ruknil5-Jun-10 9:39 
This is what I have done to identify the vehicles from a given picture using Emgu CV (StructuringElementEx). Now I want to get the count of these identified vehicles.
If anyone know how to do that, it is a great help to me.
Thank You.

[img]http://i48.tinypic.com/2r2vza1.jpg[/img]

namespace ImagePrjct<br />
{<br />
    public partial class Form1 : Form<br />
    {<br />
        public Form1()<br />
        {<br />
            InitializeComponent();<br />
        }<br />
<br />
        private void Form1_Load(object sender, EventArgs e)<br />
        {<br />
            imageBox2.Image = new Image<Bgr, Byte>(@"C:\Users\Rukshan\Desktop\FYP_Update 2.1\New_Traffic_Pics\E4.jpg");<br />
        }<br />
<br />
        private void button1_Click(object sender, EventArgs e)<br />
        {<br />
            Image<Bgr, Byte> ori = new  Image<Bgr, Byte> ( imageBox2.Image.Bitmap);<br />
            Image<Gray, Byte> grayscale = ori.Convert<Gray, Byte>();<br />
            imageBox1.Image = grayscale;<br />
        }<br />
<br />
        private void button2_Click(object sender, EventArgs e)<br />
        {<br />
            Image<Bgr, Byte> ori = new  Image<Bgr, Byte> ( imageBox2.Image.Bitmap);<br />
            Image<Gray, Byte> grayscale = ori.Convert<Gray, Byte>();<br />
            //blk._Dilate(3);<br />
            //blk._Erode(3);<br />
           Image<Gray, Byte> thresh = grayscale.ThresholdToZero(new Gray(210));// (new Gray(50), new Gray(255));<br />
            //using (Image<Gray, Byte> plateCanny = thresh.Canny(new Gray(100), new Gray(50)))<br />
<br />
           StructuringElementEx ex = new StructuringElementEx(8, 8, 1, 1, CV_ELEMENT_SHAPE.CV_SHAPE_RECT);<br />
<br />
           thresh._MorphologyEx(ex, CV_MORPH_OP.CV_MOP_OPEN, 1);<br />
<br />
            imageBox3.Image = thresh;<br />
        }

QuestionRendering a page break in WinForms RichTextBox Pin
The Man from U.N.C.L.E.5-Jun-10 9:06
The Man from U.N.C.L.E.5-Jun-10 9:06 
AnswerRe: Rendering a page break in WinForms RichTextBox Pin
Luc Pattyn5-Jun-10 10:24
sitebuilderLuc Pattyn5-Jun-10 10:24 
GeneralRe: Rendering a page break in WinForms RichTextBox Pin
The Man from U.N.C.L.E.5-Jun-10 11:10
The Man from U.N.C.L.E.5-Jun-10 11:10 
GeneralRe: Rendering a page break in WinForms RichTextBox Pin
Luc Pattyn5-Jun-10 11:36
sitebuilderLuc Pattyn5-Jun-10 11:36 
QuestionProblem with Listview,help! Pin
imbiz5-Jun-10 7:31
imbiz5-Jun-10 7:31 
AnswerRe: Problem with Listview,help! Pin
Henry Minute5-Jun-10 8:05
Henry Minute5-Jun-10 8:05 
AnswerRe: Problem with Listview,help! Pin
Luc Pattyn5-Jun-10 8:07
sitebuilderLuc Pattyn5-Jun-10 8:07 
GeneralRe: Problem with Listview,help! Pin
Henry Minute5-Jun-10 8:30
Henry Minute5-Jun-10 8:30 
GeneralRe: Problem with Listview,help! Pin
Luc Pattyn5-Jun-10 8:46
sitebuilderLuc Pattyn5-Jun-10 8:46 
GeneralRe: Problem with Listview,help! Pin
Henry Minute5-Jun-10 9:05
Henry Minute5-Jun-10 9:05 
GeneralRe: Problem with Listview,help! Pin
Luc Pattyn5-Jun-10 11:38
sitebuilderLuc Pattyn5-Jun-10 11:38 
GeneralRe: Problem with Listview,help! Pin
Henry Minute5-Jun-10 11:43
Henry Minute5-Jun-10 11:43 
GeneralRe: Problem with Listview,help! Pin
Luc Pattyn5-Jun-10 11:55
sitebuilderLuc Pattyn5-Jun-10 11:55 
GeneralRe: Problem with Listview,help! Pin
imbiz5-Jun-10 16:02
imbiz5-Jun-10 16:02 
GeneralRe: Problem with Listview,help! Pin
imbiz5-Jun-10 16:21
imbiz5-Jun-10 16:21 
QuestionUsing connection continuously Pin
teknolog1235-Jun-10 6:36
teknolog1235-Jun-10 6:36 
AnswerRe: Using connection continuously Pin
Not Active5-Jun-10 7:02
mentorNot Active5-Jun-10 7:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.