[Scilab-users] image insertion using scicv
TanCL
tanchinluh at gmail.com
Thu Dec 3 02:16:07 CET 2020
I believe both modules treat the image differently, scicv treat the image as
OpenCV object, while IPCV import image as Scilab matrix.
so when you try to implement a small image into a part of a big image in
IPCV, you could simply using Scilab way, say A is 256x256x3, and B is
64x64x3, u can use the assignment such as A(1:64,1:64,:) = B;
e,g:
--> S = imread('linear.png');
--> S2 = rand(64,64,3).*255;
--> S2 = uint8(S2);
--> S(1:64,1:64,:) = S2;
--> imshow(S2);
--> imshow(S);
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list