473,699 Members | 2,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Geometric Shape Recognition & Find Extreme Points in C#

6 New Member
Hi,

Can anyone tell me how to recognize geometric shape using C#?

I have geometric shapes like triangle, hexagon, pentagon, diamond, square,parallel ogram, rectangle, etc.
I have drawn all these shapes using mspaint.

i have one picture box, using opendialog i am selecting any of the geometric shapes, into picturebox.
I want to identify the shape of the image & extreme points. As it is hand made image, i want to draw a proper image using extreme points.

If anyone has some code or some references, then please send it to me...

I need it very very urgently.

Thanks,
Riya
May 6 '10 #1
10 9173
tlhintoq
3,525 Recognized Expert Specialist
You can forget about the "urgently" part. Shape recognition is not something you are going to learn and comprehend after reading a 4 paragraph description.

Original Poster: I don't know how to use a search engine. Could someone do it for me?
http://www.lmgtfy.com/?q=C%23+shape+...UTF-8&oe=UTF-8
May 6 '10 #2
itrose
6 New Member
Pattern matching in Digital image processing in C#?
May 7 '10 #3
itrose
6 New Member
@tlhintoq
Hi Can anybody please help me?????

Pattern matching in digital image processing in C#?
May 7 '10 #4
Monomachus
127 Recognized Expert New Member
@itrose
I think you didn't got it but based on the link my fellow tlhintoq gave you I found this one to be pretty much what you need.

http://samsood.blogspot.com/2006/05/...n-using-c.html
May 7 '10 #5
tlhintoq
3,525 Recognized Expert Specialist
ITROSE: Please stop double posting your questions in different areas of Bytes. It divides efforts to help you. Your posts have been merged.
May 7 '10 #6
itrose
6 New Member
@Monomachus
Hi, Monomachus

Earlier I already tried that link, but it is giving error. I am not able to build the program properly. If you can help me in building the program then it will be really very helpful, as i am new to C# & also shape recognition.

I am not able to understand the flow of that program.

Actually, I need to submit the program in the college within next week, so if somebody can help me in this then it will be really gr8.
May 8 '10 #7
tlhintoq
3,525 Recognized Expert Specialist
Actually, I need to submit the program in the college within next week
Doing school work for students is strictly against policy. We can help you with problems not directly related to the writing of code for your project, but that's about it.

I am not able to build the program properly.
You need to be more specific. Why will your project not build? What is the error you are getting when you try to build?
May 8 '10 #8
itrose
6 New Member
Hi,

Sorry i am modifying my previous post question, with more clarification.

I need to compare 2 jpeg images, both contains same geometric shapes like triangle, hesagon, pentagone, square, etc.

I need to convert the jpg image into binary format and then compare them.

If both are not equal then find the extreme points and draw the proper shape of the image.

So, After converting it into binary, how can i find vectors of all the points and then extreme points?

Thanks
Riya
May 8 '10 #9
tlhintoq
3,525 Recognized Expert Specialist
Please don't double-post your questions. It divides attempts to help you in an organized and cohesive manner. Your threads have been merged
May 8 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1960
by: Phil Price | last post by:
Hi there, I'm developing a shape recognition application for the tablet PC for a) fun b) university project. Currently I'm working on the learning stage using neural networks, and have to store a load of learning data (a 25 by 25 matrix) each shape group has a number of user drawn shapes, then the application will create variations of these shapes (by moving nodes and drawing lines into the matrix between nodes, after normalization). So...
1
1494
by: vertigo | last post by:
Hello i created map<myclass1*,myclass2*> object. I have problem with find function. It only works when myclass1* is string or int (it does not work for char* and myclass1*). Is it normal or i have made mistake somewhere ? How does find() compares objects ? Maybe i should have written some compare() function ? Thanx Michal
1
449
by: G.A.Mashaqbeh via DotNetMonster.com | last post by:
can anybody help me?? using the mouse i let the user to draw a shape about a set of points, i want to define the points enclosed within this shape, the shape is irregular, i have saved all the points of that shape (which are defined by the mousedown event), the shape is not completely continous (due to moving the mouse very fast) but it is closed. if any body have any idea even if it is not completly correct, please support it, it may...
4
1294
by: Agnes | last post by:
Sorry for my question again. My form got the previous , next , top,bottom button and allow the user to move the records . Now, the table got 500 records, I need to do a features for the user to input the 300th records(e.g invoiceno is 00301) and search it, and then move to 301,302, or move back to 299,298. I don't know how to do , Thanks in advance.
5
2394
by: justobservant | last post by:
When more than one keyword is typed into a search-query, most of the search-results displayed indicate specified keywords scattered throughout an entire website of content i.e., this is shown as three bolded periods '...' in search-result listings. Additionally, most content is outdated; as many users need up-to-date content. Hence, filtering-through search-results becomes quite cumbersome. The newsgroup listings allow detailed...
6
3710
by: reon | last post by:
Here is my source code.... And any one pls help me how can we find the output integers sort by ascending and find there average... #include<iostream.h> #include<conio.h> void main() { int num; clrscr(); cout<<"ENTER NUMBERS TO SORT THEM IN ASCENDING ORDER & FIND THE AVERAGE"<<endl; for(int times=0;times<=10;times++)
0
1465
by: madprocessor | last post by:
hi there, does anybody know about shape / gesture recognition librarys for python? like cali: http://immi.inesc-id.pt/cali/ thx joerg
3
1564
by: zensunni | last post by:
In MySQL, I would just go: "use <database name>;" Is there an equivalent in Oracle? Also, how would I list all the tables in my database? Thanks.
3
6124
by: raylopez99 | last post by:
I suspect the answer to this question is that it's impossible, but how do I make the below code work, at the point where it breaks (marked below). See error CS0411 This is the complete code. Copy and paste it into VS2008 for a Windows Forms application. With some effort I can do the job with a user defined function, but my question is whether I can do it using the built in library function "Array.Find" and a predicate that takes...
12
4652
by: aznimah | last post by:
hi, i need help to find extreme points of polygon. example triangle points. there is 3 extreme points on triangle, on each corner of the triangle structure example points A (8, 15), point B (1, 2) points C (16,2)does anyone can help me on it? the sample set size is 16X 16. thanks
0
8687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8883
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7750
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.