Effacer les filtres
Effacer les filtres

spilit an image into two image

2 vues (au cours des 30 derniers jours)
bkshn
bkshn le 2 Juil 2015
Hello
I have imageA, right now I want to have two image (Image B and Image C) from Image A.
so that odd rows of Image A goes to Image B , and even rows of image A goes to Image C.
thanks for your answers

Réponse acceptée

Guillaume
Guillaume le 2 Juil 2015
This is very simple matrix indexing:
ImageB = ImageA(1:2:end, :, :);
ImageC = ImageA(2:2:end, :, :);

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by