I have some tree canopy images that I would like to process, but not sure how to get started as image processing is a little outside my area of expertise. Any help would be appreciated.

I have tree canopy images with a grid included in the image.

enter image description here

I have converted the image to a five color palette so that sky is easily distinguished from tree cover.

enter image description here

I would like to overlay a series of boxes that line up with the grid (basically a small box under the numbers) and estimate the percentage of pixels within the box that are the "sky" color.

I am not envisioning that this would be fully automated. The workflow would be:

  1. classify image to five color palette,
  2. by hand overlay boxes from a separate file so that the boxes match up with grid in image,
  3. loop through boxes and estimate percentage of underlying colors.

I can code in Python and R, but haven't ever used them to process images.

  • $\begingroup$ Welcome to DSP.SE! Is there any chance you can share an example image? That might help get answers. $\endgroup$ – Peter K. Sep 28 '15 at 16:21
  • $\begingroup$ Sure. What is the preferred method of sharing an image? $\endgroup$ – user44796 Sep 28 '15 at 16:26
  • $\begingroup$ OK. I've inlined the images. Let's see if we get some answers. $\endgroup$ – Peter K. Sep 28 '15 at 20:22
  • $\begingroup$ Your palettization of the image looks very effective. What are you still missing ? $\endgroup$ – Yves Daoust Sep 28 '15 at 20:53
  • $\begingroup$ Am I right to think that the grid is fixed with respect to the cover window, so that all you need is to locate and orient this cover ? $\endgroup$ – Yves Daoust Sep 28 '15 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.