Bitmap/Histogram: Difference between revisions
Content added Content deleted
Line 787: | Line 787: | ||
} |
} |
||
</lang> |
</lang> |
||
Example: <br> |
|||
<div> |
|||
[[File:Input.jpg|200px|thumb|left]] |
|||
[[File:Output.jpg|200px|thumb|center]] |
|||
</div> |
|||
<br> |
|||
<div> |
|||
<i style="text-align: center;"> |
|||
The Image on the left is read in and the average luminosity calculated.<br> |
|||
Every pixel darker than average is painted black; brighter painted white.<br> |
|||
The black and white image on the right is then saved to the file system.<br> |
|||
</i> |
|||
</div> |
|||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |