Why am i getting this errors below? What does it mean?

2 views (last 30 days)
Attempted to access bbox(3); index out of bounds because numel(bbox)=0.
Error in InitShape (line 18) a = 0.80*bbox(3)/(max(rshape(1:n))-min(rshape(1:n)));
Error in Demo (line 37) test_init_shape = InitShape(bbox,refShape);
  4 Comments
Image Analyst
Image Analyst on 12 Jun 2014
We are all eagerly awaiting the arrival of the Mind Reading Toolbox . Until then you'll need to attach your m-file.

Sign in to comment.

Answers (1)

Roger Wohlwend
Roger Wohlwend on 13 Jun 2014
The error means that bbox is empty. That is why you cannot acces bbox(3).

Community Treasure Hunt

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

Start Hunting!