logical indexing 3d array with 2d array
Mostrar comentarios más antiguos
how can i set the values of my matrix to a certain rgb value given a mask ?
image_a; %(640x480x3) uint8
mask; %(640x480x1) logical mat
image_a(mask) = cv::RGB(255,200,0);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!