Solved

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

Posted on 2002-07-29
2
241 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

13 Experts available now in Live!

Get 1:1 Help Now