<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.6148" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011>Hi Xiaoxiao:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011>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 size=2><SPAN
class=084592821-19122011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011>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 dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=084592821-19122011>Thanks,</SPAN></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>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>(703) 676-4189<BR><BR></FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> SHEN, WEICHENG . <BR><B>Sent:</B> Sunday,
December 18, 2011 1:28 PM<BR><B>To:</B> Xiaoxiao Liu<BR><B>Cc:</B> Matt
McCormick; insight-users@itk.org; Patrick Reynolds<BR><B>Subject:</B> RE:
[Insight-users] How To Build Exerceises in
"InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText24335 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Xiaoxiao:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks for the info! It really
helps.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Weicheng</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Xiaoxiao Liu
[mailto:xiaoxiao.liu@kitware.com]<BR><B>Sent:</B> Fri 12/16/2011 11:41
AM<BR><B>To:</B> SHEN, WEICHENG .<BR><B>Cc:</B> Matt McCormick;
insight-users@itk.org; 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">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">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 class="im HOEnZb"><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 href=""
value="+17036764189">(703) 676-4189</A><BR><BR><BR>-----Original
Message-----<BR>From: Matt McCormick [mailto:<A
href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</A>]<BR></DIV>
<DIV class="im HOEnZb">Sent: Wednesday, December 14, 2011 6:47 PM<BR>To: SHEN,
WEICHENG .<BR></DIV>
<DIV class=HOEnZb>
<DIV class=h5>Cc: <A
href="mailto:insight-users@itk.org">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">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 href=""
value="+17036764189">(703) 676-4189</A><BR>><BR>><BR>> -----Original
Message-----<BR>> From: Matt McCormick [mailto:<A
href="mailto:matt.mccormick@kitware.com">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">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 href=""
value="+17036764189">(703) 676-4189</A><BR>>><BR>>><BR>>>
-----Original Message-----<BR>>> From: Matt McCormick [mailto:<A
href="mailto:matt.mccormick@kitware.com">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">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">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 href="" value="+17036764189">(703)
676-4189</A><BR>>>><BR>>>><BR>>>> -----Original
Message-----<BR>>>> From: Matt McCormick [mailto:<A
href="mailto:matt.mccormick@kitware.com">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">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">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: (518) 881-4924 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></BODY></HTML>