Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #12626 > unrolled thread

Transform a 2D color image into 2 images of (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization

Started by88888 Dihedral <dihedral88888@googlemail.com>
First post2011-12-17 11:37 -0800
Last post2011-12-23 09:28 -0500
Articles 11 — 5 participants

Back to article view | Back to comp.lang.c++


Contents

  Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-17 11:37 -0800
    Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Juha Nieminen <nospam@thanks.invalid> - 2011-12-19 10:19 +0000
      Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-19 08:18 -0500
        Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-19 06:04 -0800
          Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-19 12:15 -0500
            Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-20 13:13 -0800
              Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Jeff Flinn <TriumphSprint2000@hotmail.com> - 2011-12-21 08:33 -0500
                Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization LR <lruss@superlink.net> - 2011-12-21 09:57 -0500
              Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-21 11:18 -0500
                Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-22 11:50 -0800
                  Re: Transform a 2D color  image into 2 images of  (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-23 09:28 -0500

#12626 — Transform a 2D color image into 2 images of (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization

From88888 Dihedral <dihedral88888@googlemail.com>
Date2011-12-17 11:37 -0800
SubjectTransform a 2D color image into 2 images of (R1,G1,B) at each pixel of image 1 and (R2,G2,B) at each pixel of image2 for STEREO visualization
Message-ID<14650739.659.1324150675018.JavaMail.geo-discussion-forums@prix23>
I am wondering is there any open source C++ lib can do this.

Could any function in OpenGl do this non-trivial task?

Or I have to do it from the groud up again?

[toc] | [next] | [standalone]


#12654

FromJuha Nieminen <nospam@thanks.invalid>
Date2011-12-19 10:19 +0000
Message-ID<4eef0fbe$0$3099$7b1e8fa0@news.nbl.fi>
In reply to#12626
88888 Dihedral <dihedral88888@googlemail.com> wrote:
> I am wondering is there any open source C++ lib can do this.
> 
> Could any function in OpenGl do this non-trivial task?
> 
> Or I have to do it from the groud up again?

  Please do not ask your question in the subject line, especially given that
it's such a long and complicated one.

[toc] | [prev] | [next] | [standalone]


#12659

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2011-12-19 08:18 -0500
Message-ID<jcndib$ni3$1@dont-email.me>
In reply to#12654
On 12/19/2011 5:19 AM, Juha Nieminen wrote:
> 88888 Dihedral<dihedral88888@googlemail.com>  wrote:
>> I am wondering is there any open source C++ lib can do this.
>>
>> Could any function in OpenGl do this non-trivial task?
>>
>> Or I have to do it from the groud up again?
>
>    Please do not ask your question in the subject line, especially given that
> it's such a long and complicated one.

...and may I add a suggestion to not ask the question in the subject 
line in the right newsgroup, as well?  comp.graphics.api.opengl is the 
right one if you need OpenGL, or just comp.graphics.algorithms if you 
need somebody's help on devising one (algorithm, that is)

Thanks!

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [next] | [standalone]


#12660

From88888 Dihedral <dihedral88888@googlemail.com>
Date2011-12-19 06:04 -0800
Message-ID<21809068.268.1324303460945.JavaMail.geo-discussion-forums@prfi34>
In reply to#12659
On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
> > 88888 Dihedral<dihedr...@googlemail.com>  wrote:
> >> I am wondering is there any open source C++ lib can do this.
> >>
> >> Could any function in OpenGl do this non-trivial task?
> >>
> >> Or I have to do it from the groud up again?
> >
> >    Please do not ask your question in the subject line, especially given that
> > it's such a long and complicated one.
> 
> ...and may I add a suggestion to not ask the question in the subject 
> line in the right newsgroup, as well?  comp.graphics.api.opengl is the 
> right one if you need OpenGL, or just comp.graphics.algorithms if you 
> need somebody's help on devising one (algorithm, that is)
> 
> Thanks!
> 
> V
> -- 
> I do not respond to top-posted replies, please don't ask

Thus, there is no easy open source for this problem in C++. 
Am I guessing wrong ?

[toc] | [prev] | [next] | [standalone]


#12663

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2011-12-19 12:15 -0500
Message-ID<jcnrev$g38$1@dont-email.me>
In reply to#12660
On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
>>> 88888 Dihedral<dihedr...@googlemail.com>   wrote:
>>>> I am wondering is there any open source C++ lib can do this.
>>>>
>>>> Could any function in OpenGl do this non-trivial task?
>>>>
>>>> Or I have to do it from the groud up again?
>>>
>>>     Please do not ask your question in the subject line, especially given that
>>> it's such a long and complicated one.
>>
>> ...and may I add a suggestion to not ask the question in the subject
>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
>> right one if you need OpenGL, or just comp.graphics.algorithms if you
>> need somebody's help on devising one (algorithm, that is)
>>
>> Thanks!
>>
>> V
>> --
>> I do not respond to top-posted replies, please don't ask
>
> Thus, there is no easy open source for this problem in C++.
> Am I guessing wrong ?

<shrug> I have no idea.  But if *I* were to try to find a solution, I'd 
be looking *elsewhere*.  comp.lang.c++ is not a repository of all open 
source solutions for all possible problems that can be implemented in C++.

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [next] | [standalone]


#12712

From88888 Dihedral <dihedral88888@googlemail.com>
Date2011-12-20 13:13 -0800
Message-ID<21023207.490.1324415606564.JavaMail.geo-discussion-forums@preg20>
In reply to#12663
On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
> > On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
> >> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
> >>> 88888 Dihedral<dihe...@googlemail.com>   wrote:
> >>>> I am wondering is there any open source C++ lib can do this.
> >>>>
> >>>> Could any function in OpenGl do this non-trivial task?
> >>>>
> >>>> Or I have to do it from the groud up again?
> >>>
> >>>     Please do not ask your question in the subject line, especially given that
> >>> it's such a long and complicated one.
> >>
> >> ...and may I add a suggestion to not ask the question in the subject
> >> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
> >> right one if you need OpenGL, or just comp.graphics.algorithms if you
> >> need somebody's help on devising one (algorithm, that is)
> >>
> >> Thanks!
> >>
> >> V
> >> --
> >> I do not respond to top-posted replies, please don't ask
> >
> > Thus, there is no easy open source for this problem in C++.
> > Am I guessing wrong ?
> 
> <shrug> I have no idea.  But if *I* were to try to find a solution, I'd 
> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open 
> source solutions for all possible problems that can be implemented in C++.
> 
> V
> -- 
> I do not respond to top-posted replies, please don't ask

If a language does not have a smart library then it is really tedious
to do everything from the ground up again. 

OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
graphics.   

[toc] | [prev] | [next] | [standalone]


#12726

FromJeff Flinn <TriumphSprint2000@hotmail.com>
Date2011-12-21 08:33 -0500
Message-ID<jcsn8d$gn7$1@dont-email.me>
In reply to#12712
88888 Dihedral wrote:
> On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
>> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
>>> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
>>>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
>>>>> 88888 Dihedral<dihe...@googlemail.com>   wrote:
>>>>>> I am wondering is there any open source C++ lib can do this.
>>>>>>
>>>>>> Could any function in OpenGl do this non-trivial task?
>>>>>>
>>>>>> Or I have to do it from the groud up again?
>>>>>     Please do not ask your question in the subject line, especially given that
>>>>> it's such a long and complicated one.
>>>> ...and may I add a suggestion to not ask the question in the subject
>>>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
>>>> right one if you need OpenGL, or just comp.graphics.algorithms if you
>>>> need somebody's help on devising one (algorithm, that is)
>>>>
>>>> Thanks!
>>>>
>>>> V
>>>> --
>>>> I do not respond to top-posted replies, please don't ask
>>> Thus, there is no easy open source for this problem in C++.
>>> Am I guessing wrong ?
>> <shrug> I have no idea.  But if *I* were to try to find a solution, I'd 
>> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open 
>> source solutions for all possible problems that can be implemented in C++.
>>
>> V
>> -- 
>> I do not respond to top-posted replies, please don't ask
> 
> If a language does not have a smart library then it is really tedious
> to do everything from the ground up again. 
> 
> OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
> graphics.   
> 

See boost's Generic Image Library at 
http://www.boost.org/doc/libs/1_48_0/libs/gil/doc/index.html.

Jeff

Jeff

[toc] | [prev] | [next] | [standalone]


#12727

FromLR <lruss@superlink.net>
Date2011-12-21 09:57 -0500
Message-ID<4ef1f359$0$22197$cc2e38e6@news.uslec.net>
In reply to#12726
Jeff Flinn wrote:
> 88888 Dihedral wrote:
>> On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
>>> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
>>>> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
>>>>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
>>>>>> 88888 Dihedral<dihe...@googlemail.com>   wrote:
>>>>>>> I am wondering is there any open source C++ lib can do this.
>>>>>>>
>>>>>>> Could any function in OpenGl do this non-trivial task?
>>>>>>>
>>>>>>> Or I have to do it from the groud up again?
>>>>>>     Please do not ask your question in the subject line, especially given that
>>>>>> it's such a long and complicated one.
>>>>> ...and may I add a suggestion to not ask the question in the subject
>>>>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
>>>>> right one if you need OpenGL, or just comp.graphics.algorithms if you
>>>>> need somebody's help on devising one (algorithm, that is)
>>>>>
>>>>> Thanks!
>>>>>
>>>>> V
>>>>> --
>>>>> I do not respond to top-posted replies, please don't ask
>>>> Thus, there is no easy open source for this problem in C++.
>>>> Am I guessing wrong ?
>>> <shrug> I have no idea.  But if *I* were to try to find a solution, I'd 
>>> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open 
>>> source solutions for all possible problems that can be implemented in C++.
>>>
>>> V
>>> -- 
>>> I do not respond to top-posted replies, please don't ask
>>
>> If a language does not have a smart library then it is really tedious
>> to do everything from the ground up again. 
>>
>> OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
>> graphics.   
>>
> 
> See boost's Generic Image Library at 
> http://www.boost.org/doc/libs/1_48_0/libs/gil/doc/index.html.
> 
> Jeff

You may also find http://opencv.willowgarage.com/wiki/ useful.

[toc] | [prev] | [next] | [standalone]


#12728

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2011-12-21 11:18 -0500
Message-ID<jct0tr$fvm$1@dont-email.me>
In reply to#12712
On 12/20/2011 4:13 PM, 88888 Dihedral wrote:
> On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
>> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
>>> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
>>>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
>>>>> 88888 Dihedral<dihe...@googlemail.com>    wrote:
>>>>>> I am wondering is there any open source C++ lib can do this.
>>>>>>
>>>>>> Could any function in OpenGl do this non-trivial task?
>>>>>>
>>>>>> Or I have to do it from the groud up again?
>>>>>
>>>>>      Please do not ask your question in the subject line, especially given that
>>>>> it's such a long and complicated one.
>>>>
>>>> ...and may I add a suggestion to not ask the question in the subject
>>>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
>>>> right one if you need OpenGL, or just comp.graphics.algorithms if you
>>>> need somebody's help on devising one (algorithm, that is)
>>>>
>>>> Thanks!
>>>>
>>>> V
>>>> --
>>>> I do not respond to top-posted replies, please don't ask
>>>
>>> Thus, there is no easy open source for this problem in C++.
>>> Am I guessing wrong ?
>>
>> <shrug>  I have no idea.  But if *I* were to try to find a solution, I'd
>> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open
>> source solutions for all possible problems that can be implemented in C++.
>>
>> V
>> --
>> I do not respond to top-posted replies, please don't ask
>
> If a language does not have a smart library then it is really tedious
> to do everything from the ground up again.

Generally speaking, there is no such thing as "a smart library" for 
every possible future problem that people haven't yet encountered, not 
to mention to satisfy every possible requirement from every potential 
user of such a library, so there *always* be somebody contesting the 
"smartness" of that library.

> OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
> graphics.

Best of luck with it!

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [next] | [standalone]


#12746

From88888 Dihedral <dihedral88888@googlemail.com>
Date2011-12-22 11:50 -0800
Message-ID<6030599.559.1324583402029.JavaMail.geo-discussion-forums@prol32>
In reply to#12728
On Thursday, December 22, 2011 12:18:58 AM UTC+8, Victor Bazarov wrote:
> On 12/20/2011 4:13 PM, 88888 Dihedral wrote:
> > On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
> >> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
> >>> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
> >>>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
> >>>>> 88888 Dihedral<dih...@googlemail.com>    wrote:
> >>>>>> I am wondering is there any open source C++ lib can do this.
> >>>>>>
> >>>>>> Could any function in OpenGl do this non-trivial task?
> >>>>>>
> >>>>>> Or I have to do it from the groud up again?
> >>>>>
> >>>>>      Please do not ask your question in the subject line, especially given that
> >>>>> it's such a long and complicated one.
> >>>>
> >>>> ...and may I add a suggestion to not ask the question in the subject
> >>>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
> >>>> right one if you need OpenGL, or just comp.graphics.algorithms if you
> >>>> need somebody's help on devising one (algorithm, that is)
> >>>>
> >>>> Thanks!
> >>>>
> >>>> V
> >>>> --
> >>>> I do not respond to top-posted replies, please don't ask
> >>>
> >>> Thus, there is no easy open source for this problem in C++.
> >>> Am I guessing wrong ?
> >>
> >> <shrug>  I have no idea.  But if *I* were to try to find a solution, I'd
> >> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open
> >> source solutions for all possible problems that can be implemented in C++.
> >>
> >> V
> >> --
> >> I do not respond to top-posted replies, please don't ask
> >
> > If a language does not have a smart library then it is really tedious
> > to do everything from the ground up again.
> 
> Generally speaking, there is no such thing as "a smart library" for 
> every possible future problem that people haven't yet encountered, not 
> to mention to satisfy every possible requirement from every potential 
> user of such a library, so there *always* be somebody contesting the 
> "smartness" of that library.
> 
> > OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
> > graphics.
> 
> Best of luck with it!
> 
> V
> -- 
> I do not respond to top-posted replies, please don't ask

I have to separate the background still objects and the moving or interactive foreground objects such as humans and animals first. 

Thus a good and fast edge tracing algorithm is necessary. 

Any suggestions?

I have to perform edge tracing of sub-sampled images first. 

The full resolution images will give more details. 

[toc] | [prev] | [next] | [standalone]


#12767

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2011-12-23 09:28 -0500
Message-ID<jd236g$os4$1@dont-email.me>
In reply to#12746
On 12/22/2011 2:50 PM, 88888 Dihedral wrote:
> On Thursday, December 22, 2011 12:18:58 AM UTC+8, Victor Bazarov wrote:
>> On 12/20/2011 4:13 PM, 88888 Dihedral wrote:
>>> On Tuesday, December 20, 2011 1:15:11 AM UTC+8, Victor Bazarov wrote:
>>>> On 12/19/2011 9:04 AM, 88888 Dihedral wrote:
>>>>> On Monday, December 19, 2011 9:18:02 PM UTC+8, Victor Bazarov wrote:
>>>>>> On 12/19/2011 5:19 AM, Juha Nieminen wrote:
>>>>>>> 88888 Dihedral<dih...@googlemail.com>     wrote:
>>>>>>>> I am wondering is there any open source C++ lib can do this.
>>>>>>>>
>>>>>>>> Could any function in OpenGl do this non-trivial task?
>>>>>>>>
>>>>>>>> Or I have to do it from the groud up again?
>>>>>>>
>>>>>>>       Please do not ask your question in the subject line, especially given that
>>>>>>> it's such a long and complicated one.
>>>>>>
>>>>>> ...and may I add a suggestion to not ask the question in the subject
>>>>>> line in the right newsgroup, as well?  comp.graphics.api.opengl is the
>>>>>> right one if you need OpenGL, or just comp.graphics.algorithms if you
>>>>>> need somebody's help on devising one (algorithm, that is)
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> V
>>>>>> --
>>>>>> I do not respond to top-posted replies, please don't ask
>>>>>
>>>>> Thus, there is no easy open source for this problem in C++.
>>>>> Am I guessing wrong ?
>>>>
>>>> <shrug>   I have no idea.  But if *I* were to try to find a solution, I'd
>>>> be looking *elsewhere*.  comp.lang.c++ is not a repository of all open
>>>> source solutions for all possible problems that can be implemented in C++.
>>>>
>>>> V
>>>> --
>>>> I do not respond to top-posted replies, please don't ask
>>>
>>> If a language does not have a smart library then it is really tedious
>>> to do everything from the ground up again.
>>
>> Generally speaking, there is no such thing as "a smart library" for
>> every possible future problem that people haven't yet encountered, not
>> to mention to satisfy every possible requirement from every potential
>> user of such a library, so there *always* be somebody contesting the
>> "smartness" of that library.
>>
>>> OK, I'll use the Simple-Directmedia Library to play with real 3D stereo
>>> graphics.
>>
>> Best of luck with it!
>>
>> V
>> --
>> I do not respond to top-posted replies, please don't ask
>
> I have to separate the background still objects and the moving or interactive foreground objects such as humans and animals first.
>
> Thus a good and fast edge tracing algorithm is necessary.
>
> Any suggestions?
>
> I have to perform edge tracing of sub-sampled images first.
>
> The full resolution images will give more details.

I don't have any suggestion on a tracing algorithm or library.  I have a 
suggestion, though.  Since you're interested in graphics and image 
processing, post to 'comp.graphics.algorithms', I am sure you will find 
more information that way.

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web