writing into an image does not work as expected
Ältere Kommentare anzeigen
newImage = ones(10, 10, 0)
newImage(1, 1, :) = [37, 49, 40];
- > the pixel at position 1, 1 is displayed white instead of green.
This is just an example, actually i need to write part of a processed image into a new image.
it looks kind of this:
newImage(startX:endX, startY:endY, :) = processedImage;
if i check the value for newImage(1, 1) it is correctly set to [27, 49, 40]
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrox Hardware finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!