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

 Akzeptierte Antwort

Guillaume
Guillaume am 2 Jul. 2015

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 2 Jul. 2015

Beantwortet:

am 2 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by