Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, October 12, 2009 4:12:53 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


Due to Photoshop's layering capabilities, there are endless kinds of effects you can create by making alterations to layers and then combining them back onto each other like the "sketch effect" posted here: http://www.tutorialized....etch-Effect/43458.  LEADTOOLS doesn't have layering built into it, but it is possible to combine images onto each other with different operations like add, subtract, multiply, etc. (take a look at the flags for the CombineCommand in .NET or L_CombineBitmap in CDLL).  

In most cases we don't have a single function that accomplishes the effect (neither does Photoshop!), so you have to try and get similar results for each step required for the effect.  We have many of the same image processing functions like invert, edge detection, blurring, etc.  Keep in mind that not all the functions and layer blending modes have the same name, so your best bet is to simply experiment and play around with different effects and flags and values.  The CDLL Image Processing Features demo (LEADTOOLS 16.5\Examples\CDLL\ImagePF) has most of our functions and has dialogs with inputs so you can immediately see before and after results and is great for testing our different features.

Attached is a C# 2005 example using LEADTOOLS 16.5's .NET interface to mimick the sketch effect tutorial mentioned above.  It uses the InvertCommand, MinimumCommand, CombineCommand, RemapIntensityCommand, ColorSeparateCommand, ColorMergeCommand

Another related demo that might be of interest is one about doing layers and implementing transparency: http://support.leadtools...rums/30245/ShowPost.aspx
File Attachment(s):
NET - v16 - Sketch Effect.zip (254kb) downloaded 127 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, September 29, 2017 10:52:07 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 28 time(s) in 28 post(s)

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract folder to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.
File Attachment(s):
CS_SketchEffect.zip (12kb) downloaded 113 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.060 seconds.