Problem with "roipoly" MATLAB function.

I am using following line in my code but roipoly takes endless time to run and shows no output. I have watch tutorials over it where it runs within a second.
Please guide me to resolve the issue.
x=imread('balls.jpg');
region=roipoly(x)

Answers (0)

Tags

Asked:

on 23 Jan 2020

Commented:

on 14 Apr 2021

Community Treasure Hunt

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

Start Hunting!