I'm not 100% sure what you mean sorry, have the photos been deleted from the iPhone or the PC/Mac?
Where the photos taken using the iPhone? If so, an iPhone restore should restore everything from when it was last backed up (including photos taken)
If they where photos synced from the PC/Mac, the iPhone just syncs with photo folders so they should still be on the PC/Mac anyway?
If the photos taken using the iPhone are still on your iPhone but not on your PC/Mac, then just plug the iPhone in and on a PC open the iPhone from Windows Explorer or from a Mac open iPhoto, as you can access all the photos taken using the iPhone. Just drag and drop them from the iPhone to the PC or Mac.
Regards
Regards
James Mitchell