visoft

explicatii laborator 2

Mar 2nd, 2021
727
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Mat_<uchar>   --> CV_8UC1
  2. Mat_<Vec3b>   --> CV_8UC3
  3.  
  4. Mat_<uchar> dst(256, 256);
  5.  
  6. dst(i, j)
  7.  
  8.  
  9. 1) deschid imaginea cu IMREAD_COLOR
  10. 2) creez 3 imagini destinatie cu tipul uchar. (pt cele 3 plane de culoare)
  11. 3) for i for j
  12.     dst_b(i,j) = src(i,j)[0]  // B G R <- VF LAB 1
  13. 4) 3x imshow("plan rosu", dst_r)
  14.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×