Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGBPixel doesn't include subtraction or addition operators #24

Open
addisonElliott opened this issue Oct 16, 2017 · 0 comments
Open

RGBPixel doesn't include subtraction or addition operators #24

addisonElliott opened this issue Oct 16, 2017 · 0 comments

Comments

@addisonElliott
Copy link

In Book 1, Chapter 4, it says the following (here)

ITK introduces the itk::RGBPixel type as a support for representing the values of an RGB color space. As such, the RGBPixel class embodies a different concept from the one of an itk::Vector in space. For this reason, the RGBPixel lacks many of the operators that may be naively expected from it. In particular, there are no defined operations for subtraction or addition.

According to the Doxygen for RGBPixel, there are addition and subtraction operators for the RGBPixel class. I'm not sure the information is correct. Maybe in the past this was not the case however.

Here is what to edit: https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/SoftwareGuide/Latex/Architecture/DataRepresentation.tex#L101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant