Original Image 1 |
Original Image 2 |
op="Add" |
op="allanon" |
op="alphablend" |
op="colorize" |
op="darken" |
op="diff" |
op="dissipate" |
op="hue" |
op="lighten" |
op="overlay" |
op="saturate" |
op="screen" |
op="sub" |
op="tint" |
op="value" |
#include "TImage.h"
#include "TCanvas.h"
#include "TArrayD.h"
#include "TROOT.h"
#include "TColor.h"
#include "TAttImage.h"
#include "TEnv.h"
void imgProc()
{
TImage *img1 = TImage::Open("IMGP4782.png");
TImage *img2 = TImage::Open("IMGP4783.png");
img2->Merge(img1, "value");
img2->WriteImage("MregeValue.png");
//img2->Draw();
}
No comments:
Post a Comment