0

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.

nbro
  • 39,006
  • 12
  • 98
  • 176
Z.E.
  • 11
  • 2
  • 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? – Daniel B. Sep 02 '20 at 20:01
  • @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. – Z.E. Sep 07 '20 at 12:27

0 Answers0