Hey @Sara_Caffe, please do not revamp existing threads for completely new questions. Just open a new one.
ITK has a helper script WhatModulesITK.py for finding what modules you need based on the #include's
you have in your projects.
See this thread for more info about modules.
For usage, see documentation in the python script, for example:
Single file:
/path/src-ITK-master/Utilities/Maintenance/WhatModulesITK.py /path/ITK/src-ITK-master /path/myproject/foo.cpp)
List of files:
/path/src-ITK-master/Utilities/Maintenance/WhatModulesITK.py /path/ITK/src-ITK-master $(find /path/myproject/ -type f)