I am implementing a simple backpropagation neural network for classifying images. One set of images are cars another set of images are buildings (houses). So far I have used Sobel Edge detector after converting the images from black and white. I need a way to remove the offset (in other words normalise the input) of where the car or where the house is in the image.

Will taking the discrete Fourier cosine transform remove the offset? (so the input to the neural network will be the coefficients of the discrete cosine Fourier transform). To be clear, when I mean offset I mean a pair of values (across the number of pixels, and vertically the number of pixels) determining where the car or the building is in the 2D image from the origin.

  • $\begingroup$ For image classification, in general, I'd recommend going for Convolutional Neural Networks. Is there a particular reason/constraint why you are not using them, but trying to hand-craft features, instead? $\endgroup$
    – Daniel B.
    Sep 2 '20 at 20:01
  • $\begingroup$ @DanielB. The reason I am using simple backpropagation neural network is because I am doing this image classification to learn to implement a simple backpropagation neural network ; I have not programmed a neural networks before. I cannot see any reason why a simple backpropagation neural network would not work. $\endgroup$
    – Z.E.
    Sep 7 '20 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.