Carnë
This is the code that i want to contribute:

function im_out =  rgb2ycbcr(im)
    dimensiones=size(im);
    if (length(dimensiones) == 3)
        fila=dimensiones(1,1);
        columna=dimensiones(1,2);
        profundidad=dimensiones(1,3);
    end
    if (profundidad == 3)
        im_cal = im2double(im);
        for i=1:fila
            for j=1:columna
                im_out(i,j,1) = uint8(floor(77*im_cal(i,j,1)+
150*im_cal(i,j,2) + 29*im_cal(i,j,3)));
                im_out(i,j,2) = uint8(floor(((-44*im_cal(i,j,1) -
87*im_cal(i,j,2) + 131*im_cal(i,j,3))/256 + 0.5)*256));
                im_out(i,j,3) = uint8(floor(((131*im_cal(i,j,1) -
110*im_cal(i,j,2) - 21*im_cal(i,j,3))/256 + 0.5)*256));
                endfor
        endfor
    else
        error ("rgb2ycbcr: the matrix mmust be a NxMx3");
    endif
endfunction

This function was not implemented y need it for some work and i want to
share with the community.
Is not a diff patch y do not find the file.
Can you add this function in the image package?

Thanks
Santiago

P.D.: Sorry for my english i am from Uruguay and i a little rusty.

2011/5/30 Carnë Draug <carandraug+...@gmail.com>

> On 30 May 2011 12:57, santiago reyes <mailalcu...@gmail.com> wrote:
> > Hi,  my name is Santiago Reyes and i made some functions in octave for
> the
> > image package and i want to add this to your svn.
> > So i need to be register.
> >
> > Thanks.
> > Santiago Reyes
>
> Hi Santiago,
>
> If you want to join the team of octave-forge devs you'll need a
> subversion account, yes. As a rule of thumb the devs require you to
> submit your first code contribution as a patch to the mailing-list
> before giving you commit access to the the repository.
>
> Hope to hear from you again soon,
> Carnë draug
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to