[Insight-users] How To Build Exerceises in "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Tue Dec 20 07:32:24 EST 2011


Hi Weicheng,

Probably not.

I am on vacation right now. Will have to take a look when I get back or you
could
send a patch yourself for gerrit review.

Thanks.


On Tue, Dec 20, 2011 at 5:46 AM, SHEN, WEICHENG . <WEICHENG.SHEN at saic.com>wrote:

> **
> Hi Xiaoxiao:
>
> 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).
>
> The above observation was made for the ITK 4.0rc5. I wonder if it has been
> fixed in the subsequent releases?
>
> Thanks,
>
> Weicheng Shen, Ph.D.
> Senior Scientist
> Science Applications International Corporation
> 1710 SAIC Drive
> MailStop: 2-4-7
> McLean, VA 22102
> (703) 676-4189
>
>
>
>  ------------------------------
> *From:* SHEN, WEICHENG .
> *Sent:* Sunday, December 18, 2011 1:28 PM
> *To:* Xiaoxiao Liu
>
> *Cc:* Matt McCormick; insight-users at itk.org; Patrick Reynolds
> *Subject:* RE: [Insight-users] How To Build Exerceises in
> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>
>  Hi Xiaoxiao:
>
> Thanks for the info! It really helps.
>
> Best regards,
>
> Weicheng
>
> ------------------------------
> *From:* Xiaoxiao Liu [mailto:xiaoxiao.liu at kitware.com]
> *Sent:* Fri 12/16/2011 11:41 AM
> *To:* SHEN, WEICHENG .
> *Cc:* Matt McCormick; insight-users at itk.org; Patrick Reynolds
> *Subject:* Re: [Insight-users] How To Build Exerceises in
> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>
> Hi Weicheng,
> We started refactoring  the video related code into itk modules after
> cvpr.
> Not all the codes from the cvpr tutorial has made into current ITK yet.
> There are
> ITKVideoCore, ITKVideoIO, ITKBridgeOpenCV and ITKBridgeVXL right now.
>
> We were planning to refactor the video filtering code into a
> ITKVideoFiltering module later.
> You could find the original files in github:
>
> https://github.com/PatrickCheng/ITK/tree/4b2cc7d77bc986beb656d8c29c449a33cab0afde/Modules/VideoFilters/Common/include
>
> Hope this helps.
> Thanks.
>
> -Xiaoxiao
>
>
> On Fri, Dec 16, 2011 at 6:45 AM, SHEN, WEICHENG . <WEICHENG.SHEN at saic.com>wrote:
>
>> Hello Patrick and Xiaoxiao:
>>
>> 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.
>>
>> 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.
>>
>> Do you guys know where these files might be located, or they are renamed
>> to something else?
>>
>> Thanks,
>>
>> Weicheng Shen, Ph.D.
>> Senior Scientist
>> Science Applications International Corporation
>> 1710 SAIC Drive
>> MailStop: 2-4-7
>> McLean, VA 22102
>> (703) 676-4189
>>
>>
>> -----Original Message-----
>> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
>> Sent: Wednesday, December 14, 2011 6:47 PM
>> To: SHEN, WEICHENG .
>>  Cc: insight-users at itk.org; Patrick Reynolds; Xiaoxiao Liu
>> Subject: Re: [Insight-users] How To Build Exerceises in
>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>>
>> Hi Weicheng,
>>
>> I am not sure where this file moved or if it changed names.  Patrick or
>> Xiaoxiao may know that information.
>>
>> 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?
>>
>> Please 'Reply To All' so the insight-user's list is always CC'd.
>>
>> Thanks,
>> Matt
>>
>> On Wed, Dec 14, 2011 at 5:51 PM, SHEN, WEICHENG .
>> <WEICHENG.SHEN at saic.com> wrote:
>> > Hi Matt:
>> >
>> > 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?
>> >
>> > Thanks,
>> >
>> > Weicheng Shen, Ph.D.
>> > Senior Scientist
>> > Science Applications International Corporation 1710 SAIC Drive
>> > MailStop: 2-4-7
>> > McLean, VA 22102
>> > (703) 676-4189
>> >
>> >
>> > -----Original Message-----
>> > From: Matt McCormick [mailto:matt.mccormick at kitware.com]
>> > Sent: Wednesday, December 14, 2011 5:43 PM
>> > To: SHEN, WEICHENG .
>> > Subject: Re: [Insight-users] How To Build Exerceises in
>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>> >
>> > Hi Weicheng,
>> >
>> > Most of this code has been moved into the ITK repository for ITKv4.
>> > 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
>> >
>> >  Modules/Video
>> >
>> > directory of the source tree.
>> >
>> > Thanks,
>> > Matt
>> >
>> >
>> >
>> > On Wed, Dec 14, 2011 at 5:38 PM, SHEN, WEICHENG .
>> > <WEICHENG.SHEN at saic.com> wrote:
>> >> Hi Matt:
>> >>
>> >> 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):
>> >>
>> >> 1. Cmake
>> >> 2. ITK-OpenCV-Bridge-Tutorial
>> >> 3. ITKVideo
>> >> 4. opencv
>> >>
>> >> 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?
>> >>
>> >> Your help will be greatly appreciated.
>> >>
>> >> Best regards,
>> >>
>> >> Weicheng Shen, Ph.D.
>> >> Senior Scientist
>> >> Science Applications International Corporation 1710 SAIC Drive
>> >> MailStop: 2-4-7
>> >> McLean, VA 22102
>> >> (703) 676-4189
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
>> >> Sent: Tuesday, December 13, 2011 3:10 PM
>> >> To: SHEN, WEICHENG .; insight-users at itk.org
>> >> Subject: Re: [Insight-users] How To Build Exerceises in
>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>> >>
>> >> Hi Weicheng,
>> >>
>> >> You can download ITK with git:
>> >>
>> >>  http://www.itk.org/Wiki/ITK/Git/Download
>> >>
>> >> A zip file will also be available next week here:
>> >>
>> >>  http://itk.org/ITK/resources/software.html
>> >>
>> >> Thanks,
>> >> Matt
>> >>
>> >> On Tue, Dec 13, 2011 at 2:57 PM, SHEN, WEICHENG .
>> >> <WEICHENG.SHEN at saic.com> wrote:
>> >>> Hi Matt:
>> >>>
>> >>> Thanks! I now can work through the exercises in the "OpenCV ITK
>> Bridge Tutorial" using the VitualBox, and really appreciate you timely help.
>> >>>
>> >>> On the other hand, where can I download the ITK version 4 source code
>> (I want build it on my Window 7 workstation)?
>> >>>
>> >>> Thanks,
>> >>>
>> >>> Weicheng Shen, Ph.D.
>> >>> Senior Scientist
>> >>> Science Applications International Corporation 1710 SAIC Drive
>> >>> MailStop: 2-4-7
>> >>> McLean, VA 22102
>> >>> (703) 676-4189
>> >>>
>> >>>
>> >>> -----Original Message-----
>> >>> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
>> >>> Sent: Sunday, December 11, 2011 11:27 PM
>> >>> To: SHEN, WEICHENG .
>> >>> Cc: insight-users at itk.org
>> >>> Subject: Re: [Insight-users] How To Build Exerceises in
>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial"
>> >>>
>> >>> Hi Weicheng,
>> >>>
>> >>> You will need ITKv4 for OpenCV support.
>> >>>
>> >>> Virtual Machines for the tutorial with the all the software installed
>> can be found here:
>> >>>
>> >>>  http://midas.kitware.com/community/view/50
>> >>>
>> >>> Thanks,
>> >>> Matt
>> >>>
>> >>> On Sun, Dec 11, 2011 at 9:55 PM, SHEN, WEICHENG .
>> >>> <WEICHENG.SHEN at saic.com> wrote:
>> >>>> I am interested in learning how to build ITK with OpenCV (by  CMake)
>> >>>> under Visual Studio 2010. My current platform configuration includes
>> >>>> the
>> >>>> following:
>> >>>>
>> >>>> 1. Window 7 (64-bit)
>> >>>>
>> >>>> 2. ITK (version 3.20.1, 64-bit)
>> >>>>
>> >>>> 3. OpenCV (version 2.2., 64-bit)
>> >>>>
>> >>>> 4. CMake 2.8.5
>> >>>>
>> >>>> I downloaded
>> >>>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip",
>> >>>> and "ITKOpenCVBridgeTutorial.pdf". I can't build them the projects
>> >>>> contained in
>> >>>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip"
>> >>>> under Window 7, CMake 2.8.5, and Visual Studio 2010. By reading the
>> >>>> "ITKOpenCVBridgeTutorial.pdf", I found that I need to install the
>> >>>> VitualBox on my machine (VirtualBox-4.0.8-71778-Win.exe (Windows)),
>> >>>> and I did so. The tutorial also instruct me to import the following
>> >>>> files, which I can't find in your site, for preparation of building
>> >>>> the files in
>> >>>> "InsightSoftwareConsortium-ITK-OpenCV-Bridge-Tutorial-ea3819b.zip":
>> >>>>
>> >>>> a. "859d59f9-ed19-4aa2-9cd6-a852ba47cdac.vmdk"
>> >>>>
>> >>>> b. "OpenCV-ITK.ovf"
>> >>>>
>> >>>> I understand that you have distributed these files (a and b) on a USB
>> >>>> drive or a DVD. Are they available for downloading? If not, how can I
>> >>>> access them so that I can go through your tutorial files?
>> >>>>
>> >>>> Your help will be greatly appreciated.
>> >>>>
>> >>>> Weicheng
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> _____________________________________
>> >>>> Powered by www.kitware.com
>> >>>>
>> >>>> Visit other Kitware open-source projects at
>> >>>> http://www.kitware.com/opensource/opensource.html
>> >>>>
>> >>>> Kitware offers ITK Training Courses, for more information visit:
>> >>>> http://www.kitware.com/products/protraining.html
>> >>>>
>> >>>> Please keep messages on-topic and check the ITK FAQ at:
>> >>>> http://www.itk.org/Wiki/ITK_FAQ
>> >>>>
>> >>>> Follow this link to subscribe/unsubscribe:
>> >>>> http://www.itk.org/mailman/listinfo/insight-users
>> >>>>
>>
>
>
>
> --
>
>
> ---------------------------------------------
> *Xiaoxiao Liu*, Ph.D.
>  R & D Engineer
>  Kitware Inc <http://www.kitware.com/>.
> Clifton Park, NY
> Phone: (518) 881-4924  or  (518) 371-3971 x124
>
>
>


-- 


---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111220/f95a61f6/attachment.htm>


More information about the Insight-users mailing list