Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion de 0 a 1 #60

Open
jorrgeCruz opened this issue Mar 25, 2021 · 0 comments · May be fixed by #77
Open

Conversion de 0 a 1 #60

jorrgeCruz opened this issue Mar 25, 2021 · 0 comments · May be fixed by #77
Assignees
Labels
Feature request New feature / Nueva característica

Comments

@jorrgeCruz
Copy link
Owner

jorrgeCruz commented Mar 25, 2021

Nombre de la nueva característica

Conversion 01

Menu donde debe aparecer

Indicar de acuerdo a la siguiente<.
OP.Basicas -> Conversion01

Material guia para su implementación

//nota este codigo esta escrito en Java, no es copiar y pegar, debes adecuarlo
public static float [][][] reescalarRango01( float [][][] ent)
    {
        float [][][] sal = new float[3][][];
        int alto = ent[0].length, ancho =ent[0][0].length;
        for(int i = 0; i < 3; i++)
            sal[i] = new float[alto][ancho];
        for(int i = 0; i < alto; i++)
            for(int j = 0; j < ancho; j++)
            {
                sal[R][i][j]  = ent[R][i][j]/255;
                sal[G][i][j] = ent[G][i][j]/255;
                sal[B][i][j] = ent[B][i][j]/255;          
            }
        
        return sal;
    }
@jorrgeCruz jorrgeCruz added the Feature request New feature / Nueva característica label Mar 25, 2021
@jorrgeCruz jorrgeCruz added this to the Operaciones adicionales. milestone Mar 25, 2021
@hilda-24 hilda-24 linked a pull request Apr 21, 2021 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New feature / Nueva característica
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants