How to restore photos on Mac computer?

I am using an iMac OS X 10.5.8. I deleted all photos that I thought were in Trash accidentally. I can find them nowhere in my iMac. How can I recover them? Is there any software can help me recover my Mac photos?