File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -212,10 +212,11 @@ <h1>Convert image to OpenSCAD array</h1>
212
212
213
213
< fieldset >
214
214
< legend > Appearance</ legend >
215
+ < div style ="float:right; border:1px solid green; padding:4px; text-align:center; font-size:smaller; "> See:< br > < a href ="https://en.wikipedia.org/wiki/Luma_(video) " target ="_blank "> Luma</ a > </ div >
215
216
< input type ="radio " name ="grayModel " value ="ntsc " checked > < label for "grayModel" class="tooltip "> NTSC grayscale formula
216
- < span class ="tooltiptext "> 0.299R + 0.587G + 0.114B< br > Based on average human perception of color luminance</ span > </ label > < br >
217
- < input type ="radio " name ="grayModel " value ="linear "> < label for ="grayModel " class ="tooltip "> Linear luminance
218
- < span class ="tooltiptext "> 0.2126R + 0.7152G + 0.0722B< br > Used by OpenSCAD surface()</ span > </ label >
217
+ < span class ="tooltiptext "> NTSC Y′ = 0.299R + 0.587G + 0.114B< br > Rec. 601: Average human perception of color luminance</ span > </ label > < br >
218
+ < input type ="radio " name ="grayModel " value ="linear "> < label for ="grayModel " class ="tooltip "> sRGB linear luminance
219
+ < span class ="tooltiptext "> sRGB Y′ = 0.2126R + 0.7152G + 0.0722B< br > Rec. 709: Digital HD, used by OpenSCAD surface()</ span > </ label >
219
220
220
221
< div style ="margin-top:8px; ">
221
222
< label > < input type ="checkbox " id ="invertBrightness "> Invert brightness</ label >
You can’t perform that action at this time.
0 commit comments