web-archive-uk.com


Web directory, archive
Search web-archive-uk.com:


Find domain in archive system:
web-archive-uk.com » UK » B » BARRYTHOMAS.CO.UK

Total: 21

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • BARRY THOMAS
    A teapot A large silver teapot with a hinged handle Made to commission for a client in London The handle and the knob on the lid are insulated with ebony

    Original URL path: http://www.barrythomas.co.uk/teapot.html (2016-05-01)
    Open archived version from archive


  • BARRY THOMAS
    A hexagonal chalice A chalice with a scale paten commissioned for a newly ordained priest in Canada

    Original URL path: http://www.barrythomas.co.uk/rouleau.html (2016-05-01)
    Open archived version from archive

  • BARRY THOMAS
    wine coasters on limestone bases The bodies of the coasters were made using rapid prototyping techniques I wrote a short script to generate an STL file of the twisted torus

    Original URL path: http://www.barrythomas.co.uk/torus.html (2016-05-01)
    Open archived version from archive


  • BARRY THOMAS
    come in many flavours and with many file extensions You can show or hide the four commonest file extensions Stats Facts and figures about the current file the name size and load time whether it is a binary or ascii file the number of facets or points and the dimensions including STL model volume 3D Quote when viewing STL files Emails a copy of the current STL file to Solid Technologies in Pennsylvania USA for a quotation on a 3D print in a range of materials Reset Spins the model or point cloud back to its starting position size and rotation Screenshot Takes a screenshot of the current model exactly as it appears on the screen and saves it as a PNG file on your SD card The file name is STL your file name PNG The file is saved in the root top level folder on the card Save points Saves a quick binary point cloud of the current file on your SD card exactly as it appears on the screen so if you used a filter to load just a sub set of points just those points will be saved The file name is STL your file name xyz The file is saved in the same folder as the original file This works for point clouds and STL files When you use this on an STL file you get a binary point cloud file containing just the vertices of the current STL file For dedicated ASCII to binary conversion see the converter described below Invert when viewing STL files If your STL model looks odd perhaps too dark or you seem to be seeing part of the inside of the model and not the outside some or all of the facets may be inverted facing the wrong way You can t fix that with this app you need to go back to the software you used to create the file and reorient the facets However this menu option just flips all facets so they face the other way If that makes your model look right although though darker than a correctly formed model then you definitely have incorrect normals About Some brief details about the app and links to this site Z Boost when viewing point clouds Some point clouds typically those from geo surveys can be wide and deep but not very high The difference in altitude the Z axis compared to the extent of the site is sometimes very small To show an exaggerated view of the site this option toggles a 5x boost to the Z axis Converting Files Press the back button on your phone until you reach the app s initial screen The third choice allows you to convert ASCII files to binary The benefit of doing this is speed Binary files load around 20 30 times faster than ASCII files If you only have access to the ASCII file you can use this part of the app to convert the file to

    Original URL path: http://www.barrythomas.co.uk/manualpro.html (2016-05-01)
    Open archived version from archive

  • BARRY THOMAS
    it is held The Menu When using the file browser there are just two menu options Settings and About When you are viewing a model the menu includes further options Settings Allows you to toggle on and off various elements of the display Show facets the STL model itself sometimes referred to as a mesh which is made up of a collection of triangular facets Show vertices each triangular facet as you might expect has three corners these are called vertices and they are shared by adjoining facets They can be highlighted by clicking this check box Show XYZ axes displays the X Y and Z axes red green and blue Show bounding box the smallest xyz aligned rectalinear box which encloses the model STL Model Colour Change model colour R G B or grey Stats Facts and figures about the current file the name size and load time whether it is a binary or ascii file the number of facets and the dimensions including STL model volume 3D Quote Emails a copy of the current STL file to Solid Technologies in Pennsylvania USA for a quotation on a 3D print in a range of materials Reset Spins the model back to its starting position size and rotation Screenshot Takes a screenshot of the current model exactly as it appears on the screen and saves it as a PNG file on your SD card The file name is STL your file name PNG The file is saved in the root top level folder on the card Invert If your STL model looks odd perhaps too dark or you seem to be seeing part of the inside of the model and not the outside some or all of the facets may be inverted facing the wrong way You can t fix

    Original URL path: http://www.barrythomas.co.uk/manualfree.html (2016-05-01)
    Open archived version from archive

  • BARRY THOMAS
    I offer snippets of source code here The code is based on the sample apps which come with the Android OpenCV 2 4 4 library The snippets I provide can be dropped into those apps with a bit of work to define some added variables and support methods If you would like a free copy of the entire source code click here Click on any thumbnail to see the original screen capture The images were taken from a Nexus 4 1280 x 768 resolution using the front camera Frame rate The frame rate is displayed on the screen when viewing the video feed Some of these processes are very computation intensive and your Android device is unlikely to be as fast as your desktop computer unless the latter was built in 1990 However in all modes the rate improves as the lighting of the scene gets brighter Use the app in the best lighting available and the frame rate improves significantly Canny Edge Detector Many processes and tools in the OpenCV library use an edge detector process as their first step When the edges in the video frame have been identified the features in that image can more readily be identified and used This mode simply uses the Canny algorithm to process each frame and displays it on the screen Hough Circle Detector The Hough algorithm is used here to detect circular features in the Canny processed frame and then draws a red circle at that location and shows the centre of the circle with a cross The maximum number of circles outlined is 10 but this can be changed in the code Hough Line Detector Colour Range Contour Mapper This process converts the BGR frame to HSV finds all areas of the image where the hue is more or

    Original URL path: http://www.barrythomas.co.uk/machinevision.html (2016-05-01)
    Open archived version from archive

  • BARRY THOMAS
    i m only using the external contours and by eroding we make the draw a teeny bit faster and the result a lot smoother on the rough edges where the colour fades out of range by losing a lot of the little spiky corners Imgproc erode mHSVMat mHSVMat mErodeKernel contours clear Imgproc findContours mHSVMat contours mContours Imgproc RETR EXTERNAL Imgproc CHAIN APPROX SIMPLE for x 0 x so contours get x is a single MatOfPoint but to use approxPolyDP we need to pass a MatOfPoint2f so we need to do a conversion contours get x convertTo mMOP2f1 CvType CV 32FC2 if d iContourAreaMin Imgproc approxPolyDP mMOP2f1 mMOP2f2 2 true convert back to MatOfPoint and put it back in the list mMOP2f2 convertTo contours get x CvType CV 32S draw the contour itself Imgproc drawContours mRgba contours x colorRed iLineThickness if bDisplayTitle ShowTitle In range Contours 1 break Colour Searching with Quadrilateral As above except we simplify the boundary of the contour by allowing a much bigger gap between the actual edge of the block of colour and the bounding contour 15 pixels If after that the resulting polygon has four corners we know we have a quadrilateral In addition to drawing the contour we draw in the diagonals of the quad case VIEW MODE YELLOW QUAD DETECT Convert the image into an HSV image Imgproc cvtColor mRgba mHSVMat Imgproc COLOR RGB2HSV 3 Core inRange mHSVMat new Scalar byteColourTrackCentreHue 0 12 100 100 new Scalar byteColourTrackCentreHue 0 12 255 255 mHSVMat contours clear Imgproc findContours mHSVMat contours mContours Imgproc RETR EXTERNAL Imgproc CHAIN APPROX SIMPLE for x 0 x iContourAreaMin get an approximation of the contour last but one param is the min required distance between the real points and the new approximation in pixels contours get x convertTo mMOP2f1 CvType CV 32FC2 Imgproc approxPolyDP mMOP2f1 mMOP2f2 15 true convert back to MatOfPoint and put it back in the list mMOP2f2 convertTo contours get x CvType CV 32S if contours get x rows 4 Converters Mat to vector Point2f contours get x pts Imgproc drawContours mRgba contours x colorRed iLineThickness Core line mRgba pts get 0 pts get 2 colorRed iLineThickness Core line mRgba pts get 1 pts get 3 colorRed iLineThickness if bDisplayTitle ShowTitle Colour quadrilateral 1 break Face Detection This section uses some code from the OpenCV sample face detection and uses the LBP cascade file try DO FACE CASCADE SETUP Context context getApplicationContext InputStream is3 context getResources openRawResource R raw lbpcascade frontalface File cascadeDir context getDir cascade Context MODE PRIVATE File cascadeFile new File cascadeDir lbpcascade frontalface xml FileOutputStream os new FileOutputStream cascadeFile byte buffer new byte 4096 int bytesRead while bytesRead is3 read buffer 1 os write buffer 0 bytesRead is3 close os close mCascade new CascadeClassifier cascadeFile getAbsolutePath if mCascade empty Log d OpenCV Failed to load cascade classifier mCascade null cascadeFile delete cascadeDir delete catch IOException e e printStackTrace Log d OpenCV Failed to load cascade Exception thrown e I first draw a rectangle around

    Original URL path: http://www.barrythomas.co.uk/code.html (2016-05-01)
    Open archived version from archive

  • BARRY THOMAS
    the display dYear the duration of the orbit in Earth years and to orient the orbit so that perihelion is at the right place on the dial so to speak dLongPeri the Longitude of Perihelion Read the comments public void drawPlanet double dEccentricity double dScalar double dYear Canvas canvas Paint paint String sName Bitmap bmp double dLongPeri double dE dr dv dSatX dSatY dSatXCorrected dSatYCorrected float fX fY int iSunXOffset getWidth 2 int iSunYOffset getHeight 2 get the value of E from the angle travelled in this tick dE getE dTime 1 dYear dEccentricity get r the length of radius vector dr getRfromE dE dEccentricity dScalar calculate v the true anomaly dv 2 Math atan Math sqrt 1 dEccentricity 1 dEccentricity Math tan dE 2 get X and Y coords based on the origin dSatX dr Math sin Math PI 2 Math sin dv dSatY Math sin Math PI 2 dv dSatX Math sin dv now correct for Longitude of Perihelion for this planet dSatXCorrected dSatX float Math cos Math toRadians dLongPeri dSatY float Math sin Math toRadians dLongPeri dSatYCorrected dSatX float Math sin Math toRadians dLongPeri dSatY float Math cos Math toRadians dLongPeri offset the origin to nearer the centre of the display fX float dSatXCorrected float iSunXOffset fY float dSatYCorrected float iSunYOffset if bDrawOrbits draw the path of the orbit travelled paint setColor Color WHITE paint setStyle Paint Style STROKE paint setAntiAlias true get the size of the rect which encloses the elliptical orbit dE getE 0 0 dEccentricity dr getRfromE dE dEccentricity dScalar rectOval bottom float dr dE getE 180 0 dEccentricity dr getRfromE dE dEccentricity dScalar rectOval top float 0 dr calculate minor axis from major axis and eccentricity http www 1728 org ellipse htm double dMajor rectOval bottom rectOval top double dMinor Math sqrt 1

    Original URL path: http://www.barrythomas.co.uk/keppler.html (2016-05-01)
    Open archived version from archive


web-archive-uk.com, 2016-09-30