Set ROIs with external structure.

Change-Id: I91d44c9bc68745912598bcba70f4650e2fbf4616