CaCO3 2 éve
szülő
commit
b2e5cdd8a3

+ 3 - 0
param-docs/parameter-pages/TakeImage/Demo.md

@@ -1,6 +1,9 @@
 # Parameter `Demo`
 Default Value: `false`
 
+!!! Warning
+    This is an **Expert Parameter**! Only change it if you understand what it does!
+
 Enable to use demo images instead of the real camera images.
 Make sure to have a `/demo` folder on your SD-Card and make sure it contains the expected files!
 Check [here](../Demo-Mode) for details. 

+ 21 - 21
sd-card/html/edit_reference.html

@@ -133,8 +133,8 @@
 				<input style="margin-top:12px;margin-bottom:12px" type="checkbox" id="ExpertModus_enabled" value="1"  onclick='UpdateExpertModus()' unchecked>
 					<label for="ExpertModus_enabled">Expert View</label> 
 			</td>
-			<td>
-				<button style="display:none;" class="button" id="Edit_Config_Direct" onclick="editConfigDirect()">Edit "Config.ini" File</button>
+			<td colspan="2">
+				<b>*)</b> A change of this parameter only is applied on the next update of the Refrence Image.
 			</td>
 			<td>
             </td>
@@ -142,17 +142,17 @@
         <tr>
             <td><input class="button" type="button" value="Show Actual Reference" onclick="showReference(param)"></td>	  
             <td><input class="button" type="button" id="startreference" value="Create New Reference" onclick="loadRawImage(false)"></td>
-            <td><input class="button" type="submit" id="take" onclick="doTake()" value="Update Image">
+            <td><input class="button" type="submit" id="take" onclick="doTake()" value="Update Reference Image">
         </tr>
     </table>
     <table style="width: 100%">
         <colgroup>
-            <col span="1" style="width: 32%;">
+            <col span="1" style="width: 20%;">
             <col span="1" style="width: 28%;">
-            <col span="1" style="width: 10%;">
-            <col span="1" style="width: 18%;">
-            <col span="1" style="width: 22%;">
-            <col span="1" style="width: 5%;">
+            <col span="1" style="width: 2%;">
+            <col span="1" style="width: 20%;">
+            <col span="1" style="width: 20%;">
+            <col span="1" style="width: 8%;">
         </colgroup>
         <tr class="expert">
             <td>
@@ -167,7 +167,7 @@
                         oninput="(!validity.rangeOverflow||(value=1280)) && (!validity.rangeUnderflow||(value=0)) && 
                             (!validity.stepMismatch||(value=parseInt(this.value)));">
             </td>
-            <td>$TOOLTIP_TakeImage_ZoomOffsetX</td>
+            <td>$TOOLTIP_TakeImage_ZoomOffsetX <b>*)</b></td>
         </tr>
         <tr class="expert">
             <td>
@@ -177,7 +177,7 @@
                         oninput="(!validity.rangeOverflow||(value=1)) && (!validity.rangeUnderflow||(value=0)) && 
                             (!validity.stepMismatch||(value=parseInt(this.value)));">
             </td>
-            <td>$TOOLTIP_TakeImage_ZoomMode</td>
+            <td>$TOOLTIP_TakeImage_ZoomMode <b>*)</b></td>
             <td>
                 <label for="zoomoffsety">Zoom offset Y:</label></td>
             <td>
@@ -185,7 +185,7 @@
                         oninput="(!validity.rangeOverflow||(value=960)) && (!validity.rangeUnderflow||(value=0)) && 
                             (!validity.stepMismatch||(value=parseInt(this.value)));">
             </td>
-            <td>$TOOLTIP_TakeImage_ZoomOffsetY</td>
+            <td>$TOOLTIP_TakeImage_ZoomOffsetY <b>*)</b></td>
         </tr>
         <tr>
             <td>
@@ -201,7 +201,7 @@
                     oninput="(!validity.rangeOverflow||(value=100)) && (!validity.rangeUnderflow||(value=0)) && 
                         (!validity.stepMismatch||(value=parseInt(this.value)));">
             </td>
-            <td>$TOOLTIP_TakeImage_LEDIntensity</td>
+            <td>$TOOLTIP_TakeImage_LEDIntensity <b>*)</b></td>
         </tr>
         <tr>
             <td>
@@ -216,7 +216,7 @@
                 <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Brightness_value1" size="13" value=0  min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
                 <output id="TakeImage_Brightness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
             </td>
-            <td>$TOOLTIP_TakeImage_Brightness</td>
+            <td>$TOOLTIP_TakeImage_Brightness <b>*)</b></td>
         </tr>
         <tr>
             <td><label for="prerotateangle">Rotation angle:</label></td>
@@ -233,7 +233,7 @@
                 <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Contrast_value1" size="13" value=0  min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
                 <output id="TakeImage_Contrast_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
             </td>
-            <td>$TOOLTIP_TakeImage_Contrast</td>
+            <td>$TOOLTIP_TakeImage_Contrast <b>*)</b></td>
         </tr>
         <tr>
             <td><label for="finerotate">(Fine-tune):</label></td>
@@ -250,26 +250,26 @@
                 <input  style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Saturation_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
                 <output id="TakeImage_Saturation_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
             </td>
-            <td>$TOOLTIP_TakeImage_Saturation</td>
+            <td>$TOOLTIP_TakeImage_Saturation <b>*)</b></td>
         </tr>
         <tr class="expert">
             <td>
                 <label for="grayscale" id="labelgrayscale">Grayscale:</label></td>
             <td>
                 <input type="checkbox" id="grayscale" name="grayscale" value="0"></td>
-                <td>$TOOLTIP_TakeImage_Grayscale</td>
+                <td>$TOOLTIP_TakeImage_Grayscale <b>*)</b></td>
             <td>
                 <label for="aec2" id="labelaec2">Auto Exposure Control 2:</label></td>
             <td>
                 <input type="checkbox" id="aec2" name="aec2" value="0"></td>
-                <td>$TOOLTIP_TakeImage_Aec2</td>
+                <td>$TOOLTIP_TakeImage_Aec2 <b>*)</b></td>
         </tr>
         <tr class="expert">
             <td>
                 <label for="negative" id="labelnegative">Negative:</label></td>
             <td>
                 <input type="checkbox" id="negative" name="negative" value="0" onchange="drawRotated()"></td>
-            <td>$TOOLTIP_TakeImage_Negative</td>
+            <td>$TOOLTIP_TakeImage_Negative <b>*)</b></td>
             <td>
                 <class id="TakeImage_AutoExposureLevel_text" style="color:black;">Auto Exposure Level:</class>
             </td>
@@ -277,14 +277,14 @@
                 <input  style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_AutoExposureLevel_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
                 <output id="TakeImage_AutoExposureLevel_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
             </td>
-            <td>$TOOLTIP_TakeImage_AutoExposureLevel</td>
+            <td>$TOOLTIP_TakeImage_AutoExposureLevel <b>*)</b></td>
         </tr>
         <tr class="expert">
             <td>
                 <label for="FixedExposure" id="labelFixedExposure">FixedExposure:</label></td>
             <td>
                 <input type="checkbox" id="FixedExposure" name="FixedExposure" value="0"></td>
-            <td>$TOOLTIP_TakeImage_FixedExposure</td>
+            <td>$TOOLTIP_TakeImage_FixedExposure <b>*)</b></td>
             <td>
                 <class id="TakeImage_Sharpness_text" style="color:black;">Sharpness:</class>
             </td>
@@ -292,7 +292,7 @@
                 <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Sharpness_value1" size="13" value=0  min="-4" max="3" oninput="this.nextElementSibling.value = this.value">
                 <output id="TakeImage_Sharpness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
             </td>
-            <td>$TOOLTIP_TakeImage_Sharpness</td>
+            <td>$TOOLTIP_TakeImage_Sharpness <b>*)</b></td>
         </tr>
     </table>
     <table>