# Weekly Report (19th June-04thJuly)

Contents

## Introduction

This is the report of Pallan Madhavan for the GSOC 2012 on the project "Scilab Image Processing Toolbox (SIP) " for the period 19th June- 04th July 2012.

## Task List

### Wrote a C interface for Deskew function

Deskew function helps to deskew a document using the Postl's variance of line sums (or of differential line sums).The variance of differential line sums, where the line sums are the pixel projections taken at different angles, were the angle chosen is equal to the skew angle, the difference in pixel projections on adjacent raster lines, when squared and summed over all raster lines, has a maximum value.This method is recommended for both speed and accuracy,and is thus available in leptonica library.A temporary working of deskew function is available in siptoolbox,which stores a temporary image for input and output from the ported functionality of leptonica.I am already working on an function which will directly use scilab matrices and will thus be converted to pix of leptonica.

#### Things learnt

How to create a C interface for scilab,and the working of the Scilab function.

### Commits

38159e0b7f430d3789faec58a89389d056d83951 d08680082325e292375f573f4ef0724c1593a8e5 3487c48a6488e621ff11d079412e223063160725 ec98ed406cfc74d664b22fb650ac63cfa598d32a 30affe2e57ed2693e45fe81f04ebcc993c647863 936ad1c9e27312a62f52ad1e00862bbb3140127c 936ad1c9e27312a62f52ad1e00862bbb3140127c 9ac702be3dd9c90e5437ba10e71b203f5290b468

### Screencast

Below are the links to screencast uploaded on Vimeo . Updated Deskew interface running in Scilab; https://vimeo.com/45161499 Updated Documentation ;https://vimeo.com/45161221