pick_color: Selecionar os valores de RGB em pixels (Selecting RGB values...

View source: R/pick_color.R

pick_colorR Documentation

Selecionar os valores de RGB em pixels (Selecting RGB values in pixels).

Description

Esta funcao retorna o valor de R, G e B no pixel selecionado. (This function returns the value of R, G and B at the selected pixel ).

Usage

pick_color(im, matrix = NULL)

Arguments

im

Este objeto deve conter uma imagem no formato do EBImage (This object must contain an image in EBImage format ).

matrix

Deve ser uma matriz com 3 colunas correspondentes aos canais R, G e B. Os novos valores selecionados serao adicionados a essa matriz. (It must be a matrix with 3 columns corresponding to the R, G and B channels. The new selected values will be added to this matrix).

Value

Esta funcao retorna o valor de R, G e B no pixel selecionado. (This function returns the value of R, G and B at the selected pixel ).

Author(s)

Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)

See Also

segmentation_logit

Examples

## Not run: 
#library(ExpImage)
#library(EBImage)
#Carregar imagem de exemplo
im=read_image(example_image(2),plot=TRUE)
pick_color(im)

## End(Not run)


ExpImage documentation built on Jan. 6, 2023, 1:24 a.m.