Grouping small pixels to make larger usable cells.

I have a simple rgb array of no more than 5 distinct colours. I wish to apply cellular automata to this array, however I cannot as the pixels are way to small to act as my cells. Is there any way to group, lets say, 20 x 20 pixels to represent one cell for my cellular automata?

 채택된 답변

Image Analyst
Image Analyst 2019년 5월 18일

1 개 추천

Try superpixels(). Or try my attached RGB classifier demo. Or try my blockproc() demo.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Biological and Health Sciences에 대해 자세히 알아보기

질문:

2019년 5월 17일

댓글:

2019년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by