MATLAB Answers

0

Grouping small pixels to make larger usable cells.

Asked by Obi Carwood on 17 May 2019 at 23:29
Latest activity Commented on by Obi Carwood on 19 May 2019 at 6:46
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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 18 May 2019 at 1:33
 Accepted Answer

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

  1 Comment

Thanks mate, I'll give it a go.

Sign in to comment.