如何在Windows应用程序C#上使用图像

编程入门 行业动态 更新时间:2024-10-26 18:18:26
本文介绍了如何在Windows应用程序C#上使用图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发一个几乎已经完成的牙科诊所软件,但我卡在我的客户想要一个表格的部分,其中图形设计的牙齿可以被标记为好像是否损坏,如果它被损坏那么哪个部分是特定牙齿的一部分。 我已经搜索了很多但是仍然找不到用图像交互建立该方法的方法,用户可以从虚拟牙齿视图中点击牙齿并注意它已损坏。 你可以参考这个链接来了解我想要做什么: www.softsea/screenshot/image/Dental-Clinic-Software.jpg [ ^ ] qstoma/Images/start/lab_addactivity_en.jpg [ ^ ]

I am developing a Dental Clinic Software almost it has been completed but i stuck at the part where my client wants a form where Graphical Design of Teeth can be marked as if it is Damaged or not , and if it is damaged then which part is that of the particular teeth. I have searched a lot but still can not find a way to establish that method with Image interaction where User can click on a teeth from Virtual teeth view and remark that it is damaged . You can refer this link to get idea about what i m trying to make : www.softsea/screenshot/image/Dental-Clinic-Software.jpg[^] qstoma/Images/start/lab_addactivity_en.jpg[^]

推荐答案

首先,您需要一张显示牙齿的图片(或者可能是牙医可以选择的几张图片:前视图,俯视图,内视图......)。接下来,您必须 - 可能是手动 - 找到该图像上各个牙齿的坐标(此外,还有牙齿部位的坐标),并存储该信息。 当用户点击时在图像上,您将收到Click事件。 EventArgs包含点击的x和y坐标。有了它们,你可以搜索你的数据列表,找到相应的牙齿及其部分。 这是很多手工工作...... First of all, you need a picture showing the teeth (or perhaps several picture from which the dentist can select: front view, top view, inner view...). Next, you have to - likely manually - find the coordinates of the individual teeth on that image (and furthermore, the coordinates of the parts of the teeth), and store that information. When the user clicks on the image, you'll receive a Click event. The EventArgs contain the x and y coordinates of the click. With them, you can search throu your list of data to find the corresponing tooth and its part. It is a lot of manual work to get there...

更多推荐

如何在Windows应用程序C#上使用图像

本文发布于:2023-11-11 10:54:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1578226.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   图像   如何在   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!