Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.0%) to scientific vocabulary
Repository
Extensions for EBImage
Basic Info
- Host: GitHub
- Owner: ornelles
- Language: R
- Default Branch: master
- Size: 5.03 MB
Statistics
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Description
This is a collection of functions to extend the EBImage package and provide helper functions for processing micrographs. These functions require the EBImage package and are typically used with the virustiter package. The virustiter package requires the lattice and latticeExtra packages.
Functional Groups
Extensions to EBImage
circularity- more precisely calculate the circularity of an image objectperimeter- more precisely calculate the perimeter of an image objectni- a vectorized wrapper to thenormalize()function with defaults for 12-bit imagesbresenham- Bresenham's integer line "plotting" algorithmpnpoly- determine if points are within a polygon (algorithm of W. Randolph Franklin)
Image stacks
stackObjects2- place detected objects with the bounding box in an image stackinterleave- reorganize an image stack by interleaving the imagesplotStack- plot an image stack with optional labelslocatorStack- interact with a plotted image stack to select frameslabelStack- label frames of a plotted image stack
Filters
sobel- the Sobel filter for edge detectionusm- the Unsharp mask filter to sharpen images by increasing local contrasthpf- the High pass filter to exclude slowly varying signals
Region of interest management
EBImage uses the S4 Image class to store and process images. A region of interest is an Image object with the additional class named Roi and a slot named loc to store the original x,y and x2,y2 location of the rectangular region of interest. This class of objects allows the image and original location to be passed in one object.
getROI- get a region of interestputROI- put a region of interest (with scaling) at one of nine locations in an imagedrawROI- draw a frame around or within an image to highlight the region of interestas.Roi- convertImageobject toRoiobject or reset thelocslot of anRoiobject to the image dimensions
Micrograph utilities
scaleBar- add horizontal scale bar to imagecrop- crop a grayscale or binary image to exclude zero pixels at the edgesboxtext- add text with a shaded background box to a plotdp- wrapper to calldev.printfor the current device window where the global logical variableSaveImagecan be used to determine whether a file will be saved or notinset- function to be added...maybe... add a framed inset to an image by sequential use of getROI, drawROI, and putROI to select a region from an image, draw a frame about the selected region and then place the selection as a framed inset
At the moment, inset can be emulated by something like the following:
```
plot(img) # assuming 'img' holds an Image object
ins <- getROI(img)
ans <- drawROI(img, ins, lwd = 2)
ans <- putROI(ans, ins, "topright", lwd = 4)
plot(ans)
```
License
GPL-3
Owner
- Name: David Ornelles
- Login: ornelles
- Kind: user
- Location: Winston-Salem, North Carolina
- Repositories: 5
- Profile: https://github.com/ornelles
Citation (CITATION.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Ornelles
given-names: David
orcid: https://orcid.org/0000-0002-5151-8382
date-released: 2019-06-12
keywords:
- R
- EBImage
- "Image analysis"
license: "GPL-3"
repository-code: "https://github.com/ornelles/EBImageExtra"
title: "EBImage Extra: Helper functions for EBImage"
version: 0.0.0.2
date-released: 2019-06-12
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Dependencies
- EBImage * depends
- R >= 3.2.1 depends
- lattice * depends