/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Mosaic.h | 18 // Mosaic.h 21 // $Id: Mosaic.h,v 1.16 2011/06/24 04:22:14 mbansal Exp $ 31 /*! \mainpage Mosaic 34 The class Mosaic provides a simple interface to the panoramic mosaicing algorithm. The class allows passing in individual image frames to be stitched together, computes the alignment transformation between them, and then stitches and blends them together into a single panoramic output which can then be accessed as a single image. \ 37 The class methods need to be called as outlined in the sample application which is created from the mosaic_main.cpp file in the directory src/mosaic/. A brief snapshot of the flow is given below: 40 Mosaic mosaic; 50 if (!mosaic.isInitialized()) 52 // Initialize mosaic processing 53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f) [all...] |
Mosaic.cpp | 18 // Mosaic.pp 21 // $Id: Mosaic.cpp,v 1.20 2011/06/24 04:22:14 mbansal Exp $ 26 #include "Mosaic.h" 30 #define LOG_TAG "MOSAIC" 32 Mosaic::Mosaic() 40 Mosaic::~Mosaic() 60 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) 124 int Mosaic::addFrameRGB(ImageType imageRGB [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.h | 18 // Mosaic.h 21 // $Id: Mosaic.h,v 1.16 2011/06/24 04:22:14 mbansal Exp $ 31 /*! \mainpage Mosaic 34 The class Mosaic provides a simple interface to the panoramic mosaicing algorithm. The class allows passing in individual image frames to be stitched together, computes the alignment transformation between them, and then stitches and blends them together into a single panoramic output which can then be accessed as a single image. \ 37 The class methods need to be called as outlined in the sample application which is created from the mosaic_main.cpp file in the directory src/mosaic/. A brief snapshot of the flow is given below: 40 Mosaic mosaic; 50 if (!mosaic.isInitialized()) 52 // Initialize mosaic processing 53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f) [all...] |
Mosaic.cpp | 18 // Mosaic.pp 21 // $Id: Mosaic.cpp,v 1.20 2011/06/24 04:22:14 mbansal Exp $ 26 #include "Mosaic.h" 30 #define LOG_TAG "MOSAIC" 32 Mosaic::Mosaic() 40 Mosaic::~Mosaic() 56 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still) 119 int Mosaic::addFrameRGB(ImageType imageRGB [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Mosaic.java | 20 * The Java interface to JNI calls regarding mosaic stitching. 24 * Mosaic mosaic = new Mosaic(); 25 * mosaic.setSourceImageDimensions(width, height); 26 * mosaic.reset(blendType); 29 * mosaic.setSourceImage(pixels); 32 * mosaic.createMosaic(highRes); 33 * byte[] result = mosaic.getFinalMosaic(); 36 public class Mosaic { [all...] |
MosaicFrameProcessor.java | 35 private Mosaic mMosaicer; 78 mMosaicer = new Mosaic(); 94 setStripType(Mosaic.STRIPTYPE_WIDE); 155 // When done, processes and displays the final mosaic. 175 // If we are still collecting new frames for the current mosaic,
|
PanoramaModule.java | 84 public static final int DEFAULT_BLEND_MODE = Mosaic.BLENDTYPE_HORIZONTAL; 450 // the camera preview screennail to the same size and initialize the mosaic 769 } else if (!jpeg.isValid) { // Error when generating mosaic. [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
Mosaic.java | 20 * The Java interface to JNI calls regarding mosaic stitching. 24 * Mosaic mosaic = new Mosaic(); 25 * mosaic.setSourceImageDimensions(width, height); 26 * mosaic.reset(blendType); 29 * mosaic.setSourceImage(pixels); 32 * mosaic.createMosaic(highRes); 33 * byte[] result = mosaic.getFinalMosaic(); 36 public class Mosaic { [all...] |
MosaicFrameProcessor.java | 36 private Mosaic mMosaicer; 73 mMosaicer = new Mosaic(); 89 setStripType(Mosaic.STRIPTYPE_WIDE); 148 // When done, processes and displays the final mosaic. 173 // If we are still collecting new frames for the current mosaic,
|
PanoramaActivity.java | 88 public static final int DEFAULT_BLEND_MODE = Mosaic.BLENDTYPE_HORIZONTAL; 464 // If panorama is generating low res or high res mosaic, it 466 // preview. Preview will be started after final mosaic is 531 // Update the transformation matrix for mosaic pre-process. [all...] |
/packages/apps/Camera/jni/ |
feature_mos_jni.cpp | 27 #include "mosaic/AlignFeatures.h" 28 #include "mosaic/Blend.h" 29 #include "mosaic/Mosaic.h" 30 #include "mosaic/Log.h" 49 Mosaic *mosaic[NR] = {NULL,NULL}; variable 53 // Variables to keep track of the mosaic computation progress for both LR & HR. 55 // Variables to be able to cancel the mosaic computation when the GUI says so. 92 if(mosaic[mID]!=NULL [all...] |
Android.mk | 10 $(LOCAL_PATH)/feature_mos/src/mosaic 17 feature_mos/src/mosaic/trsMatrix.cpp \ 18 feature_mos/src/mosaic/AlignFeatures.cpp \ 19 feature_mos/src/mosaic/Blend.cpp \ 20 feature_mos/src/mosaic/Delaunay.cpp \ 21 feature_mos/src/mosaic/ImageUtils.cpp \ 22 feature_mos/src/mosaic/Mosaic.cpp \ 23 feature_mos/src/mosaic/Pyramid.cpp \
|
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 27 #include "mosaic/AlignFeatures.h" 28 #include "mosaic/Blend.h" 29 #include "mosaic/Mosaic.h" 30 #include "mosaic/Log.h" 49 Mosaic *mosaic[NR] = {NULL,NULL}; variable 53 // Variables to keep track of the mosaic computation progress for both LR & HR. 55 // Variables to be able to cancel the mosaic computation when the GUI says so. 92 if(mosaic[mID]!=NULL [all...] |
Android.mk | 10 $(LOCAL_PATH)/feature_mos/src/mosaic 17 feature_mos/src/mosaic/trsMatrix.cpp \ 18 feature_mos/src/mosaic/AlignFeatures.cpp \ 19 feature_mos/src/mosaic/Blend.cpp \ 20 feature_mos/src/mosaic/Delaunay.cpp \ 21 feature_mos/src/mosaic/ImageUtils.cpp \ 22 feature_mos/src/mosaic/Mosaic.cpp \ 23 feature_mos/src/mosaic/Pyramid.cpp \
|
/packages/apps/Camera/perftests/panorama/ |
benchmark.cpp | 22 #include "mosaic/Mosaic.h" 23 #include "mosaic/ImageUtils.h" 83 Mosaic mosaic; local 85 mosaic.initialize(blendingType, stripType, width, height, -1, false, 0); 89 mosaic.addFrame(yvuFrames[i]); 96 mosaic.createMosaic(progress, cancelComputation); 99 ImageType resultYVU = mosaic.getMosaic(mosaicWidth, mosaicHeight);
|