From: Sprinceana on
Hi everyone!

I'm facing a problem using brighten function in matlab which provides me to darken or lighter a colormap.

load flujet
image(X)
colormap(jet)

Here is a colormap.

I don't know in fact how I can use function brighten to my colormap.

I look in :

>>help brighten

But I cannot figure out how to do.
From: arun on
On Sep 19, 9:07 am, "Sprinceana " <mihai...(a)yahoo.com> wrote:
> Hi everyone!
>
> I'm facing a problem using brighten function in matlab which provides me to darken or lighter a colormap.
>
> load flujet
> image(X)
> colormap(jet)
>
> Here is a colormap.
>
> I don't know in fact how I can use function brighten  to my colormap.
>
> I look in :
>
> >>help brighten
>
> But I cannot figure out how to do.

it can not be more simple than that to understand...

-1<=beta<=1

brighten(1) is the maximum
to restore %immediately followed by a brighten statement
brighten(-1) % -(the same value)
then to darken
brighten(-1)

best, arun.
From: Sprinceana on
Thanks arun!

Best wishes,

Michael