diff options
author | Pacien TRAN-GIRARD | 2015-10-28 11:09:31 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-10-28 11:09:31 +0100 |
commit | 93ad72d636c9a4cd433225006dec850c150bdc65 (patch) | |
tree | f5a5d06dd7c2786a213d8f05e92c2b1d16a07ba0 /src/main | |
parent | a1b206135d64d2a7898512fcd1e272360514ca57 (diff) | |
download | seam-stitcher-93ad72d636c9a4cd433225006dec850c150bdc65.tar.gz |
Add operational condition on matrix size
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/Filter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/Filter.java b/src/main/java/Filter.java index 1e50d7e..4e06800 100644 --- a/src/main/java/Filter.java +++ b/src/main/java/Filter.java | |||
@@ -23,7 +23,7 @@ public final class Filter { | |||
23 | /** | 23 | /** |
24 | * Get a pixel without accessing out of bounds | 24 | * Get a pixel without accessing out of bounds |
25 | * | 25 | * |
26 | * @param gray a HxW float array | 26 | * @param gray a HxW float array, H > 0, W > 0 |
27 | * @param row Y coordinate | 27 | * @param row Y coordinate |
28 | * @param col X coordinate | 28 | * @param col X coordinate |
29 | * @return nearest valid pixel color | 29 | * @return nearest valid pixel color |