Subversion Repositories public iLand

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
77 5437d 15h Werner /fonstudio/ streamlined the application of stamps (now much faster)
changed the internal layout of grids (now the lines are in x-direction)
some fiddling with compiler switches
 
76 5437d 19h Werner /fonstudio/  
75 5437d 20h Werner /fonstudio/ Optimization: removed the abundant "isValid" calls in the Grid-Class
and tried some optimizations in the tree class (applyStamp).
Interestingly, the Grid-modification did not increase performance as expected.
 
74 5437d 20h Werner /fonstudio/ Changed algorithm for dominant height grid.
* "smooth" height values if trees are not in center of 10m height Grid
* the height-value is the maximum value of all the trees in the pixel (thus no part of the crown is above this height)
 
70 5442d 22h Werner /fonstudio/ MainWindow: the "scale to a height" FON-visualization.
Tree: change behavior of reading: now the value of the height grid is considered for every pixel (see also bugfix20090812.xls).
 
62 5470d 22h Werner /fonstudio/ * Tree:heightGrid(): changed calculation scheme for dominant height
* LightRoom: mod of aggregation: now weighing with the local dominant height (consistently with the usage in the FON-studio).
 
61 5470d 23h Werner /fonstudio/ * modified bin-sizes in StampContainer
* cleaned Tree-class (dropped some old code and refs from other places)
 
60 5471d 01h Werner /fonstudio/ application of stamps now considers local height of Z* (see also prev. commit)
in Tree::applyStamp()
 
59 5471d 02h Werner /fonstudio/ changed way of height-grid-calculation: (Tree::heightGrid()):
a tree affects the height grid of more cells (up to the 45° angle).
 
58 5471d 21h Werner /fonstudio/ working version of light alogorithnm:
* steps during read:
own_xy = 1 - writer_xy * la_factor / h_dom
value_xy = grid_xy / own_xy
lightvalue = sum( value_xy * reader_xy) [ sum(reader) = 1 ]

additional correction for overstorey:
if h > h_dom:
lightvalue = 1 - (1 - lightvalue) * h/h_dom

other issues:
* added buffer around sim. area
* cleaned xml-file and code to interpret
* fixed Viewport (handling of negative coordinates - see buffer)
* fixed StampContainer, added finalizeSetup() - (filling up of the lookup map)
 
53 5472d 22h Werner /fonstudio/ additive mode, relate impact sum to Z*-crown height.  
52 5472d 22h Werner /fonstudio/ modified to additive again;
* in Lightroom again the average up to the treeheight is summed up
* while extracting stamps, an upper limit of 47x47px (i.e. with 2m grid size approx. 1ha) is used. Now the criterion is based upon absolute values - maybe switch to relative values again (to avoid huge stamps)??
 
51 5473d 01h Werner /fonstudio/ changed application/stamp production to a multiplicative approach, disengaged the height field.  
48 5475d 21h Werner /fonstudio/ grid: bugfix
mainwindow: added different visualizations
tree: adopted to new scheme: dominance height split in "above Z*" and "below Z*"
 
47 5475d 22h Werner /fonstudio/ now to each "writer" stamp a reader stamp (i.e. the "crownradius") is directly attached. Therefore some changes in tree and treespecies.  
45 5476d 00h Werner /fonstudio/ apply stamps at domiance grid  
42 5476d 01h Werner /fonstudio/ additionally storing crown radius in stamp file.
readout of stamps using radius-stamps.
 
40 5476d 19h Werner /fonstudio/ reading out of stamp values.
lots of additional small changes.
 
39 5477d 20h Werner /fonstudio/ implementing the application of gridded binary stamps.  
38 5477d 21h Werner /fonstudio/ LightRoom: use sum instead of average
Use of Lightroom in mainwindow: cut parts of lightroom result based on values and save as binary stamp file.
create class TreeSpecies, start to impl. use of stamps in Tree.
 

Show All