Skip to main content

Byte rasters with one band are shown incorrectly

Anonymous (not verified)
Published on: 09/12/2010 Discussion Archived

When a raster has one band and the data type is byte then the enhanced filter is not applied.



OperatingSystemNone
BuildNumberAll
SubprojectResolveBuildNumberv1.1
ResolutionAwaiting response
Severitymajor
SubprojectNamegvSIG
ComponentgvSIG - Raster
VersiongvSIG - 1.10.0
SubprojectVersiongvSIG - 1.10.0
SubprojectResolveVersiongvSIG - 1.11.0
Has patchYes

Category

Bugs

Comments

Anonymous (not verified) Thu, 09/12/2010 - 09:30

The initial condition to apply a enhanced is wrong. The new condition will be if (!(getBandCount() >= 3 && getDataType()[0] == IBuffer.TYPE_BYTE)) [gvsig-desktop 34245]

Anonymous (not verified) Tue, 14/12/2010 - 14:43

[gvsig-desktop 34264]

jmarti (not verified) Mon, 07/02/2011 - 11:21

I did the following steps: 1 .- Load a raster layer with 1 band and byte data type 2 .- The properties of the layer, I make several tests with the enhance: Brighetness, Contrast Enhance, Remove edges, tail clipping, ... 3 .- Any changes you make in the coating, applied correctly. 4 .- I've done these tests both in gvSIG gvSIG 1.10 As in 1.11 and everything works properly I therefore find no error. Am I playing run around the bug? When you can, try to explain in more detail the error to be less hesitant in the test. ----- He hecho los siguientes pasos: 1.- Cargar una capa raster, con 1 banda y tipo de dato byte 2.- En las propiedades de la capa, hago varias pruebas con el realce: Brighetness, Contrast, Enhance, Remove edges, Clipping tail, ... 3.- Todos los cambios que hago en la capa, se aplican correctamente. 4.- He hecho estas pruebas tanto en gvSIG 1.10 como en gvSIG 1.11 y todo me funciona correctamente, por tanto, no encuentro ningun error. ¿Estoy reproduciendo corretamente el bug? Cuando podais, intentar explicar mas detalladamente el error para tener menos dudas en el testeo.

Login or create an account to comment.