R/erase.R

Defines functions erase

Documented in erase

erase <-
function(zone.img,img,interact=TRUE,shape="rect",pts=NULL)
{
	zone.to.suppress=create.zones(img=img,n.zones=1,shape=shape,name.zones=c("to.suppress"),interact=interact,pts=pts)
	matPos=img.zone(zone=zone.to.suppress,d=NULL,mask=NULL,edge.only=FALSE,wo.edge=FALSE,graph=FALSE,img=img,lim=30)	
	zone.img[matPos=="to.suppress"]=NA
	return(zone.img)
}

Try the multifluo package in your browser

Any scripts or data that you put into this service are public.

multifluo documentation built on May 2, 2019, 1:07 p.m.