YNT: [OpenCV] Doubts

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

YNT: [OpenCV] Doubts

opencv-users mailing list
Use \\ or /

Windows Phone'umdan gönderildi
________________________________
Kimden: Deepak Achar [hidden email] [OpenCV]<mailto:[hidden email]>
Gönderme tarihi: ‎4.‎1.‎2016 14:59
Kime: [hidden email]<mailto:[hidden email]>
Konu: Re: [OpenCV] Doubts

Hi,
String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";

how to give a path name here. Is this right...

    On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:


     #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}
To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts


Use   img = imread("path/image.jpg",-1); From: [hidden email] [mailto:[hidden email]]
Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts   Dear Sir, I want to display an image from folder containing several images. Please me out this soon. Thanks in advance. Thanks and regards-Deepak
      #yiv4742566582 #yiv4742566582 -- #yiv4742566582ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4742566582 #yiv4742566582ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4742566582 #yiv4742566582ygrp-mkp #yiv4742566582hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4742566582 #yiv4742566582ygrp-mkp #yiv4742566582ads {margin-bottom:10px;}#yiv4742566582 #yiv4742566582ygrp-mkp .yiv4742566582ad {padding:0 0;}#yiv4742566582 #yiv4742566582ygrp-mkp .yiv4742566582ad p {margin:0;}#yiv4742566582 #yiv4742566582ygrp-mkp .yiv4742566582ad a {color:#0000ff;text-decoration:none;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ygrp-lc {font-family:Arial;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ygrp-lc #yiv4742566582hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ygrp-lc .yiv4742566582ad {margin-bottom:10px;padding:0 0;}#yiv4742566582 #yiv4742566582actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4742566582 #yiv4742566582activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4742566582 #yiv4742566582activity span {font-weight:700;}#yiv4742566582 #yiv4742566582activity span:first-child {text-transform:uppercase;}#yiv4742566582 #yiv4742566582activity span a {color:#5085b6;text-decoration:none;}#yiv4742566582 #yiv4742566582activity span span {color:#ff7900;}#yiv4742566582 #yiv4742566582activity span .yiv4742566582underline {text-decoration:underline;}#yiv4742566582 .yiv4742566582attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4742566582 .yiv4742566582attach div a {text-decoration:none;}#yiv4742566582 .yiv4742566582attach img {border:none;padding-right:5px;}#yiv4742566582 .yiv4742566582attach label {display:block;margin-bottom:5px;}#yiv4742566582 .yiv4742566582attach label a {text-decoration:none;}#yiv4742566582 blockquote {margin:0 0 0 4px;}#yiv4742566582 .yiv4742566582bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4742566582 .yiv4742566582bold a {text-decoration:none;}#yiv4742566582 dd.yiv4742566582last p a {font-family:Verdana;font-weight:700;}#yiv4742566582 dd.yiv4742566582last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4742566582 dd.yiv4742566582last p span.yiv4742566582yshortcuts {margin-right:0;}#yiv4742566582 div.yiv4742566582attach-table div div a {text-decoration:none;}#yiv4742566582 div.yiv4742566582attach-table {width:400px;}#yiv4742566582 div.yiv4742566582file-title a, #yiv4742566582 div.yiv4742566582file-title a:active, #yiv4742566582 div.yiv4742566582file-title a:hover, #yiv4742566582 div.yiv4742566582file-title a:visited {text-decoration:none;}#yiv4742566582 div.yiv4742566582photo-title a, #yiv4742566582 div.yiv4742566582photo-title a:active, #yiv4742566582 div.yiv4742566582photo-title a:hover, #yiv4742566582 div.yiv4742566582photo-title a:visited {text-decoration:none;}#yiv4742566582 div#yiv4742566582ygrp-mlmsg #yiv4742566582ygrp-msg p a span.yiv4742566582yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4742566582 .yiv4742566582green {color:#628c2a;}#yiv4742566582 .yiv4742566582MsoNormal {margin:0 0 0 0;}#yiv4742566582 o {font-size:0;}#yiv4742566582 #yiv4742566582photos div {float:left;width:72px;}#yiv4742566582 #yiv4742566582photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv4742566582 #yiv4742566582photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4742566582 #yiv4742566582reco-category {font-size:77%;}#yiv4742566582 #yiv4742566582reco-desc {font-size:77%;}#yiv4742566582 .yiv4742566582replbq {margin:4px;}#yiv4742566582 #yiv4742566582ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4742566582 #yiv4742566582ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4742566582 #yiv4742566582ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4742566582 #yiv4742566582ygrp-mlmsg select, #yiv4742566582 input, #yiv4742566582 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4742566582 #yiv4742566582ygrp-mlmsg pre, #yiv4742566582 code {font:115% monospace;}#yiv4742566582 #yiv4742566582ygrp-mlmsg * {line-height:1.22em;}#yiv4742566582 #yiv4742566582ygrp-mlmsg #yiv4742566582logo {padding-bottom:10px;}#yiv4742566582 #yiv4742566582ygrp-msg p a {font-family:Verdana;}#yiv4742566582 #yiv4742566582ygrp-msg p#yiv4742566582attach-count span {color:#1E66AE;font-weight:700;}#yiv4742566582 #yiv4742566582ygrp-reco #yiv4742566582reco-head {color:#ff7900;font-weight:700;}#yiv4742566582 #yiv4742566582ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ov li a {font-size:130%;text-decoration:none;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4742566582 #yiv4742566582ygrp-sponsor #yiv4742566582ov ul {margin:0;padding:0 0 0 8px;}#yiv4742566582 #yiv4742566582ygrp-text {font-family:Georgia;}#yiv4742566582 #yiv4742566582ygrp-text p {margin:0 0 1em 0;}#yiv4742566582 #yiv4742566582ygrp-text tt {font-size:120%;}#yiv4742566582 #yiv4742566582ygrp-vital ul li:last-child {border-right:none !important;}#yiv4742566582


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: YNT: [OpenCV] Doubts

opencv-users mailing list
Is that is correct syntax. I have given that one itself. Its not working actually...

    On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     Use \\ or /

Windows Phone'umdan gönderildiKimden:Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:‎4.‎1.‎2016 14:59
Kime:[hidden email]
Konu:Re: [OpenCV] Doubts

 Hi,
String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";

how to give a path name here. Is this right...

On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:


 #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}
To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 
Use   img =imread("path/image.jpg",-1); From: [hidden email] [mailto:[hidden email]]
Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts   Dear Sir, I want to display an image from folder containing several images. Please me out this soon. Thanks in advance. Thanks and regards-Deepak


  #yiv4614590673 #yiv4614590673 -- #yiv4614590673ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4614590673 #yiv4614590673ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4614590673 #yiv4614590673ygrp-mkp #yiv4614590673hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4614590673 #yiv4614590673ygrp-mkp #yiv4614590673ads {margin-bottom:10px;}#yiv4614590673 #yiv4614590673ygrp-mkp .yiv4614590673ad {padding:0 0;}#yiv4614590673 #yiv4614590673ygrp-mkp .yiv4614590673ad p {margin:0;}#yiv4614590673 #yiv4614590673ygrp-mkp .yiv4614590673ad a {color:#0000ff;text-decoration:none;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ygrp-lc {font-family:Arial;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ygrp-lc #yiv4614590673hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ygrp-lc .yiv4614590673ad {margin-bottom:10px;padding:0 0;}#yiv4614590673 #yiv4614590673actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4614590673 #yiv4614590673activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4614590673 #yiv4614590673activity span {font-weight:700;}#yiv4614590673 #yiv4614590673activity span:first-child {text-transform:uppercase;}#yiv4614590673 #yiv4614590673activity span a {color:#5085b6;text-decoration:none;}#yiv4614590673 #yiv4614590673activity span span {color:#ff7900;}#yiv4614590673 #yiv4614590673activity span .yiv4614590673underline {text-decoration:underline;}#yiv4614590673 .yiv4614590673attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4614590673 .yiv4614590673attach div a {text-decoration:none;}#yiv4614590673 .yiv4614590673attach img {border:none;padding-right:5px;}#yiv4614590673 .yiv4614590673attach label {display:block;margin-bottom:5px;}#yiv4614590673 .yiv4614590673attach label a {text-decoration:none;}#yiv4614590673 blockquote {margin:0 0 0 4px;}#yiv4614590673 .yiv4614590673bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4614590673 .yiv4614590673bold a {text-decoration:none;}#yiv4614590673 dd.yiv4614590673last p a {font-family:Verdana;font-weight:700;}#yiv4614590673 dd.yiv4614590673last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4614590673 dd.yiv4614590673last p span.yiv4614590673yshortcuts {margin-right:0;}#yiv4614590673 div.yiv4614590673attach-table div div a {text-decoration:none;}#yiv4614590673 div.yiv4614590673attach-table {width:400px;}#yiv4614590673 div.yiv4614590673file-title a, #yiv4614590673 div.yiv4614590673file-title a:active, #yiv4614590673 div.yiv4614590673file-title a:hover, #yiv4614590673 div.yiv4614590673file-title a:visited {text-decoration:none;}#yiv4614590673 div.yiv4614590673photo-title a, #yiv4614590673 div.yiv4614590673photo-title a:active, #yiv4614590673 div.yiv4614590673photo-title a:hover, #yiv4614590673 div.yiv4614590673photo-title a:visited {text-decoration:none;}#yiv4614590673 div#yiv4614590673ygrp-mlmsg #yiv4614590673ygrp-msg p a span.yiv4614590673yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4614590673 .yiv4614590673green {color:#628c2a;}#yiv4614590673 .yiv4614590673MsoNormal {margin:0 0 0 0;}#yiv4614590673 o {font-size:0;}#yiv4614590673 #yiv4614590673photos div {float:left;width:72px;}#yiv4614590673 #yiv4614590673photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv4614590673 #yiv4614590673photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4614590673 #yiv4614590673reco-category {font-size:77%;}#yiv4614590673 #yiv4614590673reco-desc {font-size:77%;}#yiv4614590673 .yiv4614590673replbq {margin:4px;}#yiv4614590673 #yiv4614590673ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4614590673 #yiv4614590673ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4614590673 #yiv4614590673ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4614590673 #yiv4614590673ygrp-mlmsg select, #yiv4614590673 input, #yiv4614590673 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4614590673 #yiv4614590673ygrp-mlmsg pre, #yiv4614590673 code {font:115% monospace;}#yiv4614590673 #yiv4614590673ygrp-mlmsg * {line-height:1.22em;}#yiv4614590673 #yiv4614590673ygrp-mlmsg #yiv4614590673logo {padding-bottom:10px;}#yiv4614590673 #yiv4614590673ygrp-msg p a {font-family:Verdana;}#yiv4614590673 #yiv4614590673ygrp-msg p#yiv4614590673attach-count span {color:#1E66AE;font-weight:700;}#yiv4614590673 #yiv4614590673ygrp-reco #yiv4614590673reco-head {color:#ff7900;font-weight:700;}#yiv4614590673 #yiv4614590673ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ov li a {font-size:130%;text-decoration:none;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4614590673 #yiv4614590673ygrp-sponsor #yiv4614590673ov ul {margin:0;padding:0 0 0 8px;}#yiv4614590673 #yiv4614590673ygrp-text {font-family:Georgia;}#yiv4614590673 #yiv4614590673ygrp-text p {margin:0 0 1em 0;}#yiv4614590673 #yiv4614590673ygrp-text tt {font-size:120%;}#yiv4614590673 #yiv4614590673ygrp-vital ul li:last-child {border-right:none !important;}#yiv4614590673

 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: YNT: [OpenCV] Doubts

opencv-users mailing list
#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "C:\\Users\\Public\\Pictures\\Sample Pictures\\*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
            waitKey(); // wait for keypress
        }
    }
    return 0;
}To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:03:39 +0000
Subject: Re: YNT: [OpenCV] Doubts














 

 



 


   
     
     
     
Is that is correct syntax. I have given that one itself. Its not working actually...

    On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

 
 



 


   
     
     
     



Use \\ or /

Windows Phone'umdan gönderildi



Kimden:
Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:
‎4.‎1.‎2016 14:59
Kime:
[hidden email]
Konu:
Re: [OpenCV] Doubts


 





Hi,


String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";



how to give a path name here. Is this right...






On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:





 





#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}




To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 




Use   img =
imread("path/image.jpg",-1);
 


From: [hidden email] [mailto:[hidden email]]

Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts


 
 





Dear Sir,


 


I want to display an image from folder containing several images. Please me out this soon. Thanks in advance.


 


Thanks and regards


-Deepak









































   
     

   
   




     


   
     

   
   






       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: YNT: [OpenCV] Doubts

opencv-users mailing list
OK thanks... I got a display of first image there. suppose I want to select the specified image means?

    On Monday, 4 January 2016 7:31 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "C:\\Users\\Public\\Pictures\\Sample Pictures\\*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
            waitKey(); // wait for keypress
        }
    }
    return 0;
}To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:03:39 +0000
Subject: Re: YNT: [OpenCV] Doubts

    
Is that is correct syntax. I have given that one itself. Its not working actually...

    On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     Use \\ or /

Windows Phone'umdan gönderildiKimden:Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:‎4.‎1.‎2016 14:59
Kime:[hidden email]
Konu:Re: [OpenCV] Doubts

 Hi,
String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";

how to give a path name here. Is this right...

On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:


 #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}
To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 
Use   img =imread("path/image.jpg",-1); From: [hidden email] [mailto:[hidden email]]
Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts   Dear Sir, I want to display an image from folder containing several images. Please me out this soon. Thanks in advance. Thanks and regards-Deepak


 

   
      #yiv4427264162 #yiv4427264162 -- #yiv4427264162ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4427264162 #yiv4427264162ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4427264162 #yiv4427264162ygrp-mkp #yiv4427264162hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4427264162 #yiv4427264162ygrp-mkp #yiv4427264162ads {margin-bottom:10px;}#yiv4427264162 #yiv4427264162ygrp-mkp .yiv4427264162ad {padding:0 0;}#yiv4427264162 #yiv4427264162ygrp-mkp .yiv4427264162ad p {margin:0;}#yiv4427264162 #yiv4427264162ygrp-mkp .yiv4427264162ad a {color:#0000ff;text-decoration:none;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ygrp-lc {font-family:Arial;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ygrp-lc #yiv4427264162hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ygrp-lc .yiv4427264162ad {margin-bottom:10px;padding:0 0;}#yiv4427264162 #yiv4427264162actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4427264162 #yiv4427264162activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4427264162 #yiv4427264162activity span {font-weight:700;}#yiv4427264162 #yiv4427264162activity span:first-child {text-transform:uppercase;}#yiv4427264162 #yiv4427264162activity span a {color:#5085b6;text-decoration:none;}#yiv4427264162 #yiv4427264162activity span span {color:#ff7900;}#yiv4427264162 #yiv4427264162activity span .yiv4427264162underline {text-decoration:underline;}#yiv4427264162 .yiv4427264162attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4427264162 .yiv4427264162attach div a {text-decoration:none;}#yiv4427264162 .yiv4427264162attach img {border:none;padding-right:5px;}#yiv4427264162 .yiv4427264162attach label {display:block;margin-bottom:5px;}#yiv4427264162 .yiv4427264162attach label a {text-decoration:none;}#yiv4427264162 blockquote {margin:0 0 0 4px;}#yiv4427264162 .yiv4427264162bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4427264162 .yiv4427264162bold a {text-decoration:none;}#yiv4427264162 dd.yiv4427264162last p a {font-family:Verdana;font-weight:700;}#yiv4427264162 dd.yiv4427264162last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4427264162 dd.yiv4427264162last p span.yiv4427264162yshortcuts {margin-right:0;}#yiv4427264162 div.yiv4427264162attach-table div div a {text-decoration:none;}#yiv4427264162 div.yiv4427264162attach-table {width:400px;}#yiv4427264162 div.yiv4427264162file-title a, #yiv4427264162 div.yiv4427264162file-title a:active, #yiv4427264162 div.yiv4427264162file-title a:hover, #yiv4427264162 div.yiv4427264162file-title a:visited {text-decoration:none;}#yiv4427264162 div.yiv4427264162photo-title a, #yiv4427264162 div.yiv4427264162photo-title a:active, #yiv4427264162 div.yiv4427264162photo-title a:hover, #yiv4427264162 div.yiv4427264162photo-title a:visited {text-decoration:none;}#yiv4427264162 div#yiv4427264162ygrp-mlmsg #yiv4427264162ygrp-msg p a span.yiv4427264162yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4427264162 .yiv4427264162green {color:#628c2a;}#yiv4427264162 .yiv4427264162MsoNormal {margin:0 0 0 0;}#yiv4427264162 o {font-size:0;}#yiv4427264162 #yiv4427264162photos div {float:left;width:72px;}#yiv4427264162 #yiv4427264162photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv4427264162 #yiv4427264162photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4427264162 #yiv4427264162reco-category {font-size:77%;}#yiv4427264162 #yiv4427264162reco-desc {font-size:77%;}#yiv4427264162 .yiv4427264162replbq {margin:4px;}#yiv4427264162 #yiv4427264162ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4427264162 #yiv4427264162ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4427264162 #yiv4427264162ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4427264162 #yiv4427264162ygrp-mlmsg select, #yiv4427264162 input, #yiv4427264162 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4427264162 #yiv4427264162ygrp-mlmsg pre, #yiv4427264162 code {font:115% monospace;}#yiv4427264162 #yiv4427264162ygrp-mlmsg * {line-height:1.22em;}#yiv4427264162 #yiv4427264162ygrp-mlmsg #yiv4427264162logo {padding-bottom:10px;}#yiv4427264162 #yiv4427264162ygrp-msg p a {font-family:Verdana;}#yiv4427264162 #yiv4427264162ygrp-msg p#yiv4427264162attach-count span {color:#1E66AE;font-weight:700;}#yiv4427264162 #yiv4427264162ygrp-reco #yiv4427264162reco-head {color:#ff7900;font-weight:700;}#yiv4427264162 #yiv4427264162ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ov li a {font-size:130%;text-decoration:none;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4427264162 #yiv4427264162ygrp-sponsor #yiv4427264162ov ul {margin:0;padding:0 0 0 8px;}#yiv4427264162 #yiv4427264162ygrp-text {font-family:Georgia;}#yiv4427264162 #yiv4427264162ygrp-text p {margin:0 0 1em 0;}#yiv4427264162 #yiv4427264162ygrp-text tt {font-size:120%;}#yiv4427264162 #yiv4427264162ygrp-vital ul li:last-child {border-right:none !important;}#yiv4427264162

 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: YNT: [OpenCV] Doubts

opencv-users mailing list
You have to press a button, and then the current window will close, and a new window will appear if you have more than one files with .jpg extension.

To: [hidden email]
From: [hidden email]
Date: Tue, 5 Jan 2016 03:53:14 +0000
Subject: Re: YNT: [OpenCV] Doubts














 

 



 


   
     
     
     
OK thanks... I got a display of first image there. suppose I want to select the specified image means?

    On Monday, 4 January 2016 7:31 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

 
 



 


   
     
     
     

#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "C:\\Users\\Public\\Pictures\\Sample Pictures\\*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
            waitKey(); // wait for keypress        }
    }
    return 0;
}To: [hidden email]: [hidden email]: Mon, 4 Jan 2016 13:03:39 +0000Subject: Re: YNT: [OpenCV] Doubts












 

 



 


   
     
     
      Is that is correct syntax. I have given that one itself. Its not working actually...     On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:  
 



 


   
     
     
     



Use \\ or /

Windows Phone'umdan gönderildi



Kimden:
Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:
‎4.‎1.‎2016 14:59
Kime:
[hidden email]
Konu:
Re: [OpenCV] Doubts


 





Hi,


String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";



how to give a path name here. Is this right...






On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:





 





#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}




To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 




Use   img =
imread("path/image.jpg",-1);
 


From: [hidden email] [mailto:[hidden email]]

Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts


 
 





Dear Sir,


 


I want to display an image from folder containing several images. Please me out this soon. Thanks in advance.


 


Thanks and regards


-Deepak









































   
     

   
   


     

   
     

   
   






       


   
     

   
   




     


   
     

   
   






       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: YNT: [OpenCV] Doubts

opencv-users mailing list
Yes I have done that. I am getting display of all images. I want to select a particular image in that folder and display that image only. Like in MATLAB we are doing that right. I don't want other images. I am comparing two images in different folders.

    On Tuesday, 5 January 2016 3:45 PM, "Fábián Kristóf - Szabolcs [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     You have to press a button, and then the current window will close, and a new window will appear if you have more than one files with .jpg extension.

To: [hidden email]
From: [hidden email]
Date: Tue, 5 Jan 2016 03:53:14 +0000
Subject: Re: YNT: [OpenCV] Doubts

    
OK thanks... I got a display of first image there. suppose I want to select the specified image means?

    On Monday, 4 January 2016 7:31 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "C:\\Users\\Public\\Pictures\\Sample Pictures\\*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
            waitKey(); // wait for keypress
        }
    }
    return 0;
}To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:03:39 +0000
Subject: Re: YNT: [OpenCV] Doubts

    
Is that is correct syntax. I have given that one itself. Its not working actually...

    On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:
 

     Use \\ or /

Windows Phone'umdan gönderildiKimden:Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:‎4.‎1.‎2016 14:59
Kime:[hidden email]
Konu:Re: [OpenCV] Doubts

 Hi,
String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";

how to give a path name here. Is this right...

On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:


 #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}
To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 
Use   img =imread("path/image.jpg",-1); From: [hidden email] [mailto:[hidden email]]
Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts   Dear Sir, I want to display an image from folder containing several images. Please me out this soon. Thanks in advance. Thanks and regards-Deepak


 

   
     

   
      #yiv6367031272 #yiv6367031272 -- #yiv6367031272ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv6367031272 #yiv6367031272ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv6367031272 #yiv6367031272ygrp-mkp #yiv6367031272hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv6367031272 #yiv6367031272ygrp-mkp #yiv6367031272ads {margin-bottom:10px;}#yiv6367031272 #yiv6367031272ygrp-mkp .yiv6367031272ad {padding:0 0;}#yiv6367031272 #yiv6367031272ygrp-mkp .yiv6367031272ad p {margin:0;}#yiv6367031272 #yiv6367031272ygrp-mkp .yiv6367031272ad a {color:#0000ff;text-decoration:none;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ygrp-lc {font-family:Arial;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ygrp-lc #yiv6367031272hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ygrp-lc .yiv6367031272ad {margin-bottom:10px;padding:0 0;}#yiv6367031272 #yiv6367031272actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv6367031272 #yiv6367031272activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv6367031272 #yiv6367031272activity span {font-weight:700;}#yiv6367031272 #yiv6367031272activity span:first-child {text-transform:uppercase;}#yiv6367031272 #yiv6367031272activity span a {color:#5085b6;text-decoration:none;}#yiv6367031272 #yiv6367031272activity span span {color:#ff7900;}#yiv6367031272 #yiv6367031272activity span .yiv6367031272underline {text-decoration:underline;}#yiv6367031272 .yiv6367031272attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv6367031272 .yiv6367031272attach div a {text-decoration:none;}#yiv6367031272 .yiv6367031272attach img {border:none;padding-right:5px;}#yiv6367031272 .yiv6367031272attach label {display:block;margin-bottom:5px;}#yiv6367031272 .yiv6367031272attach label a {text-decoration:none;}#yiv6367031272 blockquote {margin:0 0 0 4px;}#yiv6367031272 .yiv6367031272bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv6367031272 .yiv6367031272bold a {text-decoration:none;}#yiv6367031272 dd.yiv6367031272last p a {font-family:Verdana;font-weight:700;}#yiv6367031272 dd.yiv6367031272last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv6367031272 dd.yiv6367031272last p span.yiv6367031272yshortcuts {margin-right:0;}#yiv6367031272 div.yiv6367031272attach-table div div a {text-decoration:none;}#yiv6367031272 div.yiv6367031272attach-table {width:400px;}#yiv6367031272 div.yiv6367031272file-title a, #yiv6367031272 div.yiv6367031272file-title a:active, #yiv6367031272 div.yiv6367031272file-title a:hover, #yiv6367031272 div.yiv6367031272file-title a:visited {text-decoration:none;}#yiv6367031272 div.yiv6367031272photo-title a, #yiv6367031272 div.yiv6367031272photo-title a:active, #yiv6367031272 div.yiv6367031272photo-title a:hover, #yiv6367031272 div.yiv6367031272photo-title a:visited {text-decoration:none;}#yiv6367031272 div#yiv6367031272ygrp-mlmsg #yiv6367031272ygrp-msg p a span.yiv6367031272yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv6367031272 .yiv6367031272green {color:#628c2a;}#yiv6367031272 .yiv6367031272MsoNormal {margin:0 0 0 0;}#yiv6367031272 o {font-size:0;}#yiv6367031272 #yiv6367031272photos div {float:left;width:72px;}#yiv6367031272 #yiv6367031272photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv6367031272 #yiv6367031272photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv6367031272 #yiv6367031272reco-category {font-size:77%;}#yiv6367031272 #yiv6367031272reco-desc {font-size:77%;}#yiv6367031272 .yiv6367031272replbq {margin:4px;}#yiv6367031272 #yiv6367031272ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv6367031272 #yiv6367031272ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv6367031272 #yiv6367031272ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv6367031272 #yiv6367031272ygrp-mlmsg select, #yiv6367031272 input, #yiv6367031272 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv6367031272 #yiv6367031272ygrp-mlmsg pre, #yiv6367031272 code {font:115% monospace;}#yiv6367031272 #yiv6367031272ygrp-mlmsg * {line-height:1.22em;}#yiv6367031272 #yiv6367031272ygrp-mlmsg #yiv6367031272logo {padding-bottom:10px;}#yiv6367031272 #yiv6367031272ygrp-msg p a {font-family:Verdana;}#yiv6367031272 #yiv6367031272ygrp-msg p#yiv6367031272attach-count span {color:#1E66AE;font-weight:700;}#yiv6367031272 #yiv6367031272ygrp-reco #yiv6367031272reco-head {color:#ff7900;font-weight:700;}#yiv6367031272 #yiv6367031272ygrp-reco {margin-bottom:20px;padding:0px;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ov li a {font-size:130%;text-decoration:none;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv6367031272 #yiv6367031272ygrp-sponsor #yiv6367031272ov ul {margin:0;padding:0 0 0 8px;}#yiv6367031272 #yiv6367031272ygrp-text {font-family:Georgia;}#yiv6367031272 #yiv6367031272ygrp-text p {margin:0 0 1em 0;}#yiv6367031272 #yiv6367031272ygrp-text tt {font-size:120%;}#yiv6367031272 #yiv6367031272ygrp-vital ul li:last-child {border-right:none !important;}#yiv6367031272

 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: YNT: [OpenCV] Doubts

opencv-users mailing list
#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{

    String fileName = "C:\\Users\\Public\\Pictures\\Sample Pictures\\theFileYouWant.jpg";
    Mat src = imread(fileName); // open image

    if(src.data)
    {
        imshow( fileName, src ); //the name of the window will be fileName
        waitKey(); // wait for keypress
    }
    return 0;
}

To: [hidden email]
From: [hidden email]
Date: Tue, 5 Jan 2016 10:31:09 +0000
Subject: Re: YNT: [OpenCV] Doubts














 

 



 


   
     
     
     
Yes I have done that. I am getting display of all images. I want to select a particular image in that folder and display that image only. Like in MATLAB we are doing that right. I don't want other images. I am comparing two images in different folders.

    On Tuesday, 5 January 2016 3:45 PM, "Fábián Kristóf - Szabolcs [hidden email] [OpenCV]" <[hidden email]> wrote:
 

 
 



 


   
     
     
     

You have to press a button, and then the current window will close, and a new window will appear if you have more than one files with .jpg extension.To: [hidden email]: [hidden email]: Tue, 5 Jan 2016 03:53:14 +0000Subject: Re: YNT: [OpenCV] Doubts












 

 



 


   
     
     
      OK thanks... I got a display of first image there. suppose I want to select the specified image means?     On Monday, 4 January 2016 7:31 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:  
 



 


   
     
     
     

#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "C:\\Users\\Public\\Pictures\\Sample Pictures\\*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
            waitKey(); // wait for keypress        }
    }
    return 0;
}To: [hidden email]: [hidden email]: Mon, 4 Jan 2016 13:03:39 +0000Subject: Re: YNT: [OpenCV] Doubts












 

 



 


   
     
     
      Is that is correct syntax. I have given that one itself. Its not working actually...     On Monday, 4 January 2016 6:32 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:  
 



 


   
     
     
     



Use \\ or /

Windows Phone'umdan gönderildi



Kimden:
Deepak Achar [hidden email] [OpenCV]
Gönderme tarihi:
‎4.‎1.‎2016 14:59
Kime:
[hidden email]
Konu:
Re: [OpenCV] Doubts


 





Hi,


String folder = "C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\*.jpg";



how to give a path name here. Is this right...






On Monday, 4 January 2016 4:54 PM, "Suleyman Turkmen [hidden email] [OpenCV]" <[hidden email]> wrote:





 





#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"

using namespace cv;
using namespace std;

int main()
{
    vector<String> filenames;
    String folder = "*.jpg"; // you can specify a path and file mask

    glob(folder, filenames);

    for(size_t i = 0; i < filenames.size(); ++i)
    {
        Mat src = imread(filenames[i]); // open image

        if(src.data)
        {
            imshow( filenames[i], src );
        }
    }
    return 0;
}




To: [hidden email]
From: [hidden email]
Date: Mon, 4 Jan 2016 13:08:55 +0200
Subject: RE: [OpenCV] Doubts

 




Use   img =
imread("path/image.jpg",-1);
 


From: [hidden email] [mailto:[hidden email]]

Sent: Monday, January 04, 2016 12:11 PM
To: [hidden email]
Subject: [OpenCV] Doubts


 
 





Dear Sir,


 


I want to display an image from folder containing several images. Please me out this soon. Thanks in advance.


 


Thanks and regards


-Deepak









































   
     

   
   


     

   
     

   
   






       


   
     

   
   


     

   
     

   
   






       


   
     

   
   




     


   
     

   
   






       
Loading...