Hi,Someone plz help me with project: Object,face and text recognition

1 view (last 30 days)
Object,face and text recognition

Answers (1)

Walter Roberson
Walter Roberson on 25 Jan 2016
  3 Comments
Walter Roberson
Walter Roberson on 25 Jan 2016
Too vague. We have no idea what is in mserConnComp or what the rest of line 66 is.
My most immediate speculation would be that mserConnComp might have ended up being all 0.
Pawel Kleczek
Pawel Kleczek on 9 Dec 2016
Edited: Pawel Kleczek on 9 Dec 2016
If you'll use eg. single datatype for pixel indexes, than you'll get numerical errors similar to the one you've presented when performing the conversion ind2sub.
Minimal working example:
image of size [5860, 5091] we have the following problem: 16779030 (single) is converted to [1849, 2.864000244140625e+03] (double)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!