Help needed urgently

Default default at cse.unl.edu
Thu Mar 1 04:43:52 EST 2001


Hi,
 
I have a image called street.tif and 2 boxes whose coordinates are for example as follows;
 
Box1
frc[i].lx = x1;   //left x-coordinate
frc[i].ly = y1;   //left y-coordinate
frc[i].tx = x2;   //top x-coordinate
frc[i].ty = y2;   //top y-coordinate
frc[i].rx = x3;   //right x-coordinate
frc[i].ry = y3;   //right y-coordinate
frc[i].bx = x4;  //bottom x-coordinate
frc[i].by = y4;  //bottom y-coordinate
 
//Box2
frc[i].lx = x11;
frc[i].ly = y11;
frc[i].tx = x22;
frc[i].ty = y22;
frc[i].rx = x33;
frc[i].ry = y33;
frc[i].bx = x44;
frc[i].by = y44;
 
I need to create a new image say street1.tif which contains
street.tif - boxes i.e I have to erase all pixels within the
box1 and box2.
 
It would be great if you could help me. Can I do it without using Image Magick or other tools but with just TIFF library tools.
 
THanks
Chakravarthy Terlapu                    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://iubio.bio.indiana.edu/bionet/mm/bio-soft/attachments/20010301/5aa69f12/attachment.html


More information about the Bio-soft mailing list