|  Home  |  News  |  Suchseite  |  Impressum  |  English Version  | 
Home 
Biographie 
Lebenslauf 
Publikationen 
Dissertationen 
Forschung 
Werkstoffkunde 
Kariologie 
Kariestherapie 
Microcomputertomographie 
Kariestherapie der Zukunft 
Volumenmessung 
3D Schrumpfmessung 
Erfolgskontrolle Wurzelkanalbehandlung 
Materialprüfung 
Kooperationen 
Endo canal shape deviation due to instrumentation 
Prophylaxe 
Software 
ImageJ Plugins 
Input/Output 
Segmentation 
SRG Tutorial 
Utilities 
Quantitative Margin Analysis 
Microradiography goes MicroCT 
KHKs Measure/Clear/Fill_Stacks Utility 
ImageJ Tipps and Tricks 
Tools 
ISQ Cropper 
MakeCVS 
Transfer File Modification Time with bash 
Lehre 
Doktorandeninfos 
CBT/CBL 
Handouts 
Fortbildung 
Jahrestagung AG Keramik 2009 Hohe Auflösung 
Jahrestagung AG Keramik 2009 für langsame DSL Verbindungen 
Jahrestagung AG Keramik 2009 Optimiert für iPhone 
Patienten 
News 
Suchseite 
Impressum 
English Version 
Biographical Outline 
Software 
ImageJ Plugins 
Input/Output 
Segmentation 
SRG Tutorial 
Utilities 
Quantitative Margin Analysis 
Microradiography goes MicroCT 
KHKs Measure/Clear/Fill_Stacks Utility 
Tools 
ISQ Cropper 
MakeCVS 
Transfer File Modification Time with bash 








MakeCVS

 Author: Karl-Heinz Kunzelmann
 History: 2007
 Source: Contained in the zip archive MakeCSV.zip
 Installation: Extract the zip archive to a temporary folder. Read the readme, the *.bat and the following infos.
 Description:

Compile: javac ReadStatFile.java
Usage:   java ReadStatFile <in_file> <number of lines per record> [optional:<0 = suppress header>]
 
 This file converts the output files of match3d - socalled stat-files - in CSV files
 The result is sent to standard-output
 You have to redirect it to a file to save it 
  
 It can be extended to any file of the format:
 
 Tag_x = 1234.456 \n
 Tag_y = 987.54321 \n
 

to a CSV File (used for Excel import):

 Tag_x, Tag_y \n
 1234.456, 987.54321 \n

 The header line can be suppressed optionally

(BTW: CSV stand for comma separated value)

 Added 17.8.2011:

It can be necessary to replace the line "file_name" with the current filename:

This bash script might help:

#!/bin/bash

if ( [ $1 == "usage" ] || [ $1 == "Usage" ] ); then
echo -e "Usage:"
echo -e " replaceLineInStatFiles 'filepattern,ie. *.stat'\n"
echo -e " This script fixes a problem with our new laser scanner"
echo -e " In all files with the given extension, i.e. *.stat, "
echo -e " the line which beginns with 'file_name' the filename is replaced with the real filename of the file"
exit 1
fi

for i in $( ls *.stat);
do
mv "$i" "$i.save"
sed "/file_name/c\file_name = $i" "$i.save" > "$i"
cat "$i"
rm "$i.save"
done