After several gooling and research on code, I was able to use itk.ImageToVTKImageFilter by using my own built ITK source code. For those whose are new comer like me, hope this help you. First of all, I compile source code of ITK release version (ITK Release). Note that I tried the ITK Github (ITK Github), but did not succeed. So I recommend you to compile with Release version. For VTK source code, I also used the the Release version 8.2, not the Github code. The next step I did is to enable the ITK VTK Glue in CMakeCache to ON,adn ITK_WRAP_PYTHON to ON. like this:
╰─$ grep Module_ITKVtkGlue CMakeCache.txt
//ADVANCED property for variable: Module_ITKVtkGlue
╰─$ grep PYTHON CMakeCache.txt
//ADVANCED property for variable: PYTHON_EXECUTABLE
//ADVANCED property for variable: PYTHON_INCLUDE_DIR
//ADVANCED property for variable: PYTHON_LIBRARY
//ADVANCED property for variable: PYTHON_LIBRARY_DEBUG
On this step, I encountered many issues which I asked on the thread https://discourse.itk.org/t/itk-python-wrapping-error-void-value-not-ignored-as-it-ought-to-be/948/10. Do the same thing on that thead you can compile the ITK with Python enabled.
The last step is to run the example. Before doing that, I set the PYTHONPATH variable to point to my ITK build like this:
And finally, the work is done without any issues.