[ASK] Change Image Color

General information about Neurotechnology and its software

[ASK] Change Image Color

Postby ifandev » Mar 06, 2017 04:29

Hi,

I am using VeriFinger , and wondering is that possible to change the color of the finger image captured by scanner,
when this code get executed it will give us black/white image (white as a background);

Code: Select all
var imgBinBuffer = _subjectFinger.BinarizedImage.Save(Neurotec.Images.NImageFormat.Png);
var binStream = new MemoryStream(imgBinBuffer.Size);
imgBinBuffer.WriteTo(binStream);


is there a way to change the color of finger from black to something else, and make the background transparent or another color ?

Thanks,
Ifan
ifandev
 
Posts: 1
Joined: Oct 19, 2016 10:15

Re: [ASK] Change Image Color

Postby Martynas » Mar 06, 2017 07:57

Hi,

you can use the NImages.GetGrayscaleColorWrapper or NImages.Recolor to recolor your image. There is no functionality to return the image with transparency.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2195
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 2 guests

cron