Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Example of colorise not working #140

Description

@ferenci-tamas

Here is a minimal reproducible example:

library(imager)
im <- load.example("coins")
colorise(im,~ x < 50,"blue") %>% plot

This results in Error in if (spectrum(px) != 1) { : argument is of length zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions