diff org/sense.org @ 306:7e7f8d6d9ec5

massive spellchecking
author Robert McIntyre <rlm@mit.edu>
date Sat, 18 Feb 2012 10:59:41 -0700
parents 23aadf376e9d
children 5d448182c807
line wrap: on
line diff
     1.1 --- a/org/sense.org	Sat Feb 18 10:28:14 2012 -0700
     1.2 +++ b/org/sense.org	Sat Feb 18 10:59:41 2012 -0700
     1.3 @@ -7,9 +7,9 @@
     1.4  #+INCLUDE: ../../aurellem/org/level-0.org
     1.5  
     1.6  * Blender Utilities
     1.7 -In blender, any object can be assigned an arbitray number of key-value
     1.8 -pairs which are called "Custom Properties". These are accessable in
     1.9 -jMonkyeEngine when blender files are imported with the
    1.10 +In blender, any object can be assigned an arbitrary number of key-value
    1.11 +pairs which are called "Custom Properties". These are accessible in
    1.12 +jMonkeyEngine when blender files are imported with the
    1.13  =BlenderLoader=. =meta-data= extracts these properties.
    1.14  
    1.15  #+name: blender-1
    1.16 @@ -55,7 +55,7 @@
    1.17  circular two-dimensional image which is the cross section of the
    1.18  spinal cord.  Points on this image that are close together in this
    1.19  circle represent touch sensors that are /probably/ close together on
    1.20 -the skin, although there is of course some cutting and rerangement
    1.21 +the skin, although there is of course some cutting and rearrangement
    1.22  that has to be done to transfer the complicated surface of the skin
    1.23  onto a two dimensional image.
    1.24  
    1.25 @@ -84,13 +84,13 @@
    1.26  of that senses sensors. To get different types of sensors, you can
    1.27  either use a different color for each type of sensor, or use multiple
    1.28  UV-maps, each labeled with that sensor type. I generally use a white
    1.29 -pixel to mean the presense of a sensor and a black pixel to mean the
    1.30 -absense of a sensor, and use one UV-map for each sensor-type within a
    1.31 +pixel to mean the presence of a sensor and a black pixel to mean the
    1.32 +absence of a sensor, and use one UV-map for each sensor-type within a
    1.33  given sense.  The paths to the images are not stored as the actual
    1.34  UV-map of the blender object but are instead referenced in the
    1.35  meta-data of the node.
    1.36  
    1.37 -#+CAPTION: The UV-map for an enlongated icososphere. The white dots each represent a touch sensor. They are dense in the regions that describe the tip of the finger, and less dense along the dorsal side of the finger opposite the tip.
    1.38 +#+CAPTION: The UV-map for an elongated icososphere. The white dots each represent a touch sensor. They are dense in the regions that describe the tip of the finger, and less dense along the dorsal side of the finger opposite the tip.
    1.39  #+ATTR_HTML: width="300"
    1.40  [[../images/finger-UV.png]]
    1.41  
    1.42 @@ -156,11 +156,11 @@
    1.43  
    1.44  Information from the senses is transmitted to the brain via bundles of
    1.45  axons, whether it be the optic nerve or the spinal cord. While these
    1.46 -bundles more or less perserve the overall topology of a sense's
    1.47 -two-dimensional surface, they do not perserve the percise euclidean
    1.48 +bundles more or less preserve the overall topology of a sense's
    1.49 +two-dimensional surface, they do not preserve the precise euclidean
    1.50  distances between every sensor. =collapse= is here to smoosh the
    1.51 -sensors described by a UV-map into a contigous region that still
    1.52 -perserves the topology of the original sense.
    1.53 +sensors described by a UV-map into a contiguous region that still
    1.54 +preserves the topology of the original sense.
    1.55  
    1.56  #+name: topology-2
    1.57  #+begin_src clojure
    1.58 @@ -180,7 +180,7 @@
    1.59  
    1.60  (defn collapse
    1.61    "Take a sequence of pairs of integers and collapse them into a
    1.62 -   contigous bitmap with no \"holes\" or negative entries, as close to
    1.63 +   contiguous bitmap with no \"holes\" or negative entries, as close to
    1.64     the origin [0 0] as the shape permits. The order of the points is
    1.65     preserved.
    1.66  
    1.67 @@ -224,11 +224,11 @@
    1.68                      [(- x min-x)
    1.69                       (- y min-y)])
    1.70                    squeezed))
    1.71 -           point-correspondance
    1.72 +           point-correspondence
    1.73             (zipmap  (sort points) (sort relocated))
    1.74  
    1.75             original-order
    1.76 -           (vec (map point-correspondance points))]
    1.77 +           (vec (map point-correspondence points))]
    1.78          original-order)))
    1.79  #+end_src
    1.80  * Viewing Sense Data
    1.81 @@ -245,7 +245,7 @@
    1.82  (in-ns 'cortex.sense)
    1.83  
    1.84  (defn view-image
    1.85 -  "Initailizes a JPanel on which you may draw a BufferedImage.
    1.86 +  "Initializes a JPanel on which you may draw a BufferedImage.
    1.87     Returns a function that accepts a BufferedImage and draws it to the
    1.88     JPanel. If given a directory it will save the images as png files
    1.89     starting at 0000000.png and incrementing from there."
    1.90 @@ -309,7 +309,7 @@
    1.91           
    1.92  
    1.93  (defn points->image
    1.94 -  "Take a collection of points and visuliaze it as a BufferedImage."
    1.95 +  "Take a collection of points and visualize it as a BufferedImage."
    1.96    [points]
    1.97    (if (empty? points)
    1.98      (BufferedImage. 1 1 BufferedImage/TYPE_BYTE_BINARY)
    1.99 @@ -348,7 +348,7 @@
   1.100   - Create a single top-level empty node whose name is the name of the sense
   1.101   - Add empty nodes which each contain meta-data relevant
   1.102     to the sense, including a UV-map describing the number/distribution
   1.103 -   of sensors if applicipable.
   1.104 +   of sensors if applicable.
   1.105   - Make each empty-node the child of the top-level
   1.106     node. =sense-nodes= below generates functions to find these children.
   1.107  
   1.108 @@ -538,7 +538,7 @@
   1.109  (ns cortex.sense
   1.110    "Here are functions useful in the construction of two or more
   1.111     sensors/effectors."
   1.112 -  {:author "Robert McInytre"}
   1.113 +  {:author "Robert McIntyre"}
   1.114    (:use (cortex world util))
   1.115    (:import ij.process.ImageProcessor)
   1.116    (:import jme3tools.converters.ImageToAwt)