Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AyOC - docentes
individual-2c2024
Commits
efafaf89
Commit
efafaf89
authored
4 months ago
by
Marcos Adrian Cervetto
Browse files
Options
Download
Email Patches
Plain Diff
fix enunciado
parent
3479f107
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
r1d/README.md
r1d/README.md
+4
-4
No files found.
r1d/README.md
View file @
efafaf89
...
...
@@ -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}
```
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment