google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

Histo channels Red & Blue are swapped over? #337

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using the gb.image.effect component to create Histograms from jpeg images, the 
Green channel is OK.

But hHisto[Image.Red, index] seems to give the blue data, and 
hHisto[Image.Blue, index] seems to give the red data.

This was found by comparing histograms from a single image with GIMP and ImageJ 
histograms.

Gambas version: 3.1.1
Linux Lubuntu 12.10 running LXDE

Original issue reported on code.google.com by SteveDav...@googlemail.com on 20 Oct 2012 at 2:41

GoogleCodeExporter commented 9 years ago
Is it better with revision #5248?

Original comment by benoit.m...@gmail.com on 22 Oct 2012 at 2:15

GoogleCodeExporter commented 9 years ago
I don't know what "revision #5248" is as the link appears broken.
But I've added Gambas-Daily and run 3.3.90 and found the red & blue histograms 
still appear to be swapped over.

Original comment by SteveDav...@googlemail.com on 22 Oct 2012 at 9:02

GoogleCodeExporter commented 9 years ago
That PPA is build daily, i have issued a rebuild, please give it a couple of 
hours to finish. 

Because gambas uses dourceforge for code hosting, and not google code, the 
revision information is here:
http://gambas.svn.sourceforge.net/viewvc/gambas?view=revision&revision=5248

Original comment by sebi...@gmail.com on 22 Oct 2012 at 9:44

GoogleCodeExporter commented 9 years ago
OK, I've just updated and tried my code. Unfortunately, red & blue still appear 
to be swapped.

According to Synaptic, my Gambas version now appears to be: 
3.3.90-0+svn4123~quantal1

Original comment by SteveDav...@googlemail.com on 23 Oct 2012 at 8:16

GoogleCodeExporter commented 9 years ago
It is fixed in revision #5417, and will be backported to Gambas 3.3.5.

Original comment by benoit.m...@gmail.com on 10 Dec 2012 at 8:53