Solved

Where to find a curve control like the one in Photoshop (ctrl-M) for C++ ???

Posted on 2002-07-29
2
243 Views
Last Modified: 2013-11-20
Hello,

I need to implement something similar to filters for a
bitmap application I am developing. The ideal control
would be something like Photoshop is using. It displays
a graph and the user can alter the curve, change its slope,
origin, ending and what not... That what I need but I have
been unable to find any such control!!!

the basic idea if to allow the user to specify that
below such pixel value (0-255), all pixels should be = y.
He sould also be able to specify than above a certain value
all pixel should be = y. And in between those min and max
the pixel should follow a curve so that if its value is
x, it will be replaced by f(x), where f is defined by the
control and the curve the user "draws"...

Do you know of any I can have control that is behaving just
like the one in photoshop (free hopefully) and any doc
on how to implement one?

thanks for any information, such a control would simplify
the user interface and make the software that more
attractive ;-)



0
Comment
Question by:aquila98
2 Comments
 
LVL 12

Accepted Solution

by:
migel earned 100 total points
ID: 7185463
hi! can you implement code from this article
http://www.codeguru.com/gdi/Spline.html
0
 
LVL 2

Author Comment

by:aquila98
ID: 7185609
Thanks,

with this I was able to bet a working demo and work from there :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
windows 10 how make picture as desktop background 2 58
Smart Camera scanning and reading information 3 100
zeroFront challenge 7 80
Annoying "thing" blocks my view 4 83
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now