Commit efafaf89 authored by Marcos Adrian Cervetto's avatar Marcos Adrian Cervetto
Browse files

fix enunciado

parent 3479f107
......@@ -110,7 +110,7 @@ Se **deben** procesar al menos **4 canales en simultáneo, en el mismo registro
## La función `sepia`
`void sepia(rgba_t* I, rgba_t* O, uint32_t size);`
`void sepia(rgba_t* O, rgba_t* I, uint32_t size);`
Queremos implementar el filtro de tono sepia para aplicarlo a imagenes de mapa de bits de tamaño size x size.
......@@ -120,9 +120,9 @@ El algoritmo del filtro `sepia` aplica una función a cada pixel de la imagen:
```math
\begin{array}{ccc}
\mathsf{O}_{i,j}^r & = & saturar(0,5 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^g & = & saturar(0,3 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^b & = & saturar(0,2 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^r & = & saturar(0.5 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^g & = & saturar(0.3 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^b & = & saturar(0.2 \cdot \mathsf{suma}_{i,j}) \\
\mathsf{O}_{i,j}^a & = & \mathsf{I}_{i,j}^a \\
\end{array}
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment