LAB color space has three channels: Lightness, Alpha, Beta. Alpha and Beta are coordinates to determine the color regardless of luminous. So one thing you can play with LAB is pickup objects in the image with the same color.
An APL algorithm to convert RGB to LAB can be implemented as:
RGB2XYZ is the matrix
Use some imagination, you may already know how to implement magic wand selector with these information.