<%@ Language=VBScript %><% option explicit %> <% Response.Buffer = FALSE %> <% Response.ContentType = "image/svg+xml" %> <% '--- imitate.asp --- DIM ScreenWidth, ScreenHeight DIM ScreenWidth1, ScreenHeight1 DIM ImageWidth, ImageHeight, ImageWidthHeight DIM timeout, SID DIM msg '-- for errors '' extend the timeout to allow for long files ' timeout = Server.ScriptTimeout '' Response.Write "Initial timeout=" & timeout & "
" ' Server.ScriptTimeout = 1200 ' SID = Request.Cookies("Humble")("SID") ScreenWidth = Request.Cookies("Humble")("ScreenWidth") ScreenHeight = Request.Cookies("Humble")("ScreenHeight") ImageWidth = 600 ImageHeight = 730 ImageWidthHeight = " 0 0 " & ImageWidth & " " & ImageHeight ScreenWidth1 = ScreenWidth ScreenHeight1 = ScreenHeight IF ScreenWidth1 > ((ImageWidth * ScreenHeight) / ImageHeight) * 1.5 THEN ScreenWidth1 = ((ImageWidth * ScreenHeight) / ImageHeight) * 1.5 ELSEIF ScreenHeight1 > ((ImageHeight * ScreenWidth) / ImageWidth) * 1.5 THEN ScreenHeight1 = ((ImageHeight * ScreenWidth) / ImageWidth) * 1.5 END IF ' set it up for a graph bounding box of ImageWidth horizontal by ImageHeight vertical ' the viewBox may have to be larger, to allow for left and right stuff ' baseProfile="basic" ' xmlns="&ns_svg;" ' xmlns:xlink="&ns_xlink;" %> Imitation at a fitness class, with the instructor on the left <%'-- 5. imitation: horizontal line connecting description with commands -- %> 5. converting perceived joint angle to controlled joint angles: <%' ---- 4. left: inner language description ---- %> 4. data analysis: For every joint between the instructor's limbs, the joint angle, must be estimated <%' ---- 6. right: inner language command ---- %> 6. data entry: For every joint between the follower's limbs, the joint angle must be entered, and the muscle info must be sent <%' ---- 3. left: identifying target components and direction ---- %> 3. identification of instructor's body and limbs, with labels for body, arms, and legs <%' ---- 7. right: identify limb changes required ---- %> 7. identify changes in limb positions <%' ---- 2. left: feature extraction ---- %> 2. vector graphics image <%' ---- 8. right: calculate joint rotations ---- %> 8. calculate changes in joint rotation <%' ---- 1. left: image retrieval ---- %> 1. 2D pixellated image from the eye <%' ---- 7. right: control muscle tension ---- %> 9. calculate changes in muscle tension <%' ---- 1. left: from eye ---- see below ---- %> <%' ---- 7. right: to brain ---- see below ---- %> <%' ---- left: from eye ---- %> <%' ---- right: to brain ---- %>