Dear all,
I read an RGB image with ScCV imread:
img = imread("path_to_image",CV_LOAD_IMAGE_COLOR);
The result is an image of type: CV_8UC3
I can display the image pixel values with: disp(img)
The image itself is of type: Mat (Mlist)
So far, so clear.
Now, I want to extract a single plane..lets say the R-plane
I would normally do something like this:
R = img( : , : , 1)
But for some reason it does not work.
It seems that one can only extract pixel values from all 3 planes
altogether.....If so, why?
So the question comes down to: How to extract/change a single pixel
value of a single plane in SciCV ?
Thank you,
Philipp
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users