diff options
author | Wei-Ta Chen <weita@google.com> | 2011-10-14 12:14:59 -0700 |
---|---|---|
committer | Wei-Ta Chen <weita@google.com> | 2011-10-14 13:22:02 -0700 |
commit | d97245f738813db9e55e5ae34b01eb7ecd4381e0 (patch) | |
tree | 2f292ec798c5bc9b741842b302d4108f39778850 /jni/feature_mos/src/mosaic/Blend.h | |
parent | 28512f6648f24c423eac3740bc0b7e13a60dc638 (diff) | |
download | LegacyCamera-d97245f738813db9e55e5ae34b01eb7ecd4381e0.zip LegacyCamera-d97245f738813db9e55e5ae34b01eb7ecd4381e0.tar.gz LegacyCamera-d97245f738813db9e55e5ae34b01eb7ecd4381e0.tar.bz2 |
Eliminating aliasing vertical lines.
Reduce the cross-fading factor to eliminate the aliasing vertical lines.
Also, fix an issues in blending: skipping cross-fading when the
cross-fading width is 0.
Bug: 5446629
Change-Id: Id5fed50824a2b93d80ad464864e4e74a656acb82
Diffstat (limited to 'jni/feature_mos/src/mosaic/Blend.h')
-rw-r--r-- | jni/feature_mos/src/mosaic/Blend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/feature_mos/src/mosaic/Blend.h b/jni/feature_mos/src/mosaic/Blend.h index a5bc05b..80bb577 100644 --- a/jni/feature_mos/src/mosaic/Blend.h +++ b/jni/feature_mos/src/mosaic/Blend.h @@ -42,7 +42,7 @@ const float STRIP_SEPARATION_THRESHOLD = 0.10; // This threshold determines the number of pixels on either side of the strip // to cross-fade using the images contributing to each seam. This threshold // is specified as a fraction of the input image frame width. -const float STRIP_CROSS_FADE_WIDTH = 0.02; +const float STRIP_CROSS_FADE_WIDTH = 0.002; /** * Class for pyramid blending a mosaic. */ |