如何查找图像副本的高DPI [英] How to Find High DPI of image copy
本文介绍了如何查找图像副本的高DPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友
我正在开发用于图像处理的软件.要从本地驱动器查看图像,我正在c#Windows应用程序中使用图片框工具,并且已经在本地驱动器中扫描了该申请人的照片副本的申请表.我需要系统地裁剪申请人的照片,因此我需要找到申请人照片表格图像的副本,我们该怎么做.请帮助我.....
Hello Friends
I am developing software for image process.To view images from local drive i am using picture box tool in c# windows application and i have scanned application form with photo copy of that applicant in my local drive.I need to crop photo of applicant systematically so i need to find that applicant photo form image copy how can we do this please help me.....
推荐答案
根据您的问题,看起来像您想要的在较大的图片中查找较小的图片,然后将图像裁剪为内部的较小图片.
首先,这是一篇很棒的CP文章,介绍如何使用图像(包括裁剪):
使用C#进行图像处理 [ http://www.dreamincode.net/forums/topic/201783-c%23-trying-to-find-a-smaller-image-inside-a-larger-image-need-help/ [ ^ ]
Based on your question, it looks like you want to find a smaller picture inside a larger picture and then you want to crop the image to be just the smaller image inside.
To start with, here is a great CP article on how to work with images (including cropping):
Image Processing using C#[^]
To find that smaller image, if you don''t know the coordinates and you don''t want the user to draw a box on the screen to indicate the coordinates (which would be best, by the way), you could try to find the right place by looking for a particular pattern of pixels (say a box around the picture). Here is a post that might have some useful code that you could start from:
http://www.dreamincode.net/forums/topic/201783-c%23-trying-to-find-a-smaller-image-inside-a-larger-image-need-help/[^]
这篇关于如何查找图像副本的高DPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文