Weekly Report (1st August to 19th August)
- Weekly Report (1st August to 19th August)
This is the report of Pallan Madhavan for the GSOC 2012 on the project "Scilab Image Processing Toolbox (SIP) " for the period 1st August to 19th August.
Converting Scilab matrices to Pix
The above function is used to convert Scilab 2 Dimensional double matrix into PIX of leptonica,with the help of this function. we can now convert Gray Scale images from scilab matrices to the necessary operations on PIX available in leptonica. This function is generally used for grayscale images.Here,we have used pixSetRGBPixel function which is used to set pixel value and sets all the three RGB values to the same value of the matrix.
Converting Pix to Scilab matrices
This function converts pix gray image to scilab 2D double matrix, making it more easier for scilab to perform operation available in siptoolbox. We can then apply other possible functions on the image,so to meet our requirements.
Test cases for deskew and dewarp
Above macros checks various test cases for the deskew function ,available in deskew to check for 3 cases of images such as indexed image ,grayscale image and truecolor image .The macros also provides necessary scilab matrices to cross check the given test case.
Above macros unlike deskew checks for various test cases,which includes indexed image , grayscale image and truecolor image for the dewarp function .The macros also provides necessary scilab matrices to cross check the given test case.
Updated Deskew and Dewarp function
- Added conditions to detect errors for leptonica functions used in deskew and dewarp.
- Removed all unwanted functions in deskew and dewarp .
- Removed all the Imagemagick variable in deskew and dewarp.
- Added indexed images for both deskew and dewarp ,So to verify the indexed map conditions and function in deskew and dewarp.
baff76062c331c55f8a33fbf85d13ceda4423028 b44691bf2a88f22f4aa893cd6bb9f99daa81fcb2 0b39efa21bd89dfbcab0f61f744847fba1f152b2 e19d2ec64610a4be69821e44217ab7ed097fa03c b8973993ca56a58a68240536468a4709e253e627 fd1b69363603c30751cf992eeeda60418ddeb788 86bbc8d282469be87b24ab2d4119ec3cad091395 cef117ba0105b3e3bb71366fab72fc4a0d5ce10f 43f22807f033a5479ae267c6f28ab344cf0cec45 ac704e588abbd145ed2f5d9ef6870a003f408b51