Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I'm working on a project in Image processing and neural networks
I've used blobcounter filter and I need the center coordinates of each rectangle
could you please help me?
thanks in advanced
Posted

1 solution

FYR,

http://stackoverflow.com/questions/2636020/recognize-objects-in-image[^]

Here is the solution for your problem.


C#
public static List<Rectangle> PatternRectangeBoundaryList
    (Bitmap original, int colorIndex, int hStep, int vStep,
    bool bTopStart,int widthMin,int heightMin)




Neural Network for Recognition of Handwritten Digits in C#[^]


Regards,
Praveen Nelge
 
Share this answer
 
v3
Comments
Mujeeba Haj Najeeb 19-Apr-14 2:19am    
Praveen Negle
thanks for your answer but I'm a little bit confused with it
where should I put it?
according to my project I programmed a button to calculate the centers coordinates and then spaces between them for a next step
according to my thought about yours you creates a list but I didn't realize the benefit

thanks again
P.S I'm still a begginer in both Image processing & C#
Mujeeba Haj Najeeb 19-Apr-14 12:53pm    
I found this instruction: e.Graphics.DrawImageUnscaled(pt, x, y);
Is it helpfull?
[no name] 20-Apr-14 6:43am    
Yes try it out once. Even I am trying it out the possibilities and suggesting which can make things workout for u

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900