X射线图像和供应商图像的图像比较. [英] Image comparison of x-ray image and a vendor image.

查看:62
本文介绍了X射线图像和供应商图像的图像比较.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我已经在asp.net中创建了基于Web的图像比较应用程序.在这里,我正在比较并发现两个图像之间的差异(一个是与供应商图像进行比较的X射线图像),还发现了它们之间的相似性百分比.但是它应该根据与供应商图像对应的X射线图像显示相似性百分比(即,如果是,则该X射线图像是否适合给定的供应商图像,那么它应该显示出很大的相似性百分比).任何人都可以帮帮我.提供一些示例代码或链接.
谢谢

hi
I have created web base image comparison application in asp.net. Here i am comparing and finding the difference between two images (one is x-ray image which is compared with vendor image) & also finding percentage of similarity between them. But it should display similarity percentage based on which x-ray image maps with vendor image( i.e whether that x-ray image fits with given vendor image if yes then it should shows that much percentage of similarity).Can anyone help me. Give some sample code or link.
Thank you

推荐答案

此问题尚未定义.要进行比较,您需要定义比较标准.有诸如 norm 这样的数学概念,该映射为规范向量空间中的向量分配长度,请参见 http ://en.wikipedia.org/wiki/Norm [^ ].

定义的问题是您在灰度像素图像的空间中定义了一些规范.不要告诉我,这是一个自然的准则.计算图像之间差异的方法有很多.

对这个东西进行编程的主要方向是使用System.Drawing.Imaging.您可以从文件加载两个位图(类System.Drawing.Bitmap的实例),并使用方法System.Drawing.Bitmap.LockBitsSystem.Runtime.InteropServices.Marshal来访问位图位数组,因此可以应用比较算法.

请参见以下代码示例: http://msdn.microsoft.com/en-us/library/5ey6h79d.aspx [^ ].

—SA
This problem is not yet defined. To make some comparison, you need to define comparison criteria. There is such mathematical concept as norm, a map that assigns lengths to vectors in the normed vector space, see http://en.wikipedia.org/wiki/Norm[^].

The problem is defined is you define some norm in the space of gray-scale pixel images. Don''t tell me there is a natural norm which is assumed. There are different ways of calculating the difference between images.

Main directions in programming this thing would be using System.Drawing.Imaging. You can load two Bitmaps, instances of the class System.Drawing.Bitmap from files and use the method System.Drawing.Bitmap.LockBits with System.Runtime.InteropServices.Marshal to get access to the array of bitmap bits, so you could apply your algorithm of comparison.

See this code sample: http://msdn.microsoft.com/en-us/library/5ey6h79d.aspx[^].

—SA


这篇关于X射线图像和供应商图像的图像比较.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆