imread implementation file [closed]

asked 2014-03-09 04:32:34 -0500

Igoen gravatar image

updated 2020-09-26 13:44:25 -0500

Good day! Im study opencv (SIFT and SURF methods). First of all i have to load image

Mat img_1 = imread(.....);

Where is imread implementation ? How its work ? I want to see source code of this method, cuz i cant get thing how its work without implementation. I think its "Integral view of image". But if i want to use it, i have to know how its work. Sure, im using opencv without commercial targets.

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective and argumentative by sturkmen
close date 2020-09-26 13:44:48.436452



looking at the imread src won't help you much, imho.

instead, have a look at the feature2d tutorials

berak gravatar imageberak ( 2014-03-09 06:45:31 -0500 )edit

berak, thx for answer. i sew this tutorials, and btw src really couldnt help me :( can u tell me, in whick representation the image is stored ? i loaded img in Qt Creator:

QImage image(filename);

representation(data) = 0x6ba6b6e0

And loaded with opencv imread:

Mat img_1 = imread(filename, CV_LOAD_IMAGE_COLOR);

representation(data) = 0x0000000000389810

Representation of images is different. How i can conver my QT representation to cv::Mat representation ? I have to do this cuz i dont know how is work imread. i think that link can help me and in particular

Igoen gravatar imageIgoen ( 2014-03-09 15:41:32 -0500 )edit