Nikos Alexandris:
> Updated in sandbox, see: https://trac.osgeo.org/grass/changeset/69365
> Is it though correct?
Vaclav Petras wrote:
I was not looking at the logic but
if (hue == -1.0) {
is not safe. Although it will probably work most of the time if you set it
to the exactly same value
Vaclav Petras wrote:
> > Updated in sandbox, see: https://trac.osgeo.org/grass/changeset/69365
> >
> > Is it though correct?
> >
>
> I was not looking at the logic but
>
> if (hue == -1.0) {
>
> is not safe. Although it will probably work most of the time if you set it
> to the exactly same
Nikos Alexandris:
Updated in sandbox, see: https://trac.osgeo.org/grass/changeset/69365
Is it though correct?
Vaclav Petras:
I was not looking at the logic but
if (hue == -1.0) {
is not safe. Although it will probably work most of the time if you set it
to the exactly same value (`hue =
On Sun, Sep 4, 2016 at 9:45 AM, Nikos Alexandris
wrote:
> Updated in sandbox, see: https://trac.osgeo.org/grass/changeset/69365
>
> Is it though correct?
>
I was not looking at the logic but
if (hue == -1.0) {
is not safe. Although it will probably work most of the
Nikos Alexandris:
if (chroma == 0.0) {
saturation = 0.0;
/* undefined -- (how to) set to NULL? */
hue = 0.0;
I'd like to set hue to NULL, whenever the condition is met. How do I do
that?
Markus Neteler:
Something like:
for (row = 0; row < nrows; row++) {
* Markus Neteler [2016-08-27 15:37:35 +0200]:
On Sat, Aug 27, 2016 at 3:26 PM, Nikos Alexandris
wrote:
While modifying i.rgb.his,
if (chroma == 0.0) {
saturation = 0.0;
/* undefined -- (how to) set to NULL? */
hue = 0.0;
On Sat, Aug 27, 2016 at 3:26 PM, Nikos Alexandris
wrote:
> While modifying i.rgb.his,
>
>if (chroma == 0.0) {
>
>saturation = 0.0;
>
>/* undefined -- (how to) set to NULL? */
>hue = 0.0;
>
>rowbuffer[0][sample] = (FCELL)hue;
>