Claude-Alban RANÉLY-VERGÉ-DÉPRÉ
Laser-induced periodic surface structures
...pour l'instant !
Image MEB
"Topographie"
Cahier des charges
Cahier des charges
Appel de la méthode
Info ?
oui
non
Interaction
Ma "solution": le tramage
for each y from top to bottom
for each x from left to right
oldpixel := pixel[x][y]
newpixel := find_closest_palette_color(oldpixel)
pixel[x][y] := newpixel
quant_error := oldpixel - newpixel
pixel[x + 1][y ] := pixel[x + 1][y ] + quant_error * 7 / 16
pixel[x - 1][y + 1] := pixel[x - 1][y + 1] + quant_error * 3 / 16
pixel[x ][y + 1] := pixel[x ][y + 1] + quant_error * 5 / 16
pixel[x + 1][y + 1] := pixel[x + 1][y + 1] + quant_error * 1 / 16avec
niveau de détail croissant
2
16