Fw: OpenCV program [2 Attachments]

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Fw: OpenCV program [2 Attachments]

opencv-users mailing list
Please help and suggest me in this regard
Regards
Abhishek


--- On Fri, 8/7/15, Abhishek Tiwari <[hidden email]> wrote:

> From: Abhishek Tiwari <[hidden email]>
> Subject: OpenCV program
> To: [hidden email]
> Date: Friday, August 7, 2015, 2:28 AM
> Hi
>
> Thankful, Now I am able run and display a fundamental opencv
> program and and display an image as well.
>
> Now, the task I have is to convert a file from input format
> to output format
> (The colour intesity of the circle is not the primary
> constraint, but changing the background colour to black is)
> Could you please suggest the code
>
> Regards
> Abhishek
Reply | Threaded
Open this post in threaded view
|

Fw: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Hi

I  am new to opencv.

Suggestions on this task are warmly welcomed.

Regards

Abhishek



Sent from Yahoo Mail on Android

From:"Abhishek Tiwari [hidden email] [OpenCV]" <[hidden email]>
Date:Thu, 20 Aug, 2015 at 2:59 pm
Subject:[OpenCV] Fw: OpenCV program [2 Attachments]

 

[Attachment(s) from Abhishek Tiwari included below]

Please help and suggest me in this regard
Regards
Abhishek

--- On Fri, 8/7/15, Abhishek Tiwari <[hidden email]> wrote:

> From: Abhishek Tiwari <[hidden email]>
> Subject: OpenCV program
> To: [hidden email]
> Date: Friday, August 7, 2015, 2:28 AM
> Hi
>
> Thankful, Now I am able run and display a fundamental opencv
> program and and display an image as well.
>
> Now, the task I have is to convert a file from input format
> to output format
> (The colour intesity of the circle is not the primary
> constraint, but changing the background colour to black is)
> Could you please suggest the code
>
> Regards
> Abhishek



Reply | Threaded
Open this post in threaded view
|

Re: Fw: OpenCV program

opencv-users mailing list




//change a file format by reading it and then saving it in different format. noted by
the extension at the end of the file name, file.jpg, file.tif, file,png      .


#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv/highgui.h>
#include <iostream>


using namespace cv;
using namespace std;




 
         int main()
         {
         // Pictures files loaded, imread, will be changed into a non compressed format:
         //    Mat img = imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);
             Mat img = imread("Fruit_Bat.jpg",CV_LOAD_IMAGE_COLOR);
//        Mat img = imread("./0p/Fruit_Bat.jpg", CV_LOAD_IMAGE_UNCHANGED);
//        Mat img = imread("Fruit_Bat.jpg", 1);
//        Mat img = imread("./0p/Fruit_Bat.jpg", 1);
//        Mat img = imread("/home/keghn/OpenCVpro/Fruit_Bat.jpg", 1);




      const char titlelll[] = "Fruit_Bat.tif";// tif is lossless compression.


          imwrite (titlelll, img);// stored on hard drive as tiff file.
//  imwrite ("Fruit_Bat.tif", img);// stored on hard drive as tiff file.
//  imwrite ("Fruit_Bat.png", img);// png is a lossless compression.
//  imwrite ("Fruit_Bat.bmp", img);// stored as a bmp file.




             imshow("opencvtest",img);
             waitKey(0);
         
             return 0;
         }


   
Reply | Threaded
Open this post in threaded view
|

Re: Fw: OpenCV program

opencv-users mailing list
Thanks for the reply.
Could you please explain this a little for me?
I am still very new to the world of opencv.
Just recently managed to setup the opencv on my Visual Studio and manage to run sample programs

Regards
Abhishek
--------------------------------------------
On Fri, 8/28/15, [hidden email] [OpenCV] <[hidden email]> wrote:

 Subject: Re: [OpenCV] Fw: OpenCV program
 To: [hidden email]
 Date: Friday, August 28, 2015, 7:50 AM
 
 
  
 
 
 
   
 
 
     
       
       
       
 
 
 
 
 
 
 //change a file format by reading it and then
 saving it in different format. noted by
 
 the extension at the end of the file name,
 file.jpg, file.tif, file,png      .
 
 
 
 
 
 #include
 <opencv2/objdetect/objdetect.hpp>
 
 #include
 <opencv2/highgui/highgui.hpp>
 
 #include
 <opencv2/imgproc/imgproc.hpp>
 
 #include <opencv/highgui.h>
 
 #include <iostream>
 
 
 
 
 
 using namespace cv;
 
 using namespace std;
 
 
 
 
 
 
 
 
 
  
 
  int main()
 
  {
 
  // Pictures files loaded,
 imread, will be changed into a non compressed
 format:
 
  //    Mat img =
 imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);
 
      Mat img =
 imread("Fruit_Bat.jpg",CV_LOAD_IMAGE_COLOR);
 
 //        Mat img =
 imread("./0p/Fruit_Bat.jpg",
 CV_LOAD_IMAGE_UNCHANGED);
 
 //        Mat img =
 imread("Fruit_Bat.jpg", 1);
 
 //        Mat img =
 imread("./0p/Fruit_Bat.jpg", 1);
 
 //        Mat img =
 imread("/home/keghn/OpenCVpro/Fruit_Bat.jpg",
 1);
 
 
 
 
 
 
 
 
 
       const char titlelll[] =
 "Fruit_Bat.tif";// tif is lossless
 compression.
 
 
 
 
 
   imwrite (titlelll,
 img);// stored on hard drive as tiff file.
 
 //  imwrite
 ("Fruit_Bat.tif", img);// stored on hard drive as
 tiff file.
 
 //  imwrite
 ("Fruit_Bat.png", img);// png is a lossless
 compression.
 
 //  imwrite
 ("Fruit_Bat.bmp", img);// stored as a bmp
 file.
 
 
 
 
 
 
 
 
 
     
 imshow("opencvtest",img);
 
     
 waitKey(0);
 
   
 
      return
 0;
 
  }
 
 
 
 
 
   
 
 
 
 
 
 
 
 
 
     
     
 
     
     
 
 
 
 #yiv3448504092 #yiv3448504092 --
   #yiv3448504092ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092ads {
 margin-bottom:10px;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad {
 padding:0 0;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad p {
 margin:0;}
 
 #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad a {
 color:#0000ff;text-decoration:none;}
 #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ygrp-lc {
 font-family:Arial;}
 
 #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ygrp-lc #yiv3448504092hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ygrp-lc .yiv3448504092ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv3448504092 #yiv3448504092actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv3448504092 #yiv3448504092activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv3448504092 #yiv3448504092activity span {
 font-weight:700;}
 
 #yiv3448504092 #yiv3448504092activity span:first-child {
 text-transform:uppercase;}
 
 #yiv3448504092 #yiv3448504092activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv3448504092 #yiv3448504092activity span span {
 color:#ff7900;}
 
 #yiv3448504092 #yiv3448504092activity span
 .yiv3448504092underline {
 text-decoration:underline;}
 
 #yiv3448504092 .yiv3448504092attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv3448504092 .yiv3448504092attach div a {
 text-decoration:none;}
 
 #yiv3448504092 .yiv3448504092attach img {
 border:none;padding-right:5px;}
 
 #yiv3448504092 .yiv3448504092attach label {
 display:block;margin-bottom:5px;}
 
 #yiv3448504092 .yiv3448504092attach label a {
 text-decoration:none;}
 
 #yiv3448504092 blockquote {
 margin:0 0 0 4px;}
 
 #yiv3448504092 .yiv3448504092bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv3448504092 .yiv3448504092bold a {
 text-decoration:none;}
 
 #yiv3448504092 dd.yiv3448504092last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv3448504092 dd.yiv3448504092last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv3448504092 dd.yiv3448504092last p
 span.yiv3448504092yshortcuts {
 margin-right:0;}
 
 #yiv3448504092 div.yiv3448504092attach-table div div a {
 text-decoration:none;}
 
 #yiv3448504092 div.yiv3448504092attach-table {
 width:400px;}
 
 #yiv3448504092 div.yiv3448504092file-title a, #yiv3448504092
 div.yiv3448504092file-title a:active, #yiv3448504092
 div.yiv3448504092file-title a:hover, #yiv3448504092
 div.yiv3448504092file-title a:visited {
 text-decoration:none;}
 
 #yiv3448504092 div.yiv3448504092photo-title a,
 #yiv3448504092 div.yiv3448504092photo-title a:active,
 #yiv3448504092 div.yiv3448504092photo-title a:hover,
 #yiv3448504092 div.yiv3448504092photo-title a:visited {
 text-decoration:none;}
 
 #yiv3448504092 div#yiv3448504092ygrp-mlmsg
 #yiv3448504092ygrp-msg p a span.yiv3448504092yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv3448504092 .yiv3448504092green {
 color:#628c2a;}
 
 #yiv3448504092 .yiv3448504092MsoNormal {
 margin:0 0 0 0;}
 
 #yiv3448504092 o {
 font-size:0;}
 
 #yiv3448504092 #yiv3448504092photos div {
 float:left;width:72px;}
 
 #yiv3448504092 #yiv3448504092photos div div {
 border:1px solid
 #666666;height:62px;overflow:hidden;width:62px;}
 
 #yiv3448504092 #yiv3448504092photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv3448504092 #yiv3448504092reco-category {
 font-size:77%;}
 
 #yiv3448504092 #yiv3448504092reco-desc {
 font-size:77%;}
 
 #yiv3448504092 .yiv3448504092replbq {
 margin:4px;}
 
 #yiv3448504092 #yiv3448504092ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg select,
 #yiv3448504092 input, #yiv3448504092 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg pre, #yiv3448504092
 code {
 font:115% monospace;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv3448504092 #yiv3448504092ygrp-mlmsg #yiv3448504092logo {
 padding-bottom:10px;}
 
 
 #yiv3448504092 #yiv3448504092ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv3448504092 #yiv3448504092ygrp-msg
 p#yiv3448504092attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv3448504092 #yiv3448504092ygrp-reco
 #yiv3448504092reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv3448504092 #yiv3448504092ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv3448504092 #yiv3448504092ygrp-sponsor #yiv3448504092ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv3448504092 #yiv3448504092ygrp-sponsor #yiv3448504092ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv3448504092 #yiv3448504092ygrp-sponsor #yiv3448504092ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv3448504092 #yiv3448504092ygrp-text {
 font-family:Georgia;}
 
 #yiv3448504092 #yiv3448504092ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv3448504092 #yiv3448504092ygrp-text tt {
 font-size:120%;}
 
 #yiv3448504092 #yiv3448504092ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv3448504092
 
Reply | Threaded
Open this post in threaded view
|

Re: Fw: OpenCV program

opencv-users mailing list
Hi,
I executed this program, but it did not help.
Both the files look same after opening.
Could you please suggest alternate code.
Regards
Abhishek
--------------------------------------------
On Fri, 8/28/15, Abhishek Tiwari [hidden email] [OpenCV] <[hidden email]> wrote:

 Subject: Re: [OpenCV] Fw: OpenCV program
 To: [hidden email]
 Date: Friday, August 28, 2015, 12:08 PM
 
 
  
 
 
 
   
 
 
     
       
       
       Thanks for the reply.
 
 Could you please explain this a little for me?
 
 I am still very new to the world of opencv.
 
 Just recently managed to setup the opencv on my Visual
 Studio and manage to run sample programs
 
 
 
 Regards
 
 Abhishek
 
 --------------------------------------------
 
 On Fri, 8/28/15, [hidden email] [OpenCV]
 <[hidden email]> wrote:
 
 
 
 Subject: Re: [OpenCV] Fw: OpenCV program
 
  To: [hidden email]
 
  Date: Friday, August 28, 2015, 7:50 AM
 
 
 
 
 
   
 
 
 
 
 
 
 
   
 
 
 
 
 
     
 
       
 
       
 
       
 
 
 
 
 
 
 
 
 
 
 
 
 
  //change a file format by reading it and then
 
  saving it in different format. noted by
 
 
 
  the extension at the end of the file name,
 
  file.jpg, file.tif, file,png      .
 
 
 
 
 
 
 
 
 
 
 
  #include
 
  <opencv2/objdetect/objdetect.hpp>
 
 
 
  #include
 
  <opencv2/highgui/highgui.hpp>
 
 
 
  #include
 
  <opencv2/imgproc/imgproc.hpp>
 
 
 
  #include <opencv/highgui.h>
 
 
 
  #include <iostream>
 
 
 
 
 
 
 
 
 
 
 
  using namespace cv;
 
 
 
  using namespace std;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
  int main()
 
 
 
  {
 
 
 
  // Pictures files loaded,
 
  imread, will be changed into a non compressed
 
  format:
 
 
 
  //    Mat img =
 
  imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);
 
 
 
      Mat img =
 
  imread("Fruit_Bat.jpg",CV_LOAD_IMAGE_COLOR);
 
 
 
  //        Mat img =
 
  imread("./0p/Fruit_Bat.jpg",
 
  CV_LOAD_IMAGE_UNCHANGED);
 
 
 
  //        Mat img =
 
  imread("Fruit_Bat.jpg", 1);
 
 
 
  //        Mat img =
 
  imread("./0p/Fruit_Bat.jpg", 1);
 
 
 
  //        Mat img =
 
  imread("/home/keghn/OpenCVpro/Fruit_Bat.jpg",
 
  1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
        const char titlelll[] =
 
  "Fruit_Bat.tif";// tif is lossless
 
  compression.
 
 
 
 
 
 
 
 
 
 
 
   imwrite (titlelll,
 
  img);// stored on hard drive as tiff file.
 
 
 
  //  imwrite
 
  ("Fruit_Bat.tif", img);// stored on hard drive
 as
 
  tiff file.
 
 
 
  //  imwrite
 
  ("Fruit_Bat.png", img);// png is a lossless
 
  compression.
 
 
 
  //  imwrite
 
  ("Fruit_Bat.bmp", img);// stored as a bmp
 
  file.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
  imshow("opencvtest",img);
 
 
 
     
 
  waitKey(0);
 
 
 
   
 
 
 
      return
 
  0;
 
 
 
  }
 
 
 
 
 
 
 
 
 
   
 
   
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
       
 
 
 
     
 
     
 
 
 
 
 
 
 
  #yiv3448504092 #yiv3448504092 --
 
    #yiv3448504092ygrp-mkp {
 
  border:1px solid #d8d8d8;font-family:Arial;margin:10px
 
  0;padding:0 10px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp hr {
 
  border:1px solid #d8d8d8;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092hd {
 
  color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 
  0;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092ads
 {
 
  margin-bottom:10px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad {
 
  padding:0 0;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad p
 {
 
  margin:0;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad a
 {
 
  color:#0000ff;text-decoration:none;}
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 
  #yiv3448504092ygrp-lc {
 
  font-family:Arial;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 
  #yiv3448504092ygrp-lc #yiv3448504092hd {
 
  margin:10px
 
  0px;font-weight:700;font-size:78%;line-height:122%;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 
  #yiv3448504092ygrp-lc .yiv3448504092ad {
 
  margin-bottom:10px;padding:0 0;}
 
 
 
  #yiv3448504092 #yiv3448504092actions {
 
  font-family:Verdana;font-size:11px;padding:10px 0;}
 
 
 
  #yiv3448504092 #yiv3448504092activity {
 
  background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 
 
  #yiv3448504092 #yiv3448504092activity span {
 
  font-weight:700;}
 
 
 
  #yiv3448504092 #yiv3448504092activity span:first-child {
 
  text-transform:uppercase;}
 
 
 
  #yiv3448504092 #yiv3448504092activity span a {
 
  color:#5085b6;text-decoration:none;}
 
 
 
  #yiv3448504092 #yiv3448504092activity span span {
 
  color:#ff7900;}
 
 
 
  #yiv3448504092 #yiv3448504092activity span
 
  .yiv3448504092underline {
 
  text-decoration:underline;}
 
 
 
  #yiv3448504092 .yiv3448504092attach {
 
  clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 
  0;width:400px;}
 
 
 
  #yiv3448504092 .yiv3448504092attach div a {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 .yiv3448504092attach img {
 
  border:none;padding-right:5px;}
 
 
 
  #yiv3448504092 .yiv3448504092attach label {
 
  display:block;margin-bottom:5px;}
 
 
 
  #yiv3448504092 .yiv3448504092attach label a {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 blockquote {
 
  margin:0 0 0 4px;}
 
 
 
  #yiv3448504092 .yiv3448504092bold {
 
  font-family:Arial;font-size:13px;font-weight:700;}
 
 
 
  #yiv3448504092 .yiv3448504092bold a {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 dd.yiv3448504092last p a {
 
  font-family:Verdana;font-weight:700;}
 
 
 
  #yiv3448504092 dd.yiv3448504092last p span {
 
  margin-right:10px;font-family:Verdana;font-weight:700;}
 
 
 
  #yiv3448504092 dd.yiv3448504092last p
 
  span.yiv3448504092yshortcuts {
 
  margin-right:0;}
 
 
 
  #yiv3448504092 div.yiv3448504092attach-table div div a {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 div.yiv3448504092attach-table {
 
  width:400px;}
 
 
 
  #yiv3448504092 div.yiv3448504092file-title a,
 #yiv3448504092
 
  div.yiv3448504092file-title a:active, #yiv3448504092
 
  div.yiv3448504092file-title a:hover, #yiv3448504092
 
  div.yiv3448504092file-title a:visited {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 div.yiv3448504092photo-title a,
 
  #yiv3448504092 div.yiv3448504092photo-title a:active,
 
  #yiv3448504092 div.yiv3448504092photo-title a:hover,
 
  #yiv3448504092 div.yiv3448504092photo-title a:visited {
 
  text-decoration:none;}
 
 
 
  #yiv3448504092 div#yiv3448504092ygrp-mlmsg
 
  #yiv3448504092ygrp-msg p a span.yiv3448504092yshortcuts
 {
 
  font-family:Verdana;font-size:10px;font-weight:normal;}
 
 
 
  #yiv3448504092 .yiv3448504092green {
 
  color:#628c2a;}
 
 
 
  #yiv3448504092 .yiv3448504092MsoNormal {
 
  margin:0 0 0 0;}
 
 
 
  #yiv3448504092 o {
 
  font-size:0;}
 
 
 
  #yiv3448504092 #yiv3448504092photos div {
 
  float:left;width:72px;}
 
 
 
  #yiv3448504092 #yiv3448504092photos div div {
 
  border:1px solid
 
  #666666;height:62px;overflow:hidden;width:62px;}
 
 
 
  #yiv3448504092 #yiv3448504092photos div label {
 
  color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 
 
  #yiv3448504092 #yiv3448504092reco-category {
 
  font-size:77%;}
 
 
 
  #yiv3448504092 #yiv3448504092reco-desc {
 
  font-size:77%;}
 
 
 
  #yiv3448504092 .yiv3448504092replbq {
 
  margin:4px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-actbar div a:first-child
 {
 
  margin-right:2px;padding-right:5px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg {
 
  font-size:13px;font-family:Arial, helvetica, clean,
 
  sans-serif;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg table {
 
  font-size:inherit;font:100%;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg select,
 
  #yiv3448504092 input, #yiv3448504092 textarea {
 
  font:99% Arial, Helvetica, clean, sans-serif;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg pre,
 #yiv3448504092
 
  code {
 
  font:115% monospace;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg * {
 
  line-height:1.22em;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-mlmsg #yiv3448504092logo
 {
 
  padding-bottom:10px;}
 
 
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-msg p a {
 
  font-family:Verdana;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-msg
 
  p#yiv3448504092attach-count span {
 
  color:#1E66AE;font-weight:700;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-reco
 
  #yiv3448504092reco-head {
 
  color:#ff7900;font-weight:700;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-reco {
 
  margin-bottom:20px;padding:0px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ov
 
  li a {
 
  font-size:130%;text-decoration:none;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ov
 
  li {
 
  font-size:77%;list-style-type:square;padding:6px 0;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-sponsor
 #yiv3448504092ov
 
  ul {
 
  margin:0;padding:0 0 0 8px;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-text {
 
  font-family:Georgia;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-text p {
 
  margin:0 0 1em 0;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-text tt {
 
  font-size:120%;}
 
 
 
  #yiv3448504092 #yiv3448504092ygrp-vital ul li:last-child
 {
 
  border-right:none !important;
 
  }
 
  #yiv3448504092
 
 
 
 
 
     
     
 
     
     
 
 
 
 #yiv8559185468 #yiv8559185468 --
   #yiv8559185468ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468ads {
 margin-bottom:10px;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad {
 padding:0 0;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad p {
 margin:0;}
 
 #yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad a {
 color:#0000ff;text-decoration:none;}
 #yiv8559185468 #yiv8559185468ygrp-sponsor
 #yiv8559185468ygrp-lc {
 font-family:Arial;}
 
 #yiv8559185468 #yiv8559185468ygrp-sponsor
 #yiv8559185468ygrp-lc #yiv8559185468hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv8559185468 #yiv8559185468ygrp-sponsor
 #yiv8559185468ygrp-lc .yiv8559185468ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv8559185468 #yiv8559185468actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv8559185468 #yiv8559185468activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv8559185468 #yiv8559185468activity span {
 font-weight:700;}
 
 #yiv8559185468 #yiv8559185468activity span:first-child {
 text-transform:uppercase;}
 
 #yiv8559185468 #yiv8559185468activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv8559185468 #yiv8559185468activity span span {
 color:#ff7900;}
 
 #yiv8559185468 #yiv8559185468activity span
 .yiv8559185468underline {
 text-decoration:underline;}
 
 #yiv8559185468 .yiv8559185468attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv8559185468 .yiv8559185468attach div a {
 text-decoration:none;}
 
 #yiv8559185468 .yiv8559185468attach img {
 border:none;padding-right:5px;}
 
 #yiv8559185468 .yiv8559185468attach label {
 display:block;margin-bottom:5px;}
 
 #yiv8559185468 .yiv8559185468attach label a {
 text-decoration:none;}
 
 #yiv8559185468 blockquote {
 margin:0 0 0 4px;}
 
 #yiv8559185468 .yiv8559185468bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv8559185468 .yiv8559185468bold a {
 text-decoration:none;}
 
 #yiv8559185468 dd.yiv8559185468last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv8559185468 dd.yiv8559185468last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv8559185468 dd.yiv8559185468last p
 span.yiv8559185468yshortcuts {
 margin-right:0;}
 
 #yiv8559185468 div.yiv8559185468attach-table div div a {
 text-decoration:none;}
 
 #yiv8559185468 div.yiv8559185468attach-table {
 width:400px;}
 
 #yiv8559185468 div.yiv8559185468file-title a, #yiv8559185468
 div.yiv8559185468file-title a:active, #yiv8559185468
 div.yiv8559185468file-title a:hover, #yiv8559185468
 div.yiv8559185468file-title a:visited {
 text-decoration:none;}
 
 #yiv8559185468 div.yiv8559185468photo-title a,
 #yiv8559185468 div.yiv8559185468photo-title a:active,
 #yiv8559185468 div.yiv8559185468photo-title a:hover,
 #yiv8559185468 div.yiv8559185468photo-title a:visited {
 text-decoration:none;}
 
 #yiv8559185468 div#yiv8559185468ygrp-mlmsg
 #yiv8559185468ygrp-msg p a span.yiv8559185468yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv8559185468 .yiv8559185468green {
 color:#628c2a;}
 
 #yiv8559185468 .yiv8559185468MsoNormal {
 margin:0 0 0 0;}
 
 #yiv8559185468 o {
 font-size:0;}
 
 #yiv8559185468 #yiv8559185468photos div {
 float:left;width:72px;}
 
 #yiv8559185468 #yiv8559185468photos div div {
 border:1px solid
 #666666;height:62px;overflow:hidden;width:62px;}
 
 #yiv8559185468 #yiv8559185468photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv8559185468 #yiv8559185468reco-category {
 font-size:77%;}
 
 #yiv8559185468 #yiv8559185468reco-desc {
 font-size:77%;}
 
 #yiv8559185468 .yiv8559185468replbq {
 margin:4px;}
 
 #yiv8559185468 #yiv8559185468ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg select,
 #yiv8559185468 input, #yiv8559185468 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg pre, #yiv8559185468
 code {
 font:115% monospace;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv8559185468 #yiv8559185468ygrp-mlmsg #yiv8559185468logo {
 padding-bottom:10px;}
 
 
 #yiv8559185468 #yiv8559185468ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv8559185468 #yiv8559185468ygrp-msg
 p#yiv8559185468attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv8559185468 #yiv8559185468ygrp-reco
 #yiv8559185468reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv8559185468 #yiv8559185468ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv8559185468 #yiv8559185468ygrp-text {
 font-family:Georgia;}
 
 #yiv8559185468 #yiv8559185468ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv8559185468 #yiv8559185468ygrp-text tt {
 font-size:120%;}
 
 #yiv8559185468 #yiv8559185468ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv8559185468
 
Reply | Threaded
Open this post in threaded view
|

Re: Fw: OpenCV program

opencv-users mailing list
Hello,

Could you please help me further on this.

Regards

Abhishek

Sent from Yahoo Mail on Android

From:"Abhishek Tiwari [hidden email] [OpenCV]" <[hidden email]>
Date:Fri, 28 Aug, 2015 at 4:04 pm
Subject:Re: [OpenCV] Fw: OpenCV program

 

Hi,
I executed this program, but it did not help.
Both the files look same after opening.
Could you please suggest alternate code.
Regards
Abhishek
--------------------------------------------
On Fri, 8/28/15, Abhishek Tiwari [hidden email] [OpenCV] <[hidden email]> wrote:

Subject: Re: [OpenCV] Fw: OpenCV program
To: [hidden email]
Date: Friday, August 28, 2015, 12:08 PM


 









Thanks for the reply.

Could you please explain this a little for me?

I am still very new to the world of opencv.

Just recently managed to setup the opencv on my Visual
Studio and manage to run sample programs



Regards

Abhishek

--------------------------------------------

On Fri, 8/28/15, [hidden email] [OpenCV]
<[hidden email]> wrote:



Subject: Re: [OpenCV] Fw: OpenCV program

To: [hidden email]

Date: Friday, August 28, 2015, 7:50 AM





 

































//change a file format by reading it and then

saving it in different format. noted by



the extension at the end of the file name,

file.jpg, file.tif, file,png      .











#include

<opencv2/objdetect/objdetect.hpp>



#include

<opencv2/highgui/highgui.hpp>



#include

<opencv2/imgproc/imgproc.hpp>



#include <opencv/highgui.h>



#include <iostream>











using namespace cv;



using namespace std;



















 



         int main()



         {



         // Pictures files loaded,

imread, will be changed into a non compressed

format:



         //    Mat img =

imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);



             Mat img =

imread("Fruit_Bat.jpg",CV_LOAD_IMAGE_COLOR);



//        Mat img =

imread("./0p/Fruit_Bat.jpg",

CV_LOAD_IMAGE_UNCHANGED);



//        Mat img =

imread("Fruit_Bat.jpg", 1);



//        Mat img =

imread("./0p/Fruit_Bat.jpg", 1);



//        Mat img =

imread("/home/keghn/OpenCVpro/Fruit_Bat.jpg",

1);



















      const char titlelll[] =

"Fruit_Bat.tif";// tif is lossless

compression.











          imwrite (titlelll,

img);// stored on hard drive as tiff file.



//  imwrite

("Fruit_Bat.tif", img);// stored on hard drive
as

tiff file.



//  imwrite

("Fruit_Bat.png", img);// png is a lossless

compression.



//  imwrite

("Fruit_Bat.bmp", img);// stored as a bmp

file.



















            

imshow("opencvtest",img);



            

waitKey(0);



         



             return

0;



         }















































#yiv3448504092 #yiv3448504092 --

#yiv3448504092ygrp-mkp {

border:1px solid #d8d8d8;font-family:Arial;margin:10px

0;padding:0 10px;}



#yiv3448504092 #yiv3448504092ygrp-mkp hr {

border:1px solid #d8d8d8;}



#yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092hd {

color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px

0;}



#yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092ads
{

margin-bottom:10px;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad {

padding:0 0;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad p
{

margin:0;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad a
{

color:#0000ff;text-decoration:none;}

#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc {

font-family:Arial;}



#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc #yiv3448504092hd {

margin:10px

0px;font-weight:700;font-size:78%;line-height:122%;}



#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc .yiv3448504092ad {

margin-bottom:10px;padding:0 0;}



#yiv3448504092 #yiv3448504092actions {

font-family:Verdana;font-size:11px;padding:10px 0;}



#yiv3448504092 #yiv3448504092activity {

background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}



#yiv3448504092 #yiv3448504092activity span {

font-weight:700;}



#yiv3448504092 #yiv3448504092activity span:first-child {

text-transform:uppercase;}



#yiv3448504092 #yiv3448504092activity span a {

color:#5085b6;text-decoration:none;}



#yiv3448504092 #yiv3448504092activity span span {

color:#ff7900;}



#yiv3448504092 #yiv3448504092activity span

.yiv3448504092underline {

text-decoration:underline;}



#yiv3448504092 .yiv3448504092attach {

clear:both;display:table;font-family:Arial;font-size:12px;padding:10px

0;width:400px;}



#yiv3448504092 .yiv3448504092attach div a {

text-decoration:none;}



#yiv3448504092 .yiv3448504092attach img {

border:none;padding-right:5px;}



#yiv3448504092 .yiv3448504092attach label {

display:block;margin-bottom:5px;}



#yiv3448504092 .yiv3448504092attach label a {

text-decoration:none;}



#yiv3448504092 blockquote {

margin:0 0 0 4px;}



#yiv3448504092 .yiv3448504092bold {

font-family:Arial;font-size:13px;font-weight:700;}



#yiv3448504092 .yiv3448504092bold a {

text-decoration:none;}



#yiv3448504092 dd.yiv3448504092last p a {

font-family:Verdana;font-weight:700;}



#yiv3448504092 dd.yiv3448504092last p span {

margin-right:10px;font-family:Verdana;font-weight:700;}



#yiv3448504092 dd.yiv3448504092last p

span.yiv3448504092yshortcuts {

margin-right:0;}



#yiv3448504092 div.yiv3448504092attach-table div div a {

text-decoration:none;}



#yiv3448504092 div.yiv3448504092attach-table {

width:400px;}



#yiv3448504092 div.yiv3448504092file-title a,
#yiv3448504092

div.yiv3448504092file-title a:active, #yiv3448504092

div.yiv3448504092file-title a:hover, #yiv3448504092

div.yiv3448504092file-title a:visited {

text-decoration:none;}



#yiv3448504092 div.yiv3448504092photo-title a,

#yiv3448504092 div.yiv3448504092photo-title a:active,

#yiv3448504092 div.yiv3448504092photo-title a:hover,

#yiv3448504092 div.yiv3448504092photo-title a:visited {

text-decoration:none;}



#yiv3448504092 div#yiv3448504092ygrp-mlmsg

#yiv3448504092ygrp-msg p a span.yiv3448504092yshortcuts
{

font-family:Verdana;font-size:10px;font-weight:normal;}



#yiv3448504092 .yiv3448504092green {

color:#628c2a;}



#yiv3448504092 .yiv3448504092MsoNormal {

margin:0 0 0 0;}



#yiv3448504092 o {

font-size:0;}



#yiv3448504092 #yiv3448504092photos div {

float:left;width:72px;}



#yiv3448504092 #yiv3448504092photos div div {

border:1px solid

#666666;height:62px;overflow:hidden;width:62px;}



#yiv3448504092 #yiv3448504092photos div label {

color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}



#yiv3448504092 #yiv3448504092reco-category {

font-size:77%;}



#yiv3448504092 #yiv3448504092reco-desc {

font-size:77%;}



#yiv3448504092 .yiv3448504092replbq {

margin:4px;}



#yiv3448504092 #yiv3448504092ygrp-actbar div a:first-child
{

margin-right:2px;padding-right:5px;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg {

font-size:13px;font-family:Arial, helvetica, clean,

sans-serif;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg table {

font-size:inherit;font:100%;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg select,

#yiv3448504092 input, #yiv3448504092 textarea {

font:99% Arial, Helvetica, clean, sans-serif;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg pre,
#yiv3448504092

code {

font:115% monospace;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg * {

line-height:1.22em;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg #yiv3448504092logo
{

padding-bottom:10px;}





#yiv3448504092 #yiv3448504092ygrp-msg p a {

font-family:Verdana;}



#yiv3448504092 #yiv3448504092ygrp-msg

p#yiv3448504092attach-count span {

color:#1E66AE;font-weight:700;}



#yiv3448504092 #yiv3448504092ygrp-reco

#yiv3448504092reco-head {

color:#ff7900;font-weight:700;}



#yiv3448504092 #yiv3448504092ygrp-reco {

margin-bottom:20px;padding:0px;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

li a {

font-size:130%;text-decoration:none;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

li {

font-size:77%;list-style-type:square;padding:6px 0;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

ul {

margin:0;padding:0 0 0 8px;}



#yiv3448504092 #yiv3448504092ygrp-text {

font-family:Georgia;}



#yiv3448504092 #yiv3448504092ygrp-text p {

margin:0 0 1em 0;}



#yiv3448504092 #yiv3448504092ygrp-text tt {

font-size:120%;}



#yiv3448504092 #yiv3448504092ygrp-vital ul li:last-child
{

border-right:none !important;

}

#yiv3448504092













#yiv8559185468 #yiv8559185468 --
#yiv8559185468ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv8559185468 #yiv8559185468ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468ads {
margin-bottom:10px;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad {
padding:0 0;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad p {
margin:0;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad a {
color:#0000ff;text-decoration:none;}
#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc {
font-family:Arial;}

#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc #yiv8559185468hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc .yiv8559185468ad {
margin-bottom:10px;padding:0 0;}

#yiv8559185468 #yiv8559185468actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv8559185468 #yiv8559185468activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv8559185468 #yiv8559185468activity span {
font-weight:700;}

#yiv8559185468 #yiv8559185468activity span:first-child {
text-transform:uppercase;}

#yiv8559185468 #yiv8559185468activity span a {
color:#5085b6;text-decoration:none;}

#yiv8559185468 #yiv8559185468activity span span {
color:#ff7900;}

#yiv8559185468 #yiv8559185468activity span
.yiv8559185468underline {
text-decoration:underline;}

#yiv8559185468 .yiv8559185468attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv8559185468 .yiv8559185468attach div a {
text-decoration:none;}

#yiv8559185468 .yiv8559185468attach img {
border:none;padding-right:5px;}

#yiv8559185468 .yiv8559185468attach label {
display:block;margin-bottom:5px;}

#yiv8559185468 .yiv8559185468attach label a {
text-decoration:none;}

#yiv8559185468 blockquote {
margin:0 0 0 4px;}

#yiv8559185468 .yiv8559185468bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv8559185468 .yiv8559185468bold a {
text-decoration:none;}

#yiv8559185468 dd.yiv8559185468last p a {
font-family:Verdana;font-weight:700;}

#yiv8559185468 dd.yiv8559185468last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv8559185468 dd.yiv8559185468last p
span.yiv8559185468yshortcuts {
margin-right:0;}

#yiv8559185468 div.yiv8559185468attach-table div div a {
text-decoration:none;}

#yiv8559185468 div.yiv8559185468attach-table {
width:400px;}

#yiv8559185468 div.yiv8559185468file-title a, #yiv8559185468
div.yiv8559185468file-title a:active, #yiv8559185468
div.yiv8559185468file-title a:hover, #yiv8559185468
div.yiv8559185468file-title a:visited {
text-decoration:none;}

#yiv8559185468 div.yiv8559185468photo-title a,
#yiv8559185468 div.yiv8559185468photo-title a:active,
#yiv8559185468 div.yiv8559185468photo-title a:hover,
#yiv8559185468 div.yiv8559185468photo-title a:visited {
text-decoration:none;}

#yiv8559185468 div#yiv8559185468ygrp-mlmsg
#yiv8559185468ygrp-msg p a span.yiv8559185468yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv8559185468 .yiv8559185468green {
color:#628c2a;}

#yiv8559185468 .yiv8559185468MsoNormal {
margin:0 0 0 0;}

#yiv8559185468 o {
font-size:0;}

#yiv8559185468 #yiv8559185468photos div {
float:left;width:72px;}

#yiv8559185468 #yiv8559185468photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv8559185468 #yiv8559185468photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv8559185468 #yiv8559185468reco-category {
font-size:77%;}

#yiv8559185468 #yiv8559185468reco-desc {
font-size:77%;}

#yiv8559185468 .yiv8559185468replbq {
margin:4px;}

#yiv8559185468 #yiv8559185468ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg select,
#yiv8559185468 input, #yiv8559185468 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg pre, #yiv8559185468
code {
font:115% monospace;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg * {
line-height:1.22em;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg #yiv8559185468logo {
padding-bottom:10px;}


#yiv8559185468 #yiv8559185468ygrp-msg p a {
font-family:Verdana;}

#yiv8559185468 #yiv8559185468ygrp-msg
p#yiv8559185468attach-count span {
color:#1E66AE;font-weight:700;}

#yiv8559185468 #yiv8559185468ygrp-reco
#yiv8559185468reco-head {
color:#ff7900;font-weight:700;}

#yiv8559185468 #yiv8559185468ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
li a {
font-size:130%;text-decoration:none;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv8559185468 #yiv8559185468ygrp-text {
font-family:Georgia;}

#yiv8559185468 #yiv8559185468ygrp-text p {
margin:0 0 1em 0;}

#yiv8559185468 #yiv8559185468ygrp-text tt {
font-size:120%;}

#yiv8559185468 #yiv8559185468ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv8559185468



Reply | Threaded
Open this post in threaded view
|

Fw: Re: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Hi,

I executed this program, but it did not help.
Both the files look same after opening.
Could you please suggest alternate code.
Regards
Abhishek
--------------------------------------------
On Fri, 8/28/15, Abhishek Tiwari [hidden email] [OpenCV] <[hidden email]> wrote:

Subject: Re: [OpenCV] Fw: OpenCV program
To: [hidden email]
Date: Friday, August 28, 2015, 12:08 PM


 









Thanks for the reply.

Could you please explain this a little for me?

I am still very new to the world of opencv.

Just recently managed to setup the opencv on my Visual
Studio and manage to run sample programs



Regards

Abhishek

--------------------------------------------

On Fri, 8/28/15, [hidden email] [OpenCV]
<[hidden email]> wrote:



Subject: Re: [OpenCV] Fw: OpenCV program

To: [hidden email]

Date: Friday, August 28, 2015, 7:50 AM





 

































//change a file format by reading it and then

saving it in different format. noted by



the extension at the end of the file name,

file.jpg, file.tif, file,png      .











#include

<opencv2/objdetect/objdetect.hpp>



#include

<opencv2/highgui/highgui.hpp>



#include

<opencv2/imgproc/imgproc.hpp>



#include <opencv/highgui.h>



#include <iostream>











using namespace cv;



using namespace std;



















 



         int main()



         {



         // Pictures files loaded,

imread, will be changed into a non compressed

format:



         //    Mat img =

imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);



             Mat img =

imread("Fruit_Bat.jpg",CV_LOAD_IMAGE_COLOR);



//        Mat img =

imread("./0p/Fruit_Bat.jpg",

CV_LOAD_IMAGE_UNCHANGED);



//        Mat img =

imread("Fruit_Bat.jpg", 1);



//        Mat img =

imread("./0p/Fruit_Bat.jpg", 1);



//        Mat img =

imread("/home/keghn/OpenCVpro/Fruit_Bat.jpg",

1);



















      const char titlelll[] =

"Fruit_Bat.tif";// tif is lossless

compression.











          imwrite (titlelll,

img);// stored on hard drive as tiff file.



//  imwrite

("Fruit_Bat.tif", img);// stored on hard drive
as

tiff file.



//  imwrite

("Fruit_Bat.png", img);// png is a lossless

compression.



//  imwrite

("Fruit_Bat.bmp", img);// stored as a bmp

file.



















            

imshow("opencvtest",img);



            

waitKey(0);



         



             return

0;



         }















































#yiv3448504092 #yiv3448504092 --

#yiv3448504092ygrp-mkp {

border:1px solid #d8d8d8;font-family:Arial;margin:10px

0;padding:0 10px;}



#yiv3448504092 #yiv3448504092ygrp-mkp hr {

border:1px solid #d8d8d8;}



#yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092hd {

color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px

0;}



#yiv3448504092 #yiv3448504092ygrp-mkp #yiv3448504092ads
{

margin-bottom:10px;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad {

padding:0 0;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad p
{

margin:0;}



#yiv3448504092 #yiv3448504092ygrp-mkp .yiv3448504092ad a
{

color:#0000ff;text-decoration:none;}

#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc {

font-family:Arial;}



#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc #yiv3448504092hd {

margin:10px

0px;font-weight:700;font-size:78%;line-height:122%;}



#yiv3448504092 #yiv3448504092ygrp-sponsor

#yiv3448504092ygrp-lc .yiv3448504092ad {

margin-bottom:10px;padding:0 0;}



#yiv3448504092 #yiv3448504092actions {

font-family:Verdana;font-size:11px;padding:10px 0;}



#yiv3448504092 #yiv3448504092activity {

background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}



#yiv3448504092 #yiv3448504092activity span {

font-weight:700;}



#yiv3448504092 #yiv3448504092activity span:first-child {

text-transform:uppercase;}



#yiv3448504092 #yiv3448504092activity span a {

color:#5085b6;text-decoration:none;}



#yiv3448504092 #yiv3448504092activity span span {

color:#ff7900;}



#yiv3448504092 #yiv3448504092activity span

.yiv3448504092underline {

text-decoration:underline;}



#yiv3448504092 .yiv3448504092attach {

clear:both;display:table;font-family:Arial;font-size:12px;padding:10px

0;width:400px;}



#yiv3448504092 .yiv3448504092attach div a {

text-decoration:none;}



#yiv3448504092 .yiv3448504092attach img {

border:none;padding-right:5px;}



#yiv3448504092 .yiv3448504092attach label {

display:block;margin-bottom:5px;}



#yiv3448504092 .yiv3448504092attach label a {

text-decoration:none;}



#yiv3448504092 blockquote {

margin:0 0 0 4px;}



#yiv3448504092 .yiv3448504092bold {

font-family:Arial;font-size:13px;font-weight:700;}



#yiv3448504092 .yiv3448504092bold a {

text-decoration:none;}



#yiv3448504092 dd.yiv3448504092last p a {

font-family:Verdana;font-weight:700;}



#yiv3448504092 dd.yiv3448504092last p span {

margin-right:10px;font-family:Verdana;font-weight:700;}



#yiv3448504092 dd.yiv3448504092last p

span.yiv3448504092yshortcuts {

margin-right:0;}



#yiv3448504092 div.yiv3448504092attach-table div div a {

text-decoration:none;}



#yiv3448504092 div.yiv3448504092attach-table {

width:400px;}



#yiv3448504092 div.yiv3448504092file-title a,
#yiv3448504092

div.yiv3448504092file-title a:active, #yiv3448504092

div.yiv3448504092file-title a:hover, #yiv3448504092

div.yiv3448504092file-title a:visited {

text-decoration:none;}



#yiv3448504092 div.yiv3448504092photo-title a,

#yiv3448504092 div.yiv3448504092photo-title a:active,

#yiv3448504092 div.yiv3448504092photo-title a:hover,

#yiv3448504092 div.yiv3448504092photo-title a:visited {

text-decoration:none;}



#yiv3448504092 div#yiv3448504092ygrp-mlmsg

#yiv3448504092ygrp-msg p a span.yiv3448504092yshortcuts
{

font-family:Verdana;font-size:10px;font-weight:normal;}



#yiv3448504092 .yiv3448504092green {

color:#628c2a;}



#yiv3448504092 .yiv3448504092MsoNormal {

margin:0 0 0 0;}



#yiv3448504092 o {

font-size:0;}



#yiv3448504092 #yiv3448504092photos div {

float:left;width:72px;}



#yiv3448504092 #yiv3448504092photos div div {

border:1px solid

#666666;height:62px;overflow:hidden;width:62px;}



#yiv3448504092 #yiv3448504092photos div label {

color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}



#yiv3448504092 #yiv3448504092reco-category {

font-size:77%;}



#yiv3448504092 #yiv3448504092reco-desc {

font-size:77%;}



#yiv3448504092 .yiv3448504092replbq {

margin:4px;}



#yiv3448504092 #yiv3448504092ygrp-actbar div a:first-child
{

margin-right:2px;padding-right:5px;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg {

font-size:13px;font-family:Arial, helvetica, clean,

sans-serif;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg table {

font-size:inherit;font:100%;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg select,

#yiv3448504092 input, #yiv3448504092 textarea {

font:99% Arial, Helvetica, clean, sans-serif;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg pre,
#yiv3448504092

code {

font:115% monospace;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg * {

line-height:1.22em;}



#yiv3448504092 #yiv3448504092ygrp-mlmsg #yiv3448504092logo
{

padding-bottom:10px;}





#yiv3448504092 #yiv3448504092ygrp-msg p a {

font-family:Verdana;}



#yiv3448504092 #yiv3448504092ygrp-msg

p#yiv3448504092attach-count span {

color:#1E66AE;font-weight:700;}



#yiv3448504092 #yiv3448504092ygrp-reco

#yiv3448504092reco-head {

color:#ff7900;font-weight:700;}



#yiv3448504092 #yiv3448504092ygrp-reco {

margin-bottom:20px;padding:0px;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

li a {

font-size:130%;text-decoration:none;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

li {

font-size:77%;list-style-type:square;padding:6px 0;}



#yiv3448504092 #yiv3448504092ygrp-sponsor
#yiv3448504092ov

ul {

margin:0;padding:0 0 0 8px;}



#yiv3448504092 #yiv3448504092ygrp-text {

font-family:Georgia;}



#yiv3448504092 #yiv3448504092ygrp-text p {

margin:0 0 1em 0;}



#yiv3448504092 #yiv3448504092ygrp-text tt {

font-size:120%;}



#yiv3448504092 #yiv3448504092ygrp-vital ul li:last-child
{

border-right:none !important;

}

#yiv3448504092













#yiv8559185468 #yiv8559185468 --
#yiv8559185468ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv8559185468 #yiv8559185468ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv8559185468 #yiv8559185468ygrp-mkp #yiv8559185468ads {
margin-bottom:10px;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad {
padding:0 0;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad p {
margin:0;}

#yiv8559185468 #yiv8559185468ygrp-mkp .yiv8559185468ad a {
color:#0000ff;text-decoration:none;}
#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc {
font-family:Arial;}

#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc #yiv8559185468hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv8559185468 #yiv8559185468ygrp-sponsor
#yiv8559185468ygrp-lc .yiv8559185468ad {
margin-bottom:10px;padding:0 0;}

#yiv8559185468 #yiv8559185468actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv8559185468 #yiv8559185468activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv8559185468 #yiv8559185468activity span {
font-weight:700;}

#yiv8559185468 #yiv8559185468activity span:first-child {
text-transform:uppercase;}

#yiv8559185468 #yiv8559185468activity span a {
color:#5085b6;text-decoration:none;}

#yiv8559185468 #yiv8559185468activity span span {
color:#ff7900;}

#yiv8559185468 #yiv8559185468activity span
.yiv8559185468underline {
text-decoration:underline;}

#yiv8559185468 .yiv8559185468attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv8559185468 .yiv8559185468attach div a {
text-decoration:none;}

#yiv8559185468 .yiv8559185468attach img {
border:none;padding-right:5px;}

#yiv8559185468 .yiv8559185468attach label {
display:block;margin-bottom:5px;}

#yiv8559185468 .yiv8559185468attach label a {
text-decoration:none;}

#yiv8559185468 blockquote {
margin:0 0 0 4px;}

#yiv8559185468 .yiv8559185468bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv8559185468 .yiv8559185468bold a {
text-decoration:none;}

#yiv8559185468 dd.yiv8559185468last p a {
font-family:Verdana;font-weight:700;}

#yiv8559185468 dd.yiv8559185468last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv8559185468 dd.yiv8559185468last p
span.yiv8559185468yshortcuts {
margin-right:0;}

#yiv8559185468 div.yiv8559185468attach-table div div a {
text-decoration:none;}

#yiv8559185468 div.yiv8559185468attach-table {
width:400px;}

#yiv8559185468 div.yiv8559185468file-title a, #yiv8559185468
div.yiv8559185468file-title a:active, #yiv8559185468
div.yiv8559185468file-title a:hover, #yiv8559185468
div.yiv8559185468file-title a:visited {
text-decoration:none;}

#yiv8559185468 div.yiv8559185468photo-title a,
#yiv8559185468 div.yiv8559185468photo-title a:active,
#yiv8559185468 div.yiv8559185468photo-title a:hover,
#yiv8559185468 div.yiv8559185468photo-title a:visited {
text-decoration:none;}

#yiv8559185468 div#yiv8559185468ygrp-mlmsg
#yiv8559185468ygrp-msg p a span.yiv8559185468yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv8559185468 .yiv8559185468green {
color:#628c2a;}

#yiv8559185468 .yiv8559185468MsoNormal {
margin:0 0 0 0;}

#yiv8559185468 o {
font-size:0;}

#yiv8559185468 #yiv8559185468photos div {
float:left;width:72px;}

#yiv8559185468 #yiv8559185468photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv8559185468 #yiv8559185468photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv8559185468 #yiv8559185468reco-category {
font-size:77%;}

#yiv8559185468 #yiv8559185468reco-desc {
font-size:77%;}

#yiv8559185468 .yiv8559185468replbq {
margin:4px;}

#yiv8559185468 #yiv8559185468ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg select,
#yiv8559185468 input, #yiv8559185468 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg pre, #yiv8559185468
code {
font:115% monospace;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg * {
line-height:1.22em;}

#yiv8559185468 #yiv8559185468ygrp-mlmsg #yiv8559185468logo {
padding-bottom:10px;}


#yiv8559185468 #yiv8559185468ygrp-msg p a {
font-family:Verdana;}

#yiv8559185468 #yiv8559185468ygrp-msg
p#yiv8559185468attach-count span {
color:#1E66AE;font-weight:700;}

#yiv8559185468 #yiv8559185468ygrp-reco
#yiv8559185468reco-head {
color:#ff7900;font-weight:700;}

#yiv8559185468 #yiv8559185468ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
li a {
font-size:130%;text-decoration:none;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv8559185468 #yiv8559185468ygrp-sponsor #yiv8559185468ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv8559185468 #yiv8559185468ygrp-text {
font-family:Georgia;}

#yiv8559185468 #yiv8559185468ygrp-text p {
margin:0 0 1em 0;}

#yiv8559185468 #yiv8559185468ygrp-text tt {
font-size:120%;}

#yiv8559185468 #yiv8559185468ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv8559185468



Reply | Threaded
Open this post in threaded view
|

Re: Fw: Re: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Greetings,
Just looking at what you're trying to do.... You are converting a jpg to tiff, correct?
If this is the case, a jpg is a lossy format.  Unless you perform some transformations or black magic the quality will remain the same I'm thinking, as the bits have already been lost.   Now if you were going the other way tiff to jpg you may get a lesser quality after converting.

Respectfully
Ed
Reply | Threaded
Open this post in threaded view
|

Re: Fw: Re: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Hi Ed,

I am new to the world of image processing(old enough to C/C++ programming world though).
Sorry, I could not quite understand what you are trying to suggest as an answer.
So, I am thinking from this angle :
How to remove the whitish background and brighten the circles
and NOT as follows :
jpg to tiff /tiff to jpg conversion - My limited image processing domain expertise does not allow me to think this way.

Kindly help me woth detailed answer and if possible with a solution.
Regards
Abhishek
--------------------------------------------
On Mon, 9/14/15, [hidden email] [OpenCV] <[hidden email]> wrote:

 Subject: Re: Fw: Re: [OpenCV] Fw: OpenCV program
 To: [hidden email]
 Date: Monday, September 14, 2015, 9:48 PM
 
 
  
 
 
 
   
 
 
     
       
       
       Greetings,
 
 Just looking at what you're trying to do.... You are
 converting a jpg to tiff, correct?
 
 If this is the case, a jpg is a lossy format.  Unless you
 perform some transformations or black magic the quality will
 remain the same I'm thinking, as the bits have already
 been lost.   Now if you were going the other way tiff to jpg
 you may get a lesser quality after converting.
 
 
 
 Respectfully
 
 Ed
 
 
 
     
     
 
     
     
 
 
 
 #yiv6988883218 #yiv6988883218 --
   #yiv6988883218ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218ads {
 margin-bottom:10px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad {
 padding:0 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad p {
 margin:0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad a {
 color:#0000ff;text-decoration:none;}
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc {
 font-family:Arial;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc #yiv6988883218hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc .yiv6988883218ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv6988883218 #yiv6988883218actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv6988883218 #yiv6988883218activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv6988883218 #yiv6988883218activity span {
 font-weight:700;}
 
 #yiv6988883218 #yiv6988883218activity span:first-child {
 text-transform:uppercase;}
 
 #yiv6988883218 #yiv6988883218activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv6988883218 #yiv6988883218activity span span {
 color:#ff7900;}
 
 #yiv6988883218 #yiv6988883218activity span
 .yiv6988883218underline {
 text-decoration:underline;}
 
 #yiv6988883218 .yiv6988883218attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv6988883218 .yiv6988883218attach div a {
 text-decoration:none;}
 
 #yiv6988883218 .yiv6988883218attach img {
 border:none;padding-right:5px;}
 
 #yiv6988883218 .yiv6988883218attach label {
 display:block;margin-bottom:5px;}
 
 #yiv6988883218 .yiv6988883218attach label a {
 text-decoration:none;}
 
 #yiv6988883218 blockquote {
 margin:0 0 0 4px;}
 
 #yiv6988883218 .yiv6988883218bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv6988883218 .yiv6988883218bold a {
 text-decoration:none;}
 
 #yiv6988883218 dd.yiv6988883218last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv6988883218 dd.yiv6988883218last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv6988883218 dd.yiv6988883218last p
 span.yiv6988883218yshortcuts {
 margin-right:0;}
 
 #yiv6988883218 div.yiv6988883218attach-table div div a {
 text-decoration:none;}
 
 #yiv6988883218 div.yiv6988883218attach-table {
 width:400px;}
 
 #yiv6988883218 div.yiv6988883218file-title a, #yiv6988883218
 div.yiv6988883218file-title a:active, #yiv6988883218
 div.yiv6988883218file-title a:hover, #yiv6988883218
 div.yiv6988883218file-title a:visited {
 text-decoration:none;}
 
 #yiv6988883218 div.yiv6988883218photo-title a,
 #yiv6988883218 div.yiv6988883218photo-title a:active,
 #yiv6988883218 div.yiv6988883218photo-title a:hover,
 #yiv6988883218 div.yiv6988883218photo-title a:visited {
 text-decoration:none;}
 
 #yiv6988883218 div#yiv6988883218ygrp-mlmsg
 #yiv6988883218ygrp-msg p a span.yiv6988883218yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv6988883218 .yiv6988883218green {
 color:#628c2a;}
 
 #yiv6988883218 .yiv6988883218MsoNormal {
 margin:0 0 0 0;}
 
 #yiv6988883218 o {
 font-size:0;}
 
 #yiv6988883218 #yiv6988883218photos div {
 float:left;width:72px;}
 
 #yiv6988883218 #yiv6988883218photos div div {
 border:1px solid
 #666666;height:62px;overflow:hidden;width:62px;}
 
 #yiv6988883218 #yiv6988883218photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv6988883218 #yiv6988883218reco-category {
 font-size:77%;}
 
 #yiv6988883218 #yiv6988883218reco-desc {
 font-size:77%;}
 
 #yiv6988883218 .yiv6988883218replbq {
 margin:4px;}
 
 #yiv6988883218 #yiv6988883218ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg select,
 #yiv6988883218 input, #yiv6988883218 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg pre, #yiv6988883218
 code {
 font:115% monospace;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg #yiv6988883218logo {
 padding-bottom:10px;}
 
 
 #yiv6988883218 #yiv6988883218ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv6988883218 #yiv6988883218ygrp-msg
 p#yiv6988883218attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv6988883218 #yiv6988883218ygrp-reco
 #yiv6988883218reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv6988883218 #yiv6988883218ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv6988883218 #yiv6988883218ygrp-text {
 font-family:Georgia;}
 
 #yiv6988883218 #yiv6988883218ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-text tt {
 font-size:120%;}
 
 #yiv6988883218 #yiv6988883218ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv6988883218
 
Reply | Threaded
Open this post in threaded view
|

Re: Fw: Re: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Greetings Abhishek,I think I misunderstood what you were trying to do...I've been using openCV for image matching and less with processing.
Just looking at some functions in the openCV book:
cvDilate -- bright regions expanded and joined  ...image looks brighter
 cvErode  --bright regions are isolated and shrunk  ... image looks darker
cvFloodFill -- looks like it's defining edges... it would probably only give you outlines of the circles
I wonder if you could use some of these in combination to give you what you want?
Sorry... I don't have any real solutions for you but only suggestions.

Ed
ps -- if I get a chance I'll play with some of these functions and see what they give me. 
     From: "Abhishek Tiwari [hidden email] [OpenCV]" <[hidden email]>
 To: [hidden email]
 Sent: Monday, September 14, 2015 10:53 AM
 Subject: Re: Fw: Re: [OpenCV] Fw: OpenCV program
   
    Hi Ed,

I am new to the world of image processing(old enough to C/C++ programming world though).
Sorry, I could not quite understand what you are trying to suggest as an answer.
So, I am thinking from this angle :
How to remove the whitish background and brighten the circles
and NOT as follows :
jpg to tiff /tiff to jpg conversion - My limited image processing domain expertise does not allow me to think this way.

Kindly help me woth detailed answer and if possible with a solution.
Regards
Abhishek
--------------------------------------------
On Mon, 9/14/15, [hidden email] [OpenCV] <[hidden email]> wrote:

Subject: Re: Fw: Re: [OpenCV] Fw: OpenCV program
 To: [hidden email]
 Date: Monday, September 14, 2015, 9:48 PM
 
 
  
 
 
 
 
 
 
 
 
 
 Greetings,
 
 Just looking at what you're trying to do.... You are
 converting a jpg to tiff, correct?
 
 If this is the case, a jpg is a lossy format. Unless you
 perform some transformations or black magic the quality will
 remain the same I'm thinking, as the bits have already
 been lost. Now if you were going the other way tiff to jpg
 you may get a lesser quality after converting.
 
 
 
 Respectfully
 
 Ed
 
 
 
 
 
 
 
 
 
 
 
 #yiv6988883218 #yiv6988883218 --
 #yiv6988883218ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218ads {
 margin-bottom:10px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad {
 padding:0 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad p {
 margin:0;}
 
 #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad a {
 color:#0000ff;text-decoration:none;}
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc {
 font-family:Arial;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc #yiv6988883218hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ygrp-lc .yiv6988883218ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv6988883218 #yiv6988883218actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv6988883218 #yiv6988883218activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv6988883218 #yiv6988883218activity span {
 font-weight:700;}
 
 #yiv6988883218 #yiv6988883218activity span:first-child {
 text-transform:uppercase;}
 
 #yiv6988883218 #yiv6988883218activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv6988883218 #yiv6988883218activity span span {
 color:#ff7900;}
 
 #yiv6988883218 #yiv6988883218activity span
 .yiv6988883218underline {
 text-decoration:underline;}
 
 #yiv6988883218 .yiv6988883218attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv6988883218 .yiv6988883218attach div a {
 text-decoration:none;}
 
 #yiv6988883218 .yiv6988883218attach img {
 border:none;padding-right:5px;}
 
 #yiv6988883218 .yiv6988883218attach label {
 display:block;margin-bottom:5px;}
 
 #yiv6988883218 .yiv6988883218attach label a {
 text-decoration:none;}
 
 #yiv6988883218 blockquote {
 margin:0 0 0 4px;}
 
 #yiv6988883218 .yiv6988883218bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv6988883218 .yiv6988883218bold a {
 text-decoration:none;}
 
 #yiv6988883218 dd.yiv6988883218last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv6988883218 dd.yiv6988883218last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv6988883218 dd.yiv6988883218last p
 span.yiv6988883218yshortcuts {
 margin-right:0;}
 
 #yiv6988883218 div.yiv6988883218attach-table div div a {
 text-decoration:none;}
 
 #yiv6988883218 div.yiv6988883218attach-table {
 width:400px;}
 
 #yiv6988883218 div.yiv6988883218file-title a, #yiv6988883218
 div.yiv6988883218file-title a:active, #yiv6988883218
 div.yiv6988883218file-title a:hover, #yiv6988883218
 div.yiv6988883218file-title a:visited {
 text-decoration:none;}
 
 #yiv6988883218 div.yiv6988883218photo-title a,
 #yiv6988883218 div.yiv6988883218photo-title a:active,
 #yiv6988883218 div.yiv6988883218photo-title a:hover,
 #yiv6988883218 div.yiv6988883218photo-title a:visited {
 text-decoration:none;}
 
 #yiv6988883218 div#yiv6988883218ygrp-mlmsg
 #yiv6988883218ygrp-msg p a span.yiv6988883218yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv6988883218 .yiv6988883218green {
 color:#628c2a;}
 
 #yiv6988883218 .yiv6988883218MsoNormal {
 margin:0 0 0 0;}
 
 #yiv6988883218 o {
 font-size:0;}
 
 #yiv6988883218 #yiv6988883218photos div {
 float:left;width:72px;}
 
 #yiv6988883218 #yiv6988883218photos div div {
 border:1px solid
 #666666;height:62px;overflow:hidden;width:62px;}
 
 #yiv6988883218 #yiv6988883218photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv6988883218 #yiv6988883218reco-category {
 font-size:77%;}
 
 #yiv6988883218 #yiv6988883218reco-desc {
 font-size:77%;}
 
 #yiv6988883218 .yiv6988883218replbq {
 margin:4px;}
 
 #yiv6988883218 #yiv6988883218ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg select,
 #yiv6988883218 input, #yiv6988883218 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg pre, #yiv6988883218
 code {
 font:115% monospace;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv6988883218 #yiv6988883218ygrp-mlmsg #yiv6988883218logo {
 padding-bottom:10px;}
 
 
 #yiv6988883218 #yiv6988883218ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv6988883218 #yiv6988883218ygrp-msg
 p#yiv6988883218attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv6988883218 #yiv6988883218ygrp-reco
 #yiv6988883218reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv6988883218 #yiv6988883218ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-sponsor #yiv6988883218ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv6988883218 #yiv6988883218ygrp-text {
 font-family:Georgia;}
 
 #yiv6988883218 #yiv6988883218ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv6988883218 #yiv6988883218ygrp-text tt {
 font-size:120%;}
 
 #yiv6988883218 #yiv6988883218ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv6988883218
 
  #yiv1907703654 #yiv1907703654 -- #yiv1907703654ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1907703654 #yiv1907703654ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1907703654 #yiv1907703654ygrp-mkp #yiv1907703654hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1907703654 #yiv1907703654ygrp-mkp #yiv1907703654ads {margin-bottom:10px;}#yiv1907703654 #yiv1907703654ygrp-mkp .yiv1907703654ad {padding:0 0;}#yiv1907703654 #yiv1907703654ygrp-mkp .yiv1907703654ad p {margin:0;}#yiv1907703654 #yiv1907703654ygrp-mkp .yiv1907703654ad a {color:#0000ff;text-decoration:none;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ygrp-lc {font-family:Arial;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ygrp-lc #yiv1907703654hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ygrp-lc .yiv1907703654ad {margin-bottom:10px;padding:0 0;}#yiv1907703654 #yiv1907703654actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1907703654 #yiv1907703654activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv1907703654 #yiv1907703654activity span {font-weight:700;}#yiv1907703654 #yiv1907703654activity span:first-child {text-transform:uppercase;}#yiv1907703654 #yiv1907703654activity span a {color:#5085b6;text-decoration:none;}#yiv1907703654 #yiv1907703654activity span span {color:#ff7900;}#yiv1907703654 #yiv1907703654activity span .yiv1907703654underline {text-decoration:underline;}#yiv1907703654 .yiv1907703654attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv1907703654 .yiv1907703654attach div a {text-decoration:none;}#yiv1907703654 .yiv1907703654attach img {border:none;padding-right:5px;}#yiv1907703654 .yiv1907703654attach label {display:block;margin-bottom:5px;}#yiv1907703654 .yiv1907703654attach label a {text-decoration:none;}#yiv1907703654 blockquote {margin:0 0 0 4px;}#yiv1907703654 .yiv1907703654bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv1907703654 .yiv1907703654bold a {text-decoration:none;}#yiv1907703654 dd.yiv1907703654last p a {font-family:Verdana;font-weight:700;}#yiv1907703654 dd.yiv1907703654last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv1907703654 dd.yiv1907703654last p span.yiv1907703654yshortcuts {margin-right:0;}#yiv1907703654 div.yiv1907703654attach-table div div a {text-decoration:none;}#yiv1907703654 div.yiv1907703654attach-table {width:400px;}#yiv1907703654 div.yiv1907703654file-title a, #yiv1907703654 div.yiv1907703654file-title a:active, #yiv1907703654 div.yiv1907703654file-title a:hover, #yiv1907703654 div.yiv1907703654file-title a:visited {text-decoration:none;}#yiv1907703654 div.yiv1907703654photo-title a, #yiv1907703654 div.yiv1907703654photo-title a:active, #yiv1907703654 div.yiv1907703654photo-title a:hover, #yiv1907703654 div.yiv1907703654photo-title a:visited {text-decoration:none;}#yiv1907703654 div#yiv1907703654ygrp-mlmsg #yiv1907703654ygrp-msg p a span.yiv1907703654yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv1907703654 .yiv1907703654green {color:#628c2a;}#yiv1907703654 .yiv1907703654MsoNormal {margin:0 0 0 0;}#yiv1907703654 o {font-size:0;}#yiv1907703654 #yiv1907703654photos div {float:left;width:72px;}#yiv1907703654 #yiv1907703654photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv1907703654 #yiv1907703654photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv1907703654 #yiv1907703654reco-category {font-size:77%;}#yiv1907703654 #yiv1907703654reco-desc {font-size:77%;}#yiv1907703654 .yiv1907703654replbq {margin:4px;}#yiv1907703654 #yiv1907703654ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv1907703654 #yiv1907703654ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv1907703654 #yiv1907703654ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv1907703654 #yiv1907703654ygrp-mlmsg select, #yiv1907703654 input, #yiv1907703654 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv1907703654 #yiv1907703654ygrp-mlmsg pre, #yiv1907703654 code {font:115% monospace;}#yiv1907703654 #yiv1907703654ygrp-mlmsg * {line-height:1.22em;}#yiv1907703654 #yiv1907703654ygrp-mlmsg #yiv1907703654logo {padding-bottom:10px;}#yiv1907703654 #yiv1907703654ygrp-msg p a {font-family:Verdana;}#yiv1907703654 #yiv1907703654ygrp-msg p#yiv1907703654attach-count span {color:#1E66AE;font-weight:700;}#yiv1907703654 #yiv1907703654ygrp-reco #yiv1907703654reco-head {color:#ff7900;font-weight:700;}#yiv1907703654 #yiv1907703654ygrp-reco {margin-bottom:20px;padding:0px;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ov li a {font-size:130%;text-decoration:none;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv1907703654 #yiv1907703654ygrp-sponsor #yiv1907703654ov ul {margin:0;padding:0 0 0 8px;}#yiv1907703654 #yiv1907703654ygrp-text {font-family:Georgia;}#yiv1907703654 #yiv1907703654ygrp-text p {margin:0 0 1em 0;}#yiv1907703654 #yiv1907703654ygrp-text tt {font-size:120%;}#yiv1907703654 #yiv1907703654ygrp-vital ul li:last-child {border-right:none !important;}#yiv1907703654

 
Reply | Threaded
Open this post in threaded view
|

Re: Fw: Re: [OpenCV] Fw: OpenCV program

opencv-users mailing list
Hi Ed,

Thanks a lot for the prompt reply.
I will certainly try these combination of functions.

Regards
Abhishek
--------------------------------------------
On Tue, 9/15/15, Ed Dow [hidden email] [OpenCV] <[hidden email]> wrote:

 Subject: Re: Fw: Re: [OpenCV] Fw: OpenCV program
 To: "[hidden email]" <[hidden email]>
 Date: Tuesday, September 15, 2015, 12:57 AM
 
 
  
 
 
 
   
 
 
     
       
       
       Greetings
 Abhishek,I think I
 misunderstood what you were trying to do...I've
 been using openCV for image matching and less with
 processing.
 Just
 looking at some functions in the openCV book:
 cvDilate
 -- bright regions expanded and joined  ...image looks
 brighter
 
 cvErode  --bright regions are isolated and shrunk  ...
 image looks darker
 cvFloodFill
 -- looks like it's defining edges... it would probably
 only give you outlines of the circles
 I wonder
 if you could use some of these in combination to give you
 what you want?
 Sorry...
 I don't have any real solutions for you but only
 suggestions.
 
 Ed
 ps -- if
 I get a chance I'll play with some of these functions
 and see what they give me. 
   
   From: "Abhishek
 Tiwari [hidden email] [OpenCV]"
 <[hidden email]>
  To:
 [hidden email]
  Sent: Monday, September
 14, 2015 10:53 AM
  Subject: Re: Fw: Re:
 [OpenCV] Fw: OpenCV program
   
 
 
  
 
 
 
   
 
 
     
       
       
       Hi Ed,
 
 
 
 I am new to the world of image processing(old enough to
 C/C++ programming world though).
 
 Sorry, I could not quite understand what you are trying to
 suggest as an answer.
 
 So, I am thinking from this angle :
 
 How to remove the whitish background and brighten the
 circles
 
 and NOT as follows :
 
 jpg to tiff /tiff to jpg conversion - My limited image
 processing domain expertise does not allow me to think this
 way.
 
 
 
 Kindly help me woth detailed answer and if possible with a
 solution.
 
 Regards
 
 Abhishek
 
 --------------------------------------------
 
 On Mon, 9/14/15, [hidden email] [OpenCV]
 <[hidden email]> wrote:
 
 
 
 Subject: Re: Fw: Re: [OpenCV] Fw: OpenCV program
 
  To: [hidden email]
 
  Date: Monday, September 14, 2015, 9:48 PM
 
 
 
 
 
   
 
 
 
 
 
 
 
   
 
 
 
 
 
     
 
       
 
       
 
        Greetings,
 
 
 
  Just looking at what you're trying to do.... You are
 
  converting a jpg to tiff, correct?
 
 
 
  If this is the case, a jpg is a lossy format.  Unless
 you
 
  perform some transformations or black magic the quality
 will
 
  remain the same I'm thinking, as the bits have
 already
 
  been lost.   Now if you were going the other way tiff to
 jpg
 
  you may get a lesser quality after converting.
 
 
 
 
 
 
 
  Respectfully
 
 
 
  Ed
 
 
 
 
 
 
 
     
 
       
 
 
 
     
 
     
 
 
 
 
 
 
 
  #yiv6988883218 #yiv6988883218 --
 
    #yiv6988883218ygrp-mkp {
 
  border:1px solid #d8d8d8;font-family:Arial;margin:10px
 
  0;padding:0 10px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp hr {
 
  border:1px solid #d8d8d8;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218hd {
 
  color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 
  0;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp #yiv6988883218ads
 {
 
  margin-bottom:10px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad {
 
  padding:0 0;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad p
 {
 
  margin:0;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mkp .yiv6988883218ad a
 {
 
  color:#0000ff;text-decoration:none;}
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 
  #yiv6988883218ygrp-lc {
 
  font-family:Arial;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 
  #yiv6988883218ygrp-lc #yiv6988883218hd {
 
  margin:10px
 
  0px;font-weight:700;font-size:78%;line-height:122%;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 
  #yiv6988883218ygrp-lc .yiv6988883218ad {
 
  margin-bottom:10px;padding:0 0;}
 
 
 
  #yiv6988883218 #yiv6988883218actions {
 
  font-family:Verdana;font-size:11px;padding:10px 0;}
 
 
 
  #yiv6988883218 #yiv6988883218activity {
 
  background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 
 
  #yiv6988883218 #yiv6988883218activity span {
 
  font-weight:700;}
 
 
 
  #yiv6988883218 #yiv6988883218activity span:first-child {
 
  text-transform:uppercase;}
 
 
 
  #yiv6988883218 #yiv6988883218activity span a {
 
  color:#5085b6;text-decoration:none;}
 
 
 
  #yiv6988883218 #yiv6988883218activity span span {
 
  color:#ff7900;}
 
 
 
  #yiv6988883218 #yiv6988883218activity span
 
  .yiv6988883218underline {
 
  text-decoration:underline;}
 
 
 
  #yiv6988883218 .yiv6988883218attach {
 
  clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 
  0;width:400px;}
 
 
 
  #yiv6988883218 .yiv6988883218attach div a {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 .yiv6988883218attach img {
 
  border:none;padding-right:5px;}
 
 
 
  #yiv6988883218 .yiv6988883218attach label {
 
  display:block;margin-bottom:5px;}
 
 
 
  #yiv6988883218 .yiv6988883218attach label a {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 blockquote {
 
  margin:0 0 0 4px;}
 
 
 
  #yiv6988883218 .yiv6988883218bold {
 
  font-family:Arial;font-size:13px;font-weight:700;}
 
 
 
  #yiv6988883218 .yiv6988883218bold a {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 dd.yiv6988883218last p a {
 
  font-family:Verdana;font-weight:700;}
 
 
 
  #yiv6988883218 dd.yiv6988883218last p span {
 
  margin-right:10px;font-family:Verdana;font-weight:700;}
 
 
 
  #yiv6988883218 dd.yiv6988883218last p
 
  span.yiv6988883218yshortcuts {
 
  margin-right:0;}
 
 
 
  #yiv6988883218 div.yiv6988883218attach-table div div a {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 div.yiv6988883218attach-table {
 
  width:400px;}
 
 
 
  #yiv6988883218 div.yiv6988883218file-title a,
 #yiv6988883218
 
  div.yiv6988883218file-title a:active, #yiv6988883218
 
  div.yiv6988883218file-title a:hover, #yiv6988883218
 
  div.yiv6988883218file-title a:visited {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 div.yiv6988883218photo-title a,
 
  #yiv6988883218 div.yiv6988883218photo-title a:active,
 
  #yiv6988883218 div.yiv6988883218photo-title a:hover,
 
  #yiv6988883218 div.yiv6988883218photo-title a:visited {
 
  text-decoration:none;}
 
 
 
  #yiv6988883218 div#yiv6988883218ygrp-mlmsg
 
  #yiv6988883218ygrp-msg p a span.yiv6988883218yshortcuts
 {
 
  font-family:Verdana;font-size:10px;font-weight:normal;}
 
 
 
  #yiv6988883218 .yiv6988883218green {
 
  color:#628c2a;}
 
 
 
  #yiv6988883218 .yiv6988883218MsoNormal {
 
  margin:0 0 0 0;}
 
 
 
  #yiv6988883218 o {
 
  font-size:0;}
 
 
 
  #yiv6988883218 #yiv6988883218photos div {
 
  float:left;width:72px;}
 
 
 
  #yiv6988883218 #yiv6988883218photos div div {
 
  border:1px solid
 
  #666666;height:62px;overflow:hidden;width:62px;}
 
 
 
  #yiv6988883218 #yiv6988883218photos div label {
 
  color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 
 
  #yiv6988883218 #yiv6988883218reco-category {
 
  font-size:77%;}
 
 
 
  #yiv6988883218 #yiv6988883218reco-desc {
 
  font-size:77%;}
 
 
 
  #yiv6988883218 .yiv6988883218replbq {
 
  margin:4px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-actbar div a:first-child
 {
 
  margin-right:2px;padding-right:5px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg {
 
  font-size:13px;font-family:Arial, helvetica, clean,
 
  sans-serif;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg table {
 
  font-size:inherit;font:100%;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg select,
 
  #yiv6988883218 input, #yiv6988883218 textarea {
 
  font:99% Arial, Helvetica, clean, sans-serif;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg pre,
 #yiv6988883218
 
  code {
 
  font:115% monospace;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg * {
 
  line-height:1.22em;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-mlmsg #yiv6988883218logo
 {
 
  padding-bottom:10px;}
 
 
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-msg p a {
 
  font-family:Verdana;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-msg
 
  p#yiv6988883218attach-count span {
 
  color:#1E66AE;font-weight:700;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-reco
 
  #yiv6988883218reco-head {
 
  color:#ff7900;font-weight:700;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-reco {
 
  margin-bottom:20px;padding:0px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ov
 
  li a {
 
  font-size:130%;text-decoration:none;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ov
 
  li {
 
  font-size:77%;list-style-type:square;padding:6px 0;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-sponsor
 #yiv6988883218ov
 
  ul {
 
  margin:0;padding:0 0 0 8px;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-text {
 
  font-family:Georgia;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-text p {
 
  margin:0 0 1em 0;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-text tt {
 
  font-size:120%;}
 
 
 
  #yiv6988883218 #yiv6988883218ygrp-vital ul li:last-child
 {
 
  border-right:none !important;
 
  }
 
  #yiv6988883218
 
 
 
 
 
     
     
 
     
     
 
 
 
 
 
   
 
     
     
 
     
     
 
 
 
 #yiv8239313820 #yiv8239313820 --
   #yiv8239313820ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp #yiv8239313820hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp #yiv8239313820ads {
 margin-bottom:10px;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp .yiv8239313820ad {
 padding:0 0;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp .yiv8239313820ad p {
 margin:0;}
 
 #yiv8239313820 #yiv8239313820ygrp-mkp .yiv8239313820ad a {
 color:#0000ff;text-decoration:none;}
 #yiv8239313820 #yiv8239313820ygrp-sponsor
 #yiv8239313820ygrp-lc {
 font-family:Arial;}
 
 #yiv8239313820 #yiv8239313820ygrp-sponsor
 #yiv8239313820ygrp-lc #yiv8239313820hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv8239313820 #yiv8239313820ygrp-sponsor
 #yiv8239313820ygrp-lc .yiv8239313820ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv8239313820 #yiv8239313820actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv8239313820 #yiv8239313820activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv8239313820 #yiv8239313820activity span {
 font-weight:700;}
 
 #yiv8239313820 #yiv8239313820activity span:first-child {
 text-transform:uppercase;}
 
 #yiv8239313820 #yiv8239313820activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv8239313820 #yiv8239313820activity span span {
 color:#ff7900;}
 
 #yiv8239313820 #yiv8239313820activity span
 .yiv8239313820underline {
 text-decoration:underline;}
 
 #yiv8239313820 .yiv8239313820attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv8239313820 .yiv8239313820attach div a {
 text-decoration:none;}
 
 #yiv8239313820 .yiv8239313820attach img {
 border:none;padding-right:5px;}
 
 #yiv8239313820 .yiv8239313820attach label {
 display:block;margin-bottom:5px;}
 
 #yiv8239313820 .yiv8239313820attach label a {
 text-decoration:none;}
 
 #yiv8239313820 blockquote {
 margin:0 0 0 4px;}
 
 #yiv8239313820 .yiv8239313820bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv8239313820 .yiv8239313820bold a {
 text-decoration:none;}
 
 #yiv8239313820 dd.yiv8239313820last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv8239313820 dd.yiv8239313820last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv8239313820 dd.yiv8239313820last p
 span.yiv8239313820yshortcuts {
 margin-right:0;}
 
 #yiv8239313820 div.yiv8239313820attach-table div div a {
 text-decoration:none;}
 
 #yiv8239313820 div.yiv8239313820attach-table {
 width:400px;}
 
 #yiv8239313820 div.yiv8239313820file-title a, #yiv8239313820
 div.yiv8239313820file-title a:active, #yiv8239313820
 div.yiv8239313820file-title a:hover, #yiv8239313820
 div.yiv8239313820file-title a:visited {
 text-decoration:none;}
 
 #yiv8239313820 div.yiv8239313820photo-title a,
 #yiv8239313820 div.yiv8239313820photo-title a:active,
 #yiv8239313820 div.yiv8239313820photo-title a:hover,
 #yiv8239313820 div.yiv8239313820photo-title a:visited {
 text-decoration:none;}
 
 #yiv8239313820 div#yiv8239313820ygrp-mlmsg
 #yiv8239313820ygrp-msg p a span.yiv8239313820yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv8239313820 .yiv8239313820green {
 color:#628c2a;}
 
 #yiv8239313820 .yiv8239313820MsoNormal {
 margin:0 0 0 0;}
 
 #yiv8239313820 o {
 font-size:0;}
 
 #yiv8239313820 #yiv8239313820photos div {
 float:left;width:72px;}
 
 #yiv8239313820 #yiv8239313820photos div div {
 border:1px solid
 #666666;height:62px;overflow:hidden;width:62px;}
 
 #yiv8239313820 #yiv8239313820photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv8239313820 #yiv8239313820reco-category {
 font-size:77%;}
 
 #yiv8239313820 #yiv8239313820reco-desc {
 font-size:77%;}
 
 #yiv8239313820 .yiv8239313820replbq {
 margin:4px;}
 
 #yiv8239313820 #yiv8239313820ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg select,
 #yiv8239313820 input, #yiv8239313820 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg pre, #yiv8239313820
 code {
 font:115% monospace;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv8239313820 #yiv8239313820ygrp-mlmsg #yiv8239313820logo {
 padding-bottom:10px;}
 
 
 #yiv8239313820 #yiv8239313820ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv8239313820 #yiv8239313820ygrp-msg
 p#yiv8239313820attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv8239313820 #yiv8239313820ygrp-reco
 #yiv8239313820reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv8239313820 #yiv8239313820ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv8239313820 #yiv8239313820ygrp-sponsor #yiv8239313820ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv8239313820 #yiv8239313820ygrp-sponsor #yiv8239313820ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv8239313820 #yiv8239313820ygrp-sponsor #yiv8239313820ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv8239313820 #yiv8239313820ygrp-text {
 font-family:Georgia;}
 
 #yiv8239313820 #yiv8239313820ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv8239313820 #yiv8239313820ygrp-text tt {
 font-size:120%;}
 
 #yiv8239313820 #yiv8239313820ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv8239313820