Replace data on Image

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
kennyapril
Participant
Posts: 248
Joined: Fri Jul 30, 2010 9:04 am

Replace data on Image

Post by kennyapril »

Hello,

Our team does data masking for data from different data bases.

Is there something from IBM where we can mask or replace data on images like credit card, license.

Need to figure out where there is data on the image and replace it with some other word, like finding the pixel place and mask or replace it.

Please suggest me any other tool in the market if there is no such tool in IBM.

Thanks
Regards,
Kenny
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

Hi kennyapril ,

I don't believe IBM provide anything to do this, but as you're on Unix you could easily use imagemagick to mask the appropriate area by specifying the coordinates of the offending area on the image.

See http://www.imagemagick.org/Usage/blur/ and http://www.imagemagick.org/Usage/masking/ for examples.

John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I think one of the problems is they don't know where or even if there is anything in the image that may need to be masked. That's the first piece of the puzzle that needs to be solved - finding the text data in an image and then deciding if it needs to be masked. Then comes the image replacement / masking part.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kennyapril
Participant
Posts: 248
Joined: Fri Jul 30, 2010 9:04 am

Post by kennyapril »

Hi John,

Thank you for the information and links. Actually we are looking for something which can mask the names on an image as Chulett said ex: name on a license.
The links suggested by you seems to be masking images .
Correct me if I am wrong

Hi Chulett,

That is what exactly we need to do,we can figure out where the alphabets are present by the pixel location.
If we can figure out where the names/addresses are there, Is there some kind of tool which can mask them on the given image.



Thank you:)
Regards,
Kenny
Post Reply