Solved

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

Posted on 2002-07-29
2
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

696 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