Library created for the demonstration of computation of HDR on Android Device. This library uses RenderScript extensively for the computation of pixels.
This Application is provided with beautiful interface, so as to provide the demonstration of the usage of the HDR Library.
In Android Studio users can import the .aar
module from the release build / can include the library hdr
to their project.
- Open
Project Structure > All Dependencies > +
select the.aar
file - Import the module to the current project & Apply
Library provides a single way so that multiple request can be sent.
- In your project import
com.adrino.hdr.corehdr.CreateHDR
- Create instance of the CreateHDR,
CreateHDR createHdr = new CreateHDR(getApplicationContext());
- Using
perform
method, perform any action ( intermediate step ) of Exposure Fusion by passingList<Bitmap>
consisting of Multiple Exposed Images ( Size should be 3 )Here,List<Bitmap> hdrImage = createHdr.perform( bitmapImageList, CreateHDR.Actions.HDR );
CreateHDR.Actions
is enumeration which has following items,Which is used to specify which intermediate result is required. Accordingly the size of output list varies. {see documentation in CreateHDR }HDR CONTRAST EXPOSED GAUSSIAN LAPLACIAN NORMAL RESULTANT SATURATION
- Using this list image can be used for further processing.
If any error, suggestions please do contact :
Adarsh Revankar
adarsh_revankar@live.com