Skip to content

Commit

Permalink
Add a first-guess yellow plane
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Jan 28, 2016
1 parent 88af76a commit cea79dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file added tests/color-data/yellow.npy
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/cvgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import scipy.io


colors = ['red', 'green', 'blue', 'black', 'white']
colors = ['red', 'green', 'blue', 'black', 'white', 'yellow']

color_data = {
c: np.load('color-data/{}.npy'.format(c)) for c in colors
Expand Down
2 changes: 2 additions & 0 deletions tests/plot_planes.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
scatter3( blue(:,3), blue(:,2), blue(:,1), 'b')
scatter3(black(:,3), black(:,2), black(:,1), 'k')
scatter3(white(:,3), white(:,2), white(:,1), 'w')
scatter3(yellow(:,3), yellow(:,2), yellow(:,1), 'y')
xlim([0 255])
ylim([0 255])
zlim([0 255])
Expand All @@ -26,6 +27,7 @@
dirs = [
{[1 -0.65 -0.65]', 16, 'r'};
{[-0.9 1 -0.3]', 8, 'g'};
{[-1 0.2 0.8]', 8, 'y'};
{[-0.3 -0.9 1]', 8, 'b'};
{[-1 -1 -1]', -110, 'k'};
]';
Expand Down

0 comments on commit cea79dd

Please sign in to comment.