I tried to look up the hough transform. It seems like there are many parts of the algorithm that are outside my area of expertise, however, you asked to help implement the transform. Can you provide pseudo-code and a programming language and maybe someone can help outline some of the pieces?
Or are you just asking for help implementing canny or sobel edge detection?
In that case, try looking at
Edge Detection Tutorial and
Canny Edge Detection Tutorial
It seems that those two pages are a tutorial on how to implement canny and sobel algorithms.
If you have any specific implementation questions please ask. I'm sure you realize that we are not here to do your work for you, especially when it comes to a final year project.