# Command Source_CloneImage

## Using of command

This command is use for creation new image from another image.New image has same parameters and datas as a original image

## Commands parameters

Function has 2 parameters:

1. Destination picture: This parameter sets destination picture which will be result of this command and new image will be save in this picture. You can select Picture_0 to Picture_19.
2. Source picture: This parameter is use as a source picture which parameters will be cloned to Destination picture You can not select same image as in parameter Destination image.Image selected in this parameter should be already alocated in previous commands.

## Error codes

1. Error code -11: Bad destination picture. THis error means that destination picture is not in range Picture_0 to Picture_19. Check test program if option destination picture is sets correctly.
2. Error code -12: Bad source image.Error means that source picture for clone image is not in range Picture_0 to Picture_19. Check test program if option source picture for clone image is sets correctlly.
3. Error code -13: Source and destination image is same. Source and destination image can not be same.
4. Error code -100: Open Cv error: This error is generated in Open Cv function and explanation of this error will be display in result window.