HistogramDialog* hDlg=new HistogramDialog(NULL,_T("Color table"),imagedata,2);
- hDlg->erasePointsTransferenceFunction();
+ hDlg->erasePointsTransferenceFunction();
int ctfSize=ctfunVectorRed->size();
if(ctfSize>0)
{
double gr = (*ctfunVectorPoint)[i];
double r = (*ctfunVectorRed)[i];
double g = (*ctfunVectorGreen)[i];
- double b = (*ctfunVectorBlue)[i];
-
+ double b = (*ctfunVectorBlue)[i];
+
hDlg->addColorPoint(gr,(int)(r*255),(int)(g*255),(int)(b*255));
+
i++;
}
}