Azzera filtri
Azzera filtri

solarize

2 visualizzazioni (ultimi 30 giorni)
maha sandhya
maha sandhya il 24 Feb 2012
how to solarize an image in matlab

Risposte (1)

Bjorn Gustavsson
Bjorn Gustavsson il 24 Feb 2012
Then it should just be to generate the gray-level (or separate R, G and B level) mappings that take you from 0-1 to 0-1.
qdSolarize = @(Igray) (1-0.7*sin((0.2+linspace(0,0.8,1001)*pi)).^8)
Isolarized = qdSolarize(I);
You'd have to fidget around with the mapping till you get whatever you want.
HTH.

Categorie

Scopri di più su Solar Power in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by