wiki:GsocUnderWaterImageProcessing

Version 6 (modified by rashadkm, 12 years ago) ( diff )

week #4 report

Student:
Mohammed Rashad K.M


Idea The idea is to create complex image processing chain using the OSSIM python bindings pyossim. This includes adding python inteface for all the ossim-executables (ossim-igen, ossim-orthoigen, ossim-mosaic, ...). The work will add 'numpy-array' capabilities into pyossim as exchanging formast to include python-gdal and pyOpenCV to solve image processing problems for under water images processing (develop methods for : Bayer Demosaicing, Light detrend, color correction on raw tiff CCD images).

For testing purpose, raw CCD images and relative camera metadata (focal length, distance from the ground, roll, pitch, gain etc..) from the Habcam project will be used.

GSoC 2012 Proposal:
https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2012/rashad/19002

Project repository:
https://bitbucket.org/bugbrains/gsoc2012

Week 1 Report

What did you get done this week?

  • Compiled ossim,ossimPlanet from trunk sucessfully. But disabled ossimPredator and gpstk.
  • studied ossim plugin mechanism.
  • setup wiki page and repository in bitbucket.

What do you plan on doing next week?

  • Learn ossim opencv-plugin. How an OpenCV Image is read in ossimImageSource.
  • I will learn ossim libraw plugin as most of my data is in .raw format
  • start demosaicing algorithm for habcam images.

Are you blocked on anything?

  • As of now nothing can be said as blocking but OpenCV GPU is something new to me and need to read more about it.
  • ossimPredator uses outdate ffmpeg libs.
  • ossimPlanet is not working with OSG 3.x. Need to downgrade OSG for making ossimPlanet work.


Week 2 Report

What did you get done this week?

  • OpenCV plugin has been studied. As of now trunk version has some CV filters implemented.
  • Finished with ossim libraw plugin. Learned how ossim handles a new data type using plugin.
  • I spent more time in understanding how the bayesian filter works.(theory part is done)

What do you plan on doing next week?

  • I will concentrate more on debayer this week after getting a raw file from WoodsHole.
  • There will be changes in implementation based on the metadata of the raw file.
  • Planning to build a demosaciking plugin for habcam images.

Are you blocked on anything?

  • Yes, I am waiting to get some .raw data from habcam group.
  • Massimo had requested for data and metadata and we are expecting a response by tomorrow.


Week 3 Report

What did you get done this week?

  • sucessfully completed a demosaicing on raw files.
  • libraw plugin uses dcraw. The raw file which I have is not recognized as a raw by dcraw because
    habcam images doesnt store metadata in the header.
  • debayer currently works only for habcam images (GRBG)

What do you plan on doing next week?

  • write ossimImageData using any of the ossimImageWriter classes
  • I will concentrate more on ossim numpy interface
  • create a python module for ossim apps ossim-image-compare.

Are you blocked on anything?

  • The problem is with writing an ossimImageData to file.
  • I asked ossim-list regarding this issue.

Week 4 Report

What did you get done this week?

  • I spend more time on building pyossim
  • demosaicing currently generates a python code which creates three numpy arrays (R,G,B).
    These RGB values are used to create PIL image and renders using pyQt.
  • using pyossim to make simple ossim apps.
  • Load image using ossimImageHandler and iterate through tiles.

What do you plan on doing next week?

  • I am planning for clean build of pyossim without any changes in ossim source code
  • If it didnt work for two days I will modify ossim source and make an pyossim lib
  • After that I will use pyossim to rewrite actual ossim apps.
  • complete ossim numpy interface for exchanging data.

Are you blocked on anything?

  • I am blocked in pyossim. It doesnt build clean on current ossim source code.
Note: See TracWiki for help on using the wiki.