Recent posts / Archive

Categories

Posts matching category: python

Semivariograms

Originally posted by on 16:12 Mon 7 May 2007, last modified 02:26 Thu 17 May 2007.

File under: curve fitting geostatistics math maximum liklihood phd programming python spatial analysis

Semivariogram LogoMany spatially distributed data exhibit anisotropic spatial variation, especially when the data are distributed over a large area. The Semivariogram, or commonly (and inaccurately) just variogram is a measure of spatial correlation. It simply plots the semivariance (which is half the variance) of two points separated by a vector h against the magnitude of h. Easy right? Well there is a little bit more to it...

read more...

edit or comment

Surface Least Squares

Originally posted by on 07:00 Wed 14 March 2007, last modified 10:24 Sat 12 May 2007.

File under: curve fitting math maximum liklihood phd programming python regression

The method of least squares, or even simply maximum likelihood is one of the more powerful tools available to a statistician. It is powerful because its simplicity means it can be used in a variety of regression problems.

Regression simply means line fitting, and lines are just a graphical way to represent a model, which is the mathematical way to describe the relationship between an independent variable and one or more dependent variables. There is a lot of text on linear straight line fitting, so I’m not going to go into too much detail. I will however briefly discuss the principle behind least squares.

read more...

edit or comment

Snakes

Originally posted by on 06:00 Thu 26 January 2006, last modified 13:35 Mon 7 May 2007.

File under: active contours math phd programming python

In order to analyse the frequency components of a curve using Fourier we must first represent it mathematically. As we are working with images, a discrete spatial domain, then we have to deal with discretisation.

read more...

edit or comment

Sobel Edge Detection

Originally posted by on 06:00 Wed 9 March 2005, last modified 20:04 Tue 5 June 2007.

File under: 3rd year project image processing programming python

Sobel edge detection is a popular technique as it can deliver good results, without excessive computational requirements. The technique utilises the theory of optimal smoothing (Gaussian), and optimal differencing.

read more...

edit or comment

Implementing the Hough Transform

Originally posted by on 06:00 Thu 24 February 2005, last modified 19:43 Tue 5 June 2007.

File under: 3rd year project image processing programming python

The Hough Transform (HT) is an image processing operation which enables the extraction of shapes, essentially lines from images. The principle is that there are an infinite number of line that pass though any point, each at a different orientation. The HT aims to determine which of those theoretical lines pass though most features in an image.

read more...

edit or comment

Using multiple threads in Python

Originally posted by on 06:00 Fri 10 December 2004, last modified 19:44 Tue 5 June 2007.

File under: 3rd year project programming python software

Now that I have background monitor working, updating a background image every 60 seconds (a default value), I want to start monitoring the foreground. For these two processes to work at the same time I want to use threads for each one, using the threading module in Python. read more...

edit or comment