<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma,new york,times,serif;font-size:12pt"><div style="font-family: tahoma,new york,times,serif; font-size: 12pt;">I forget to tell you that my image format is .png<br><br>Kind Regards,<br>Fariba<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "insight-users-request@itk.org" &lt;insight-users-request@itk.org&gt;<br><b><span style="font-weight: bold;">To:</span></b> insight-users@itk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, 28 October, 2010 19:00:10<br><b><span style="font-weight: bold;">Subject:</span></b> Insight-users Digest, Vol 78, Issue 39<br></font><br>Send Insight-users mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users@itk.org"
 href="mailto:insight-users@itk.org">insight-users@itk.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users-request@itk.org" href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users-owner@itk.org" href="mailto:insight-users-owner@itk.org">insight-users-owner@itk.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Insight-users digest..."<br><br><br>Today's Topics:<br><br>&nbsp;  1. Re: Mutual Information (Dav)<br>&nbsp;  2. Mean of N images (Luis Roberto P. Paula)<br>&nbsp;  3. Vector
 field issue (Stephen Yip)<br>&nbsp;  4. Deforming filter (Stephen Yip)<br>&nbsp;  5. Re: Vector field issue (Bill Lorensen)<br>&nbsp;  6. Re: Deforming filter (Karthik Krishnan)<br>&nbsp;  7. Re: Mean of N images (Jon Haitz Legarreta Gorro?o)<br>&nbsp;  8. i cant see image with out using vtk (H-B)<br>&nbsp;  9. Re: i cant see image with out using vtk<br>&nbsp; &nbsp; &nbsp; (Jon Haitz Legarreta Gorro?o)<br>&nbsp; 10. Re: i cant see image with out using vtk (Stuart Golodetz)<br>&nbsp; 11. Re: i cant see image with out using vtk (David Doria)<br>&nbsp; 12. Re: Mean of N images (Wes Turner)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 27 Oct 2010 15:34:38 -0700 (PDT)<br>From: Dav &lt;<a ymailto="mailto:davoud_zzz@yahoo.com" href="mailto:davoud_zzz@yahoo.com">davoud_zzz@yahoo.com</a>&gt;<br>Subject: Re: [Insight-users] Mutual Information<br>To: <a ymailto="mailto:insight-users@itk.org"
 href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a ymailto="mailto:263703.79255.qm@web52301.mail.re2.yahoo.com" href="mailto:263703.79255.qm@web52301.mail.re2.yahoo.com">263703.79255.qm@web52301.mail.re2.yahoo.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Dear Farbia,<br><br>Welcome to ITK, to use the ITK examples you have to build them first. To do this place<br>the source file in any folder you like then place a CMake file in the same folder. The<br>CMake file for the Imageregistration2 example would be somthing like the following,<br><br>PROJECT(ImageRegistration2)<br>FIND_PACKAGE ( ITK )<br>IF ( ITK_FOUND )<br>INCLUDE( ${ITK_USE_FILE} )<br>ENDIF( ITK_FOUND )<br>ADD_EXECUTABLE(ImageRegistration2 ImageRegistration2.cxx )<br>TARGET_LINK_LIBRARIES(ImageRegistration2 ITKStatistics ITKIO ITKNumerics)<br>If you want to know the CMake list for any other example there is a CMake file in the<br>examples
 directory, you can search for the name of the example to find it faster in the<br>list. Now you are ready to generate your solution, I assume you already have the CMake<br>software, run the CMake software and choose the source directory which is the folder you<br>put the source file and CMake list earlier then choose the binary directory which is best to<br>not to be the same directory as the source files. Now press configure then after choosing<br>the debug program (I assume visual studio) press finish after that press configure again?<br>when you see the message "configuring done" press generate and you should see the<br>message "generating done" then you know you're all set and good to go, just building the<br>binary files is the only thing left to do. Regarding using your images, you should give more<br>information about your images, notice that different images take different data types in ITK<br>for pixel representation.?For an instance data type
 "short" represents the DICOM?<br>(.dcm format ) pixels. Let us know if you encounter any problems.<br>Regards, ?Davoud.<br><br><br><br>End of Insight-users Digest, Vol 78, Issue 39<br>*********************************************<br></div></div>
</div><br>



      </body></html>