When a raster has one band and the data type is byte then the enhanced filter is not applied.
OperatingSystem | None |
BuildNumber | All |
SubprojectResolveBuildNumber | v1.1 |
Resolution | Awaiting response |
Severity | major |
SubprojectName | gvSIG |
Component | gvSIG - Raster |
Version | gvSIG - 1.10.0 |
SubprojectVersion | gvSIG - 1.10.0 |
SubprojectResolveVersion | gvSIG - 1.11.0 |
Has patch | Yes |
Category
Bugs
Login or
create an account to comment.
Comments
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]
[gvsig-desktop 34264]
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.