摘要
圖像編輯處理軟件插件的二次開發,在數字化的今天,有十分廣泛的應用前景。它對于滿足不同用戶個性化需求,提供了簡單快捷的方式。利用各種不同功能的插件,能夠對數字圖像進行處理,完成各種需求的效果,同時能夠在處理的過程中提高效率。在對比了各種圖像編輯處理軟件后,選擇Adobe公司的Photoshop 這款偏向圖像處理的軟件,利用Adobe公司的Photoshop SDK進行濾鏡插件的二次開發,以完成將照片轉為手繪效果,即將真實世界的照片經過圖像處理,使其看起來像是一種用畫筆繪制出的效果,并保留圖像的大部分細節。
本文對比幾種主流圖像編輯處理軟件,分析開發手繪效果濾鏡插件的原因及應用前景,并分析Photoshop濾鏡的基本工作原理,以及Photoshop和濾鏡插件的交互工作原理。講解如何在微軟Windows操作系統下開發和編寫Photoshop Creative Suite 4軟件插件,如何在Photoshop SDK的基礎上,利用Microsoft Visual Studio 2008這一開發平臺,對Photoshop進行濾鏡插件二次開發等內容。
本文研究了濾鏡插件開發的基本方法,分析了手繪效果的實現方法,并開發了一個實現手繪效果的Photoshop濾鏡。
關鍵詞:Photoshop,插件,手繪,濾鏡
ABSTRACT
The secondary development of image editing software plug-in today, has a wide range of applications, which provides a quick and easy way to meet the individual needs of different users. Using different plug-ins of different functions to process digital images, can complete different required effects, and is able to improve efficiency during the process of image editing as well. In contrast with some image editing software, we select the Photoshop, a kind of image processing-oriented software, using Adobe's Photoshop SDK, which is the only approach to program available plug-ins with complete functions in Photoshop, and can we start the secondary development of Photoshop filter plug-in, to transform the photograph into a hand-painting effect. That is, through image processing, the real-world photos look like pictures drawn by the brush, and retain most of the details of the image.
This article will contrast several mainstream image editing software, analyze the reasons for hand-painting effect filter plug-ins and application prospects, and will explain what is the basic working principle s of Photoshop filters, how Photoshop and filter plug-in work interactively. The paper will explain how to develop and program plug-ins of Adobe's Photoshop Creative Suite 4 software under Microsoft's Windows operating system, how to develop Photoshop filter plug-in on the base of Photoshop CS4 SDK with Microsoft Visual Studio 2008 , and so on.
Through this article, we will study the filter plug-in development approach, the method to achieve hand-painting effect., and finally, we achieve a filter to transform the photo into a hand-painting effect in Photoshop.