Hi,Someone plz help me with project: Object,face and text recognition
1 view (last 30 days)
Show older comments
Object,face and text recognition
0 Comments
Answers (1)
Walter Roberson
on 25 Jan 2016
3 Comments
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
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)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!