Dear Mentors,

Carrying forward from our discussion on IRC.

# API DESIGNS

## Regarding Names and Comments

I have added groups name.
I have added comments for each api.
This is available at [0].

## Regarding Errors

This is an implementation issue. But as per the current planning, I am
looking forward to two types of errors
a) Arguments of function calling - I have changed the return type from void
to int. which will help in incorporating different return values during .
b) Run Time error -  Termination of the program. with relevant exit message
with bu_exit()

## Please comment If these plans are fine.

Here, I am asking about few utilities about whom, I am not sure if the
input arguments and output arguments are right.

a) icv_stat
Instead of sending two many output arguments like int *mean, int*mode..
etc. I plan to create a new structure icv_stat as per the designs in api
page.

b) icv_hist
 Here i am sending a pointer for a long array which is a output argument. I
have not encountered special representation for arrays in brlcad source!.
Plesase suggest any  different array representation if this is not fine.

## Regarding Suggestions

I seek advises for implementation of

pixclump

Brief Details :-  Quantize the color values in a PIX(5) stream to a set of
specified  values.*
*The problem I am facing here is regarding the input argument. This
function will require input arguments for a table of color pixels. An easy
and a naive implementation solution will be to send three arrays of r,c,b
and number of entries in the table. Another solution could be sending a 3Xn
array and number of table entries.

#Proposal Time Line Modifications

I wish to remove group 10-11 from my proposal. I believe this will help in
more time for the import/export tools and increases feasibility of the
project.
My Update proposal time line is here [1].

# PATCHES
Information regarding the patches submitted are here. [2]
I request mentors to please review them and provide suggestions if any.

#What next?
After designing the plan for core functionalities now i will be working on
conversion. I have kept this at last because during pre-GSOC period I had
worked on this. I also submitted a patch. This gives me some idea about the
implementation details. In days to come before the coding period I will
update the image formats to work on and the api calls of these routines.

Mohit Daga
IRC Nick zero_level


[0] http://brlcad.org/wiki/User:Level_zero/GSOC13/api
[1] http://brlcad.org/wiki/User:Level_zero/GSOC13/timeline
[2]http://brlcad.org/wiki/User:Level_zero/patches
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to