how to get the 0-th component for vector image

You could use VectorIndexSelectionCastImageFilter to split the multicomponent image into separate images. Then you could multiply each component image by whatever factor you’d like. Finally you’d use the ComposeImageFilter to combine the separated component images back together into one vector image.

Here are the docs of the two filters:
https://itk.org/Doxygen/html/classitk_1_1VectorIndexSelectionCastImageFilter.html
https://itk.org/Doxygen/html/classitk_1_1ComposeImageFilter.html

A similar question came up earlier (except using SimpleITK and Python). You can see my example reply here: