本文介绍了图像操作和操纵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好, 我需要像在Adobe Phototshop中一样处理图像文件. 需要将假发的3D图像拖到人的3D照片中.我真的不知道如何做到这一点.请帮帮我. 该应用程序在Windows平台中 敲击
Hello, I need to manipulate image files like in adobe phototshop. Need to drag a 3D image of wig into a 3D photo of a person. I really dont have a clue of how this is done. Please help me. The application is in Windows platform Thnak you
推荐答案基本上,您需要具有两张图像-要拖动到的背景",另一张是假发. 我建议您甚至要处理面板或类似的画图,并且需要使用 Graphics.DrawImage [ ^ ]方法以及区域 [ ^ ]类,用于设置您要绘制的区域假发成. 这根本不是一件微不足道的工作-您可能想要看一下,看看是否可以找到基本的图形入门,然后再进行深入研究. Basically, you need to have two images - the "background" one you are dragging onto, and a second one which is the wig. I would suggest that you want to handle the Paint even of a panel or similar, and that you need to look at using the Graphics.DrawImage[^] method and also the Region[^] class for setting the area you want to draw the wig into. This isn''t a trivial job at all - you may want to look and see if you can find a basic graphics primer before you go too far.
您好, 尝试下载Paint.NET源代码,也许可以在其中找到实现效果的方法. 在本机Paint.NET网站上的源代码似乎不再可用,我找到了下载链接: tanyoivanov.wordpress/2012/04/23 /paint-net-3-5-source-code/ [ ^ ] 问候, Maxim. Hello, Try to download Paint.NET source code, probably in there you can find implementation of your effect. On native Paint.NET site sources seems no longer available, I found link for downloading: tanyoivanov.wordpress/2012/04/23/paint-net-3-5-source-code/[^] Regards, Maxim.
更多推荐
图像操作和操纵
发布评论