Wednesday, October 23rd, 2013

My Inspiration App: App Concept

Rules of being creative #7

My app idea - a place to collect things that inspire, that can be found searching their tags, location, or type. I understand that people can and do use any number of other apps for this - Twitter favourites, for example, this is just supposed to be a purely happy and motivating place on our ...

Monday, October 21st, 2013

Getting Set Up on Android

list view

I used the event Programming Languages I've Been Meaning To Try But Haven't Gotten Around To Yet at the Stripe offices (organised by Star Simpson) in San Francisco to get going on Android. Aside - I love the concept of this event. Great opportunity to hang out with your laptop, the only goal being to suck less ...

Friday, September 20th, 2013

More Experiments Around RGB Averaging

Image1: Tolerance 25

I decided to replicate the showing/hiding the dominant hues in images with showing/hiding around the average RGB values instead. I created a class called RGBColor (just holds red, green, and blue values), similar to the one I created called HSBColor. I could have used the java.awt.Color class, but that insists on a range of 0-1 for ...

Monday, September 16th, 2013

Eliminating the Dominant Hue from an Image

Image 4: Tolerance 10

I thought it would be interesting to invert the idea of showing only the dominant hue, and show everything but that instead. I used the exact same code, but inverted the if statement so: if (!hueInRange(hue, lower, upper)) became if (hueInRange(hue, lower, upper)) Effect is as follows, as with most of these, my favourite effect is on the painting ...

Friday, September 13th, 2013

Folders of Images, Compare and Contrast

img 2

Now I've experimented with things, I wanted to make something that would allow me to compare different effects on the same photo, and loop through a folder of pictures looking for nice effects. I overrode mousePressed() to change the image on click. The big challenge here was running out of Java Heap space once I had more ...

Wednesday, September 4th, 2013

My Theory of User Happiness and the Enterprise Application

Credit: flickr / Donna Cymek

Enterprise applications are (usually) the applications that people have to use, whereas consumer applications are (usually) those that they choose to use, and so I would argue they are where you can have the biggest effect on user-happiness. Gains in user happiness on consumer applications are mostly incremental - the standard is pretty high, it has to be, ...

Monday, September 2nd, 2013

Visualising A Photo Series

Sunflower Visualization from Photos Taken in North Korea

Whenever I'm scrolling through pictures I've taken, it seem like they are in sections - here's when I was near the beach, he's the park, the night sky and fireworks. I thought if you visualised the way that the dominant colors changed, patterns would emerge. I found the perfect layout for this, the sunflower layout, and ...

Friday, August 30th, 2013

Showing Only the Dominant Hue In an Image

Image 4: Tolerance 1

Having extracted the dominant hue from the images, we can manipulate the image such that pixels that are not (or close to) the dominant hue are instead made grayscale. I converted to grayscale using the brightness of the image in the HSB. This worked really nicely. From my earlier experiments I decided on a hue range of ...

Wednesday, August 28th, 2013

Extracting Dominant Color: RGB Averaging Doesn’t Work

Image 3: RGB Average

This makes sense - two colors can have the same R values, but wildly different G and B values. The result of averaging them will bear no relation to the originals. However just to prove it, it was very easy to tweak my code to average the RGB values instead of counting the hues. The result ...

All content © Copyright 2014 by Accidentally in Code.
Subscribe to RSS Feed – Posts or just Comments

Workaholic WordPress Theme by Graph Paper Press