Skip to content

countcolors

0.9.1Package record

Locates and Counts Pixels Within Color Range(s) in Images

0packages dependsuggested by 2
4.3Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Counts colors within color range(s) in images, and provides a masked version of the image with targeted pixels changed to a different color. Output includes the locations of the pixels in the images, and the proportion of the image within the target color range with optional background masking. Users can specify multiple color ranges for masking.

Changes in 0.9.1

Fixed some bugs with countColors accepting RGB matrices for indicator color specification. Fixed redundant vignette names.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘jpeg’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-06-08
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.9.1
READMEYes · 320 wordsVignettesYes · 2 · dynamicNEWSYes · 67% structured · mentions 0.9.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6
Examples that run
83%5 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
0%

Downloads

4.3K
CRAN downloads in the past year
Rank #11,722 · ~12/day · ~356/mo
Daily download trend is not available in this view yet.
37130 days
92690 days
4.3K1 year
Compare downloads with other packages →
Also on196 r2u8 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing countcolors adds 83 packages (49 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.4.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.9.0 (2018)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9.1Latest
    record
    2019-01-12 · current release · diff ↗
  • 0.9.0
    record
    2018-11-02
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-11-02
Total releases
2 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.4.0
Download size
2.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("countcolors")
Weller, H. (2019). countcolors: Locates and Counts Pixels Within Color Range(s) in Images (Version 0.9.1) [Computer software]. https://doi.org/10.32614/CRAN.package.countcolors

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for countcolors version 0.9.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy