MATLAB Answers

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

1 view (last 30 days)
Dhanya Francis
Dhanya Francis on 25 Jan 2016
Edited: Pawel Kleczek on 9 Dec 2016
Object,face and text recognition

Answers (1)

Walter Roberson
Walter Roberson on 25 Jan 2016
Pawel Kleczek
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!

Translated by