[Insight-users] MFC

Luis Ibanez luis.ibanez at kitware.com
Mon May 7 11:25:31 EDT 2007


Hi Surya,

Please look at the example:

      InsightApplications/ItkMFC

This one should work fine with Visual Studio 6.0


Note also, that this example is a lot simpler,
e.g. it doesn't provide any visualization.


    Regards,


       Luis



-----------------------
Surya Prakash wrote:
>  
> Hello,
> I went through the example. I have only VC 6 installed. I think this one 
> rerquires VC 7. What's the way? Are there any examples written using MFC 
> and VC 6.
> 
> regards
> Prakash
> 
> On Thu, 03 May 2007 timex wrote :
>  >Hi Prakash,
>  >
>  >In terms of integrating MFC and ITK, there is an example named
>  >'ImageRegistrationMFC' in the latest InsightApplication repository
>  >(version 3.2.0).  It utilizes CImage class of MFC to show the images
>  >and implements registraion task with ITK functionalities. It uses
>  >multi-thread schema to separate the UI and variation computing. You
>  >can refer to its framework and try to check the settings of VC project
>  >properties.
>  >
>  >Regarding the errors of your VC6 project, the common suggestion is
>  >make sure you have SP5 (or higher version) installed for VC6.
>  >
>  >Good luck!
>  >Timex
>  >
>  >On 3 May 2007 09:47:41 -0000, Surya Prakash 
> <ds_prakash at rediffmail.com> wrote:
>  >>
>  >>
>  >>
>  >>  Hello All,
>  >>  I understand ITK is a general purpose toolkit. Most of the tools run in
>  >>command mode accepting command line args. GUI support is provided 
> using FLTK
>  >>or VTK. But if I am comfortable with MFC, how I can write programs 
> using ITK
>  >>toolkit and MFC.
>  >>  I tried with some example of 'Segmentation' Folder. This attached 
> .zip file
>  >>contains the project files using MFC's dialog based project. The same 
> code
>  >>of 'ConnectedThresholdImageFileter' I have put here. I have
>  >>supplied all the necessary include paths and library paths.
>  >>  This programs compiles with some warnings in VisualStudio 6 and 
> links. When
>  >>I execute, it is giving run-time errors.
>  >>  Can somebody help please?
>  >>
>  >>  regards
>  >>  Prakash
>  >>
>  >>
>  >>
>  >>_______________________________________________
>  >>Insight-users mailing list
>  >>Insight-users at itk.org
>  >>http://www.itk.org/mailman/listinfo/insight-users
>  >>
>  >>
>  >>
>  >
>  >
>  >-- Yong su
>  >CADRE    the eLearning innovators
>  >Level 2, 233-235 Bulwara Rd, Ultimo 2007 NSW Australia
>  >M +61 0406 575 608    F +61 2 8514 8901    E suyong at cadre.com.au
>  >W www.cadre.com.au
> 
> 
> 
> 578x38_salary.gif 
> <http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1105834_1100164/1105050/1?PARTNER=3&OAS_QUERY=null 
> target=new >
> 


More information about the Insight-users mailing list