This only occurs when the user instructs iTunes to restore the device from a backup.
The pictures/videos can be restored if a backup exists that was created after the pictures/videos were taken.
If no such backup exists, the files are gone.
In the future, refrain from randomly restoring the device.
It would also be a good idea to use the device as designed, meaning regularly copying pictures/videos taken with the device to the computer.