<div>Hi Weicheng, </div><div><br></div><div>Probably not.</div><div><br></div><div>I am on vacation right now. Will have to take a look when I get back or you could</div><div>send a patch yourself for gerrit review.</div><div>
<br></div><div>Thanks. </div><div><br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 5:46 AM, SHEN, WEICHENG . <span dir="ltr"><<a href="mailto:WEICHENG.SHEN@saic.com">WEICHENG.SHEN@saic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>Hi Xiaoxiao:</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>After I built the "BasicFilteringITKOpenCVBridge"
project on my Windows 7 workstation (64-bit) using MS Visual Studio 2010, I was
able to test the images of certain number of columns. It appears that the
function "BridgeType::CVMatToITKImage" works for the images of 128, 256,
and 512 columns (perhaps other number of powers of 2 as well). However, It does
not seem to work correctly when the columns numbers of the tested images are of
255 and 553 (which are the ones that I have tested). </span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>The above observation was made for the ITK 4.0rc5. I
wonder if it has been fixed in the subsequent releases?</span></font></div><div class="im">
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff"><span>Thanks,</span></font></div>
<p><font>Weicheng Shen, Ph.D.<br>Senior Scientist<br>Science Applications
International Corporation<br>1710 SAIC Drive<br>MailStop: 2-4-7<br>McLean, VA
22102<br><a href="tel:%28703%29%20676-4189" value="+17036764189" target="_blank">(703) 676-4189</a><br><br></font></p>
<div> </div><br>
</div><div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma"><b>From:</b> SHEN, WEICHENG . <br><b>Sent:</b> Sunday,
December 18, 2011 1:28 PM<br><b>To:</b> Xiaoxiao Liu<div class="im"><br><b>Cc:</b> Matt
McCormick; <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>; Patrick Reynolds<br></div><b>Subject:</b> RE:
[Insight-users] How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br></font><br></div><div><div class="h5">
<div></div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000">Hi Xiaoxiao:</font></div>
<div dir="ltr"><font face="Arial"></font> </div>
<div dir="ltr"><font face="Arial">Thanks for the info! It really
helps.</font></div>
<div dir="ltr"><font face="Arial"></font> </div>
<div dir="ltr"><font face="Arial">Best regards,</font></div>
<div dir="ltr"><font face="Arial"></font> </div>
<div dir="ltr"><font face="Arial">Weicheng</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma"><b>From:</b> Xiaoxiao Liu
[mailto:<a href="mailto:xiaoxiao.liu@kitware.com" target="_blank">xiaoxiao.liu@kitware.com</a>]<br><b>Sent:</b> Fri 12/16/2011 11:41
AM<br><b>To:</b> SHEN, WEICHENG .<br><b>Cc:</b> Matt McCormick;
<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>; Patrick Reynolds<br><b>Subject:</b> Re: [Insight-users]
How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br></font><br></div>
<div>Hi Weicheng,
<div>We started refactoring the video related code into itk modules after
cvpr. </div>
<div>Not all the codes from the cvpr tutorial has made into current ITK yet.
There are </div>
<div>ITKVideoCore, ITKVideoIO, ITKBridgeOpenCV and ITKBridgeVXL right now.</div>
<div><br></div>
<div>We were planning to refactor the video filtering code into a
ITKVideoFiltering module later.</div>
<div>You could find the original files in github:</div>
<div><a href="https://github.com/PatrickCheng/ITK/tree/4b2cc7d77bc986beb656d8c29c449a33cab0afde/Modules/VideoFilters/Common/include" target="_blank">https://github.com/PatrickCheng/ITK/tree/4b2cc7d77bc986beb656d8c29c449a33cab0afde/Modules/VideoFilters/Common/include</a></div>
<div><br></div>
<div>Hope this helps.</div>
<div>Thanks.</div>
<div><br></div>
<div>-Xiaoxiao</div>
<div><br></div>
<div><br>
<div class="gmail_quote">On Fri, Dec 16, 2011 at 6:45 AM, SHEN, WEICHENG . <span dir="ltr"><<a href="mailto:WEICHENG.SHEN@saic.com" target="_blank">WEICHENG.SHEN@saic.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">Hello
Patrick and Xiaoxiao:<br><br>I am learning the use of ITK-OpenCV-Bridge in ITK
4.0. Having completed the exercises of the
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial" inside the VirtualBox,
I have attempted to build the exercises contained in the
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial" on my Windows 7
workstation using Visual Studio 2010, outside of the VirtualBox. I have
already built the ITK version 4.0rc05 on my Windows 7
workstation.<br><br>However, I found that
"itkImageFilterToVideoFilterWrapper.h" and
"itkImageFilterToVideoFilterWrapper.hxx" needed for building the exercises of
the "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial" appear missing from
the ITK version 4.0rc05.<br><br>Do you guys know where these files might be
located, or they are renamed to something else?<br>
<div><br>Thanks,<br><br>Weicheng Shen, Ph.D.<br>Senior
Scientist<br>Science Applications International Corporation<br>1710 SAIC
Drive<br>MailStop: 2-4-7<br>McLean, VA 22102<br><a value="+17036764189">(703) 676-4189</a><br><br><br>-----Original
Message-----<br>From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>]<br></div>
<div>Sent: Wednesday, December 14, 2011 6:47 PM<br>To: SHEN,
WEICHENG .<br></div>
<div>
<div>Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>; Patrick
Reynolds; Xiaoxiao Liu<br>Subject: Re: [Insight-users] How To Build Exerceises
in "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br><br>Hi
Weicheng,<br><br>I am not sure where this file moved or if it changed names.
Patrick or Xiaoxiao may know that information.<br><br>In the 'tests'
directory of every module are unit tests. These are a good place to
look. Do the FileListVideoIOTest from the ITKVideoIO module provide what
you are looking for?<br><br>Please 'Reply To All' so the insight-user's list
is always CC'd.<br><br>Thanks,<br>Matt<br><br>On Wed, Dec 14, 2011 at 5:51 PM,
SHEN, WEICHENG .<br><<a href="mailto:WEICHENG.SHEN@saic.com" target="_blank">WEICHENG.SHEN@saic.com</a>>
wrote:<br>> Hi Matt:<br>><br>> OK, thanks! The specifica file I am
looking for is "itkImageFilterToVideoFilterWrapper.h" and
"itkImageFilterToVideoFilterWrapper.hxx", both of them were contained in the
home/tutorial/src/itkvido. I could not find these two header files in the
module/video subdirectories of the itkv4 (I have build the itk 4.0 rc03 on my
windows workstation). Are these two header files replaced by new
files?<br>><br>> Thanks,<br>><br>> Weicheng Shen, Ph.D.<br>>
Senior Scientist<br>> Science Applications International Corporation 1710
SAIC Drive<br>> MailStop: 2-4-7<br>> McLean, VA 22102<br>> <a value="+17036764189">(703) 676-4189</a><br>><br>><br>> -----Original
Message-----<br>> From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>]<br>>
Sent: Wednesday, December 14, 2011 5:43 PM<br>> To: SHEN, WEICHENG
.<br>> Subject: Re: [Insight-users] How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br>><br>> Hi
Weicheng,<br>><br>> Most of this code has been moved into the ITK
repository for ITKv4.<br>> The code in ITKv4 is organized into modules,
which are organized into groups. This code can be found in the Video
group. The modules in the video group are found in the<br>><br>>
Modules/Video<br>><br>> directory of the source
tree.<br>><br>> Thanks,<br>> Matt<br>><br>><br>><br>> On
Wed, Dec 14, 2011 at 5:38 PM, SHEN, WEICHENG .<br>> <<a href="mailto:WEICHENG.SHEN@saic.com" target="_blank">WEICHENG.SHEN@saic.com</a>>
wrote:<br>>> Hi Matt:<br>>><br>>> After I completed the all
tutorial exercises in the virtual machine, I want to build these exercise in
my Windows workstation. When I looked at the directory tree structure in the
tutorial src inside the virtual machine, it appears that there are 4
subdirectories (in home/tutorial/src):<br>>><br>>> 1.
Cmake<br>>> 2. ITK-OpenCV-Bridge-Tutorial<br>>> 3.
ITKVideo<br>>> 4. opencv<br>>><br>>> I tried to find the
dowaloading site of them without much success. Could you point me to the site
where I can download these files for building them in my Windows
workstation?<br>>><br>>> Your help will be greatly
appreciated.<br>>><br>>> Best regards,<br>>><br>>>
Weicheng Shen, Ph.D.<br>>> Senior Scientist<br>>> Science
Applications International Corporation 1710 SAIC Drive<br>>> MailStop:
2-4-7<br>>> McLean, VA 22102<br>>> <a value="+17036764189">(703) 676-4189</a><br>>><br>>><br>>>
-----Original Message-----<br>>> From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>]<br>>>
Sent: Tuesday, December 13, 2011 3:10 PM<br>>> To: SHEN, WEICHENG .; <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>>>
Subject: Re: [Insight-users] How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br>>><br>>>
Hi Weicheng,<br>>><br>>> You can download ITK with
git:<br>>><br>>> <a href="http://www.itk.org/Wiki/ITK/Git/Download" target="_blank">http://www.itk.org/Wiki/ITK/Git/Download</a><br>>><br>>>
A zip file will also be available next week here:<br>>><br>>>
<a href="http://itk.org/ITK/resources/software.html" target="_blank">http://itk.org/ITK/resources/software.html</a><br>>><br>>>
Thanks,<br>>> Matt<br>>><br>>> On Tue, Dec 13, 2011 at 2:57
PM, SHEN, WEICHENG .<br>>> <<a href="mailto:WEICHENG.SHEN@saic.com" target="_blank">WEICHENG.SHEN@saic.com</a>>
wrote:<br>>>> Hi Matt:<br>>>><br>>>> Thanks! I now
can work through the exercises in the "OpenCV ITK Bridge Tutorial" using the
VitualBox, and really appreciate you timely
help.<br>>>><br>>>> On the other hand, where can I download
the ITK version 4 source code (I want build it on my Window 7
workstation)?<br>>>><br>>>>
Thanks,<br>>>><br>>>> Weicheng Shen, Ph.D.<br>>>>
Senior Scientist<br>>>> Science Applications International
Corporation 1710 SAIC Drive<br>>>> MailStop: 2-4-7<br>>>>
McLean, VA 22102<br>>>> <a value="+17036764189">(703)
676-4189</a><br>>>><br>>>><br>>>> -----Original
Message-----<br>>>> From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>]<br>>>>
Sent: Sunday, December 11, 2011 11:27 PM<br>>>> To: SHEN, WEICHENG
.<br>>>> Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>>>>
Subject: Re: [Insight-users] How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<br>>>><br>>>>
Hi Weicheng,<br>>>><br>>>> You will need ITKv4 for OpenCV
support.<br>>>><br>>>> Virtual Machines for the tutorial
with the all the software installed can be found
here:<br>>>><br>>>> <a href="http://midas.kitware.com/community/view/50" target="_blank">http://midas.kitware.com/community/view/50</a><br>>>><br>>>>
Thanks,<br>>>> Matt<br>>>><br>>>> On Sun, Dec 11,
2011 at 9:55 PM, SHEN, WEICHENG .<br>>>> <<a href="mailto:WEICHENG.SHEN@saic.com" target="_blank">WEICHENG.SHEN@saic.com</a>>
wrote:<br>>>>> I am interested in learning how to build ITK with
OpenCV (by CMake)<br>>>>> under Visual Studio 2010. My
current platform configuration includes<br>>>>>
the<br>>>>> following:<br>>>>><br>>>>> 1.
Window 7 (64-bit)<br>>>>><br>>>>> 2. ITK (version
3.20.1, 64-bit)<br>>>>><br>>>>> 3. OpenCV (version
2.2., 64-bit)<br>>>>><br>>>>> 4. CMake
2.8.5<br>>>>><br>>>>> I downloaded<br>>>>>
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip",<br>>>>>
and "ITKOpenCVBridgeTutorial.pdf". I can't build them the
projects<br>>>>> contained in<br>>>>>
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip"<br>>>>>
under Window 7, CMake 2.8.5, and Visual Studio 2010. By reading
the<br>>>>> "ITKOpenCVBridgeTutorial.pdf", I found that I need to
install the<br>>>>> VitualBox on my machine
(VirtualBox-4.0.8-71778-Win.exe (Windows)),<br>>>>> and I did so.
The tutorial also instruct me to import the following<br>>>>>
files, which I can't find in your site, for preparation of
building<br>>>>> the files in<br>>>>>
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip":<br>>>>><br>>>>>
a.
"859d59f9-ed19-4aa2-9cd6-a852ba47cdac.vmdk"<br>>>>><br>>>>>
b. "OpenCV-ITK.ovf"<br>>>>><br>>>>> I understand that
you have distributed these files (a and b) on a USB<br>>>>> drive
or a DVD. Are they available for downloading? If not, how can
I<br>>>>> access them so that I can go through your tutorial
files?<br>>>>><br>>>>> Your help will be greatly
appreciated.<br>>>>><br>>>>>
Weicheng<br>>>>><br>>>>><br>>>>><br>>>>><br>>>>><br>>>>>
_____________________________________<br>>>>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>>>>><br>>>>>
Visit other Kitware open-source projects at<br>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>>>><br>>>>>
Kitware offers ITK Training Courses, for more information
visit:<br>>>>> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>>>>><br>>>>>
Please keep messages on-topic and check the ITK FAQ at:<br>>>>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>>>>><br>>>>>
Follow this link to subscribe/unsubscribe:<br>>>>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>>>>><br></div>
</div></blockquote></div><br><br clear="all">
<div><br></div>-- <br>
<div><br></div>
<div><br></div>---------------------------------------------<br><b>Xiaoxiao
Liu</b>, Ph.D.
<div>
<div>
<div><font face="arial, sans-serif"><span style="BORDER-COLLAPSE:collapse">R
& D Engineer</span></font></div>
<div>
<div><a href="http://www.kitware.com/" target="_blank">Kitware
Inc</a>.</div></div>
<div><span style="FONT-SIZE:13px;FONT-FAMILY:arial,sans-serif;BORDER-COLLAPSE:collapse">Clifton
Park, NY</span>
<div>
<div>Phone: <a href="tel:%28518%29%20881-4924" value="+15188814924" target="_blank">(518) 881-4924</a> or <span style="FONT-SIZE:13px;COLOR:rgb(136,136,136);FONT-FAMILY:arial,sans-serif;BORDER-COLLAPSE:collapse">(518)
371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="FONT-SIZE:x-small;LINE-HEIGHT:31px"><br></span></font></div></div></div></div></div><br></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R & D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 or <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div><br>
</div>