imread implementation file [closed]

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

Igoen gravatar image

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

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

Comments

2

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 -0600 )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 http://docs.opencv.org/doc/tutorials/features2d/trackingmotion/harris_detector/harris_detector.html#harris-detector and in particular http://docs.opencv.org/_images/math/4bfccbf6ce004b20fa2ece255b9d24406428c280.png

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