changeCellSize: changeCellSize

View source: R/adjustPipelineFun.R

changeCellSizeR Documentation

changeCellSize

Description

apply rescale Image data to [0, 1]

Usage

changeCellSize(
  img,
  changeCellSize_direction = c("erode", "dilate"),
  changeCellSize_targetChannel = c("red", "green", "blue"),
  changeCellSize_size = 3,
  changeCellSize_shape = "disc",
  ...
)

Arguments

img

an object of Image.

changeCellSize_direction

"erode" or "dilate". erode make the cell size smaller and dilate make the cell size bigger.

changeCellSize_targetChannel

the target channel.

changeCellSize_size, changeCellSize_shape

Brush size and shape, see makeBrush

...

not used.

Author(s)

Jianhong Ou

Examples

library(EBImage)
img <- readImage(system.file("extdata", "low.jpg", package="cellCounter"))
changeCellSize(img)

jianhong/cellCounter documentation built on June 10, 2022, 8 p.m.