<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vector_to_rgb(image):
 """ Convert an Vector ANTsImage to a RGB ANTsImage Arguments --------- image : ANTsImage RGB image to be converted Returns ------- ANTsImage Example ------- """

    if image.pixeltype != 'unsigned char':
        image = image.clone('unsigned char')
    idim = image.dimension
    libfn = utils.get_lib_fn('VectorToRgb%i' % idim)
    new_ptr = libfn(image.pointer)
    new_img = iio.ANTsImage(pixeltype=image.pixeltype, dimension=image.dimension, 
                            components=3, pointer=new_ptr, is_rgb=True)
    return new_img