| Author |
Comment/Response |
Daniele Lupo
|
10/22/07 09:47am
image = Import["image.png"]
This command import the image as a raster graphics. To obtain data, you must extract them.
imageData = image[[1,1]];
After this, you obtain a matrix, which elements are single numbers if the image is in grayscale, and an RGB triplet if image is coloured. Having this matrix, you can manipulate it with your formula.
URL: , |
|