pixAddGray | R Documentation |
This is one collection of functions useful for manipulating
Pix-class
objects.
pixAddGray(pix1, pix2, target = NULL)
pixInvert(pix, target = NULL)
pixCloseGray(pix, horiz, vert)
pixErodeGray(pix, horiz, vert)
pixConvertTo8(pix, colormap = FALSE)
pix , pix1 , pix2 |
a |
target |
either a |
colormap |
a logical value indicating whether to include or exclude the color map for the new image. |
horiz |
the width in pixels of the horizontal region for the operation |
vert |
the width in pixels of the vertical region for the operation |
These functions return a Pix-class
object.
Duncan Temple Lang
http://tpgit.github.io/UnOfficialLeptDocs/
pixRead
GetInputImage
pixAnd
f = system.file("images", "SMITHBURN_1952_p3.png", package = "Rtesseract")
p1 = pixRead(f)
p2 = pixConvertTo8(p1)
p2 = deskew(p2)
p6 = Rtesseract:::findLines(p2, 51, 5, FALSE)
p = pixAddGray(p2, p6)
plot(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.