All entries for Wednesday 08 November 2006

November 08, 2006


I have made a Histogram class which generates a greyscale image from a picture. This should give better measurements for the centre of mass and the standard deviation box.

To hook it into the ImageProcessor class insert this into the main method:

Histogram histogram = new Histogram(nccTable);
int[][] greyscaleImage = histogram.GetHistogramMask(nccTable);
bImage = histogram.MaskBufferedImage(bImage, greyscaleImage);

and this should output the greyscale image.

Remember to comment out the other masks first before running!


P.S Hoi, can you post your code?

A there is a lot of redundent code left in from testing.

November 2006

Mo Tu We Th Fr Sa Su
Oct |  Today  | Dec
      1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30         

Search this blog



Most recent comments

  • The reflective writing is submitted individually so make sure you submit it yourself tomorrow mornin… by on this entry
  • Yeh Ant's charts look great. Not sure – Ant reckons 1650 max (10% over), so if anyone has any sugges… by on this entry
  • Wow, the report looks really good :) Do you think it will matter too much if it is a couple of hundr… by on this entry
  • nice, overs better than under ;) by on this entry
  • I'll do the other bits then: introduction/overview of person tracking, testing/problems (if Ant+Hoi … by Matt on this entry

Blog archive

Not signed in
Sign in

Powered by BlogBuilder