Skip to content

Commit

Permalink
result image processing 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mariabrbz committed Jun 13, 2020
1 parent 6b9934f commit a519d7d
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Image processing/color_match.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ int main() {
int width, height, channels;
unsigned char *I = stbi_load("lego.png", &width, &height, &channels, 3);
cout<<I[0]<<endl;
unsigned char *M = stbi_load("model.png", &width, &height, &channels, 3);
unsigned char *M = stbi_load("model2.png", &width, &height, &channels, 3);
int n = 40000;
color_match(I, M, n);
stbi_write_png("test.png", 200, 200, 3, &I[0], 600);
stbi_write_png("test2.png", 200, 200, 3, &I[0], 600);
return 0;
}
Binary file added Image processing/cool
Binary file not shown.
Binary file added Image processing/model2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Image processing/result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image processing/result2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image processing/test2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a519d7d

Please sign in to comment.