Revision 1400 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/grid/filter/enhancement/LinearStretchEnhancementFilter.java
LinearStretchEnhancementFilter.java | ||
---|---|---|
208 | 208 |
new Double(Math.round(getTailTrim().doubleValue() * 100.0)), |
209 | 209 |
Params.SLIDER, |
210 | 210 |
new String[]{ "0", "100", "0", "1", "25" }); //min, max, valor defecto, intervalo peque?o, intervalo grande; |
211 |
|
|
212 |
|
|
211 | 213 |
params.setParam("StretchInRed", |
212 | 214 |
stretchs.red.stretchIn, |
213 | 215 |
Params.CHOICE, |
... | ... | |
232 | 234 |
stretchs.blue.stretchOut, |
233 | 235 |
Params.CHOICE, |
234 | 236 |
null); |
237 |
|
|
238 |
|
|
235 | 239 |
params.setParam("TailTrimRedMin", |
236 | 240 |
new Double(stretchs.red.tailTrimMin), |
237 | 241 |
Params.CHOICE, |
... | ... | |
256 | 260 |
new Double(stretchs.blue.tailTrimMax), |
257 | 261 |
Params.CHOICE, |
258 | 262 |
null); |
263 |
|
|
264 |
|
|
265 |
params.setParam("RedMaxValue", |
|
266 |
new Double(stretchs.red.maxValue), |
|
267 |
Params.CHOICE, |
|
268 |
null); |
|
269 |
params.setParam("RedMinValue", |
|
270 |
new Double(stretchs.red.minValue), |
|
271 |
Params.CHOICE, |
|
272 |
null); |
|
273 |
params.setParam("GreenMaxValue", |
|
274 |
new Double(stretchs.green.maxValue), |
|
275 |
Params.CHOICE, |
|
276 |
null); |
|
277 |
params.setParam("GreenMinValue", |
|
278 |
new Double(stretchs.green.minValue), |
|
279 |
Params.CHOICE, |
|
280 |
null); |
|
281 |
params.setParam("BlueMaxValue", |
|
282 |
new Double(stretchs.blue.maxValue), |
|
283 |
Params.CHOICE, |
|
284 |
null); |
|
285 |
params.setParam("BlueMinValue", |
|
286 |
new Double(stretchs.blue.minValue), |
|
287 |
Params.CHOICE, |
|
288 |
null); |
|
289 |
|
|
290 |
|
|
291 |
params.setParam("TailTrimRedValueMax", |
|
292 |
new Double(stretchs.red.tailTrimValueMax), |
|
293 |
Params.CHOICE, |
|
294 |
null); |
|
295 |
params.setParam("TailTrimRedValueMin", |
|
296 |
new Double(stretchs.red.tailTrimValueMin), |
|
297 |
Params.CHOICE, |
|
298 |
null); |
|
299 |
params.setParam("TailTrimGreenValueMax", |
|
300 |
new Double(stretchs.green.tailTrimValueMax), |
|
301 |
Params.CHOICE, |
|
302 |
null); |
|
303 |
params.setParam("TailTrimGreenValueMin", |
|
304 |
new Double(stretchs.green.tailTrimValueMin), |
|
305 |
Params.CHOICE, |
|
306 |
null); |
|
307 |
params.setParam("TailTrimBlueValueMax", |
|
308 |
new Double(stretchs.blue.tailTrimValueMax), |
|
309 |
Params.CHOICE, |
|
310 |
null); |
|
311 |
params.setParam("TailTrimBlueValueMin", |
|
312 |
new Double(stretchs.blue.tailTrimValueMin), |
|
313 |
Params.CHOICE, |
|
314 |
null); |
|
315 |
|
|
316 |
params.setParam("RedOffset", |
|
317 |
stretchs.red.offset, |
|
318 |
Params.CHOICE, |
|
319 |
null); |
|
320 |
params.setParam("GreenOffset", |
|
321 |
stretchs.green.offset, |
|
322 |
Params.CHOICE, |
|
323 |
null); |
|
324 |
params.setParam("BlueOffset", |
|
325 |
stretchs.blue.offset, |
|
326 |
Params.CHOICE, |
|
327 |
null); |
|
328 |
params.setParam("RedScale", |
|
329 |
stretchs.red.scale, |
|
330 |
Params.CHOICE, |
|
331 |
null); |
|
332 |
params.setParam("GreenScale", |
|
333 |
stretchs.green.scale, |
|
334 |
Params.CHOICE, |
|
335 |
null); |
|
336 |
params.setParam("BlueScale", |
|
337 |
stretchs.blue.scale, |
|
338 |
Params.CHOICE, |
|
339 |
null); |
|
340 |
|
|
341 |
|
|
259 | 342 |
params.setParam("Remove", |
260 | 343 |
new Boolean(removeEnds), |
261 | 344 |
Params.CHOICE, |
Also available in: Unified diff