0

I have been trying to run the code in R to normalize an image and clip the channel at 0.2. However, I keep getting an issued argument for anything I put after the first argument. inputRange is listed as an argument in the documentation.

norm_images <- normalize(cur_images, inputRange = c(0, 0.2))

I tried adding other arguments in such as separate or ft and those also did not work despite being listed in the API.

2
  • 1
    It's easier to help you if you include a simple reproducible example with sample input and desired output that can be used to test and verify possible solutions. What packages do you currently have loaded? Is is possible you have more than one normalize function defined? Commented Jun 10, 2024 at 18:59
  • Try using EBImage::normalize() instead of just function name normalize(). Share your sessionInfo. Commented Jun 10, 2024 at 19:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.