If you didn't back it up or extract it to your computer in between the time you created it and the time you deleted it, it is gone. Permanently. There is no "undo".
If you have the backup data then you can recover the deleted photos in iphone 4s.For recover deleted photos follow the below...