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
65 5421d 17h Werner /fonstudio/ fixed the reading of stamps
more fixes during loading of stamps
 
64 5421d 22h Werner /fonstudio/ remodeled StampContainer to store bins with different width (smaller bins for smaller diameter). Somewhat complicated to get it working again...  
63 5421d 23h Werner /fonstudio/ * added a comment to the binary stamp file
* removed some debug-messages
 
62 5421d 23h 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 5422d 00h Werner /fonstudio/ * modified bin-sizes in StampContainer
* cleaned Tree-class (dropped some old code and refs from other places)
 
60 5422d 02h Werner /fonstudio/ application of stamps now considers local height of Z* (see also prev. commit)
in Tree::applyStamp()
 
59 5422d 03h 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 5422d 22h 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)
 
54 5423d 16h Werner /fonstudio/ fixed warnings (release mode), added a routine Helper::fileDialog().  
52 5423d 23h 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 5424d 02h Werner /fonstudio/ changed application/stamp production to a multiplicative approach, disengaged the height field.  
50 5425d 00h Werner /fonstudio/ grid: fixed bug that mRect was overwritten by setup() after being set by constructor.
Viewport unfinished still.
 
44 5427d 02h Werner /fonstudio/ mainwindow: gui change + variable threshold in xml file when to cut the stamps
LightRoom: removed height in calculation of values per column (as we now calc. averages again)
 
40 5427d 20h Werner /fonstudio/ reading out of stamp values.
lots of additional small changes.
 
39 5428d 21h Werner /fonstudio/ implementing the application of gridded binary stamps.  
38 5428d 22h 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.
 
37 5429d 03h Werner /fonstudio/ little optimizations of grid, fixed a bug in stampcontainer; "radial" analysis of stams (see mainwindow.cpp)  
35 5430d 19h Werner /fonstudio/ various fixes (still trying to load/save stamps).  
34 5430d 20h Werner /fonstudio/ Handling of stamps (read, write, ...)  
32 5431d 04h Werner /fonstudio/ grid: average() function, more const access operators.
LightRoom: mod. mode of setup (now setup with metric length instead of pixelcount),
fixed "addition of angles" bug.
added generation of "subpixel" stamps.
 

Show All