Hi Sir:
I want to create a mask image like this.
Could you give me some example ? and help me to check my code below, thank you.
I have two questions:
1.How to use Stemmer cvb dll to create a black image?
2.I try to use Stemmer.Cvb.ImageDrawer.FillCircle function to draw fill circle on my image, but it also show this exception.
I try to use Stemmer.Cvb.ImageDrawer.FillCircle function to draw fill circle on my image, but it also show this exception.
My C# Code:
private void CreateMask()
{
try
{
string filepath = “bb.bmp”;
Stemmer.Cvb.Image mask_image = Stemmer.Cvb.Image.FromFile(filepath);
mask_image.Initialize(0);
Stemmer.Cvb.ImageDrawer.FillCircle(mask_image.Planes[0], 255, 50, 50, 10);
mask_image.Save("mask with circle.bmp");
}
catch (Exception ee)
{
MessageBox.Show(ee.ToString());
}
}