Monthly Archives: June 2010

A musical blast from the past.

So before I get to laying a concrete path outside the dance floor needs polishing so it’s off out to the hire shop for some pads. This came on the radio: Have to love 80’s. No it’s not a rick … Continue reading

Posted in Music | Tagged , , | Comments Off on A musical blast from the past.

OpenCV is pretty darn excellent.

It’s a heck of a lot faster than my code, the canny/sobel operators especially. Also it works. See photos for more. The first is the original with 5×5 blur to reduce the noise, the second is adaptive threshold and the … Continue reading

Posted in Programming | Tagged , , | 2 Comments

The first rule of Photoshop is…..

Save more often than you would in a hardcore FPS. FFS. With other choice 4 letter words and 3 letter acronyms. I just lost almost 2 hours work patching up the awful perspective and scale on this sketch I did … Continue reading

Posted in Art, Drawing | Tagged , , | Comments Off on The first rule of Photoshop is…..

Fear my skeleton.

Still haven’t quite got the hang of the MagickWand/MagickCore stuff so I’ve been fiddling on the command line so I can get the best sequence of operators together. I’ve found one. A few actually. If I smooth the image (morphology … Continue reading

Posted in Programming | Tagged , | Comments Off on Fear my skeleton.

There’s always a gotcha.

It turns out these features must be new because they’re not in the ubuntu binaries or source. So here comes a quick guide to compiling image magick under ubuntu.

Posted in Programming | Tagged , , , , | Comments Off on There’s always a gotcha.

Well don’t I feel a prat!??

So err… I guess I’ve learnt a lot writing this crap on my own, and I am at least comfortable in the knowledge that when my routines DO work they are faster but I just found this: MagickMorphologyImage MagickMorphologyImage() applies … Continue reading

Posted in Miscellany | Comments Off on Well don’t I feel a prat!??

Nothing to see here….

I’ve hit somewhat of a brick wall. I managed to get some morphological hit&miss code that thinned the images down to 1px wide and it worked fine on the previously posted test. However after that I started getting horrible loops … Continue reading

Posted in Programming | Tagged , , | Comments Off on Nothing to see here….

A sample of a ‘scanned’ puzzle.

So this is a section of a sudoku puzzle as the code sees it: <img src="http://www.thelostsouls.org.uk/wp-content/uploads/2010/06/binarysample.jpg" alt="" title="Binary Sample" width="800" height="399" class="size-full wp-image-65" srcset="https://www.thelostsouls.org.uk/wp-content/uploads/2010/06/binarysample Continued.jpg 800w, https://www.thelostsouls.org.uk/wp-content/uploads/2010/06/binarysample-300×149.jpg 300w” sizes=”(max-width: 800px) 100vw, 800px” /> A small section of a Sudoku converting … Continue reading

Posted in Programming | Tagged , , , , | Comments Off on A sample of a ‘scanned’ puzzle.

An address of a pointer as opposed to a pointer to a pointer?

EDIT@22:14 I take it back. The data was getting borked on exit from the function. Turns out that the code in use had RETURN() as a macro which freed the pointer I was using when I called RETURN(TRUE). Haha…. still … Continue reading

Posted in Programming | Tagged , | Comments Off on An address of a pointer as opposed to a pointer to a pointer?