plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | chen1474147/Deep3DPose-master | moveToCenter.m | .m | Deep3DPose-master/2-model/io/moveToCenter.m | 373 | utf_8 | f5ead6af9fbf6a441a8a79fa101ab0be | function [ points ] = moveToCenter(weights, points, partIdx)
% weights is 6449x15
% points is 6449x3
% partIdx is part index
center = calculateCenterOfPart(weights, points, partIdx);
points = bsxfun(@minus, points, center);
end
function [ center ] = calculateCenterOfPart(weights, points, partIdx)
center = (weights(:... |
github | chen1474147/Deep3DPose-master | animate.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_f_srf/codes/animate.m | 5,904 | utf_8 | 9012de22f58dd70491eb4682eae82714 | function animate(varargin)
%ANIMATE Summary of this function goes here
% Detailed explanation goes here
for_each_times = 45;
sin_times = 1;
ifps = 0.05;
head_max_angle = 90;
upper_body_max_angle = 90;
upper_body_bend = 90;
whole_arm_max_angle = 90;
half_arm_max_angle = 145;
whole_arm_up_down_max_angle = ... |
github | chen1474147/Deep3DPose-master | mtimesx_build.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_f_srf/codes/MTIMESX/mtimesx_build.m | 16,880 | utf_8 | 0c5d8b39adff88b5436442d368b28b37 | % mtimesx_build compiles mtimesx.c with BLAS libraries
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_build
% Filename: mtimesx_build.m
% Programmer: James Tursa
% Version: 1.4... |
github | chen1474147/Deep3DPose-master | mtimesx_sparse.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_f_srf/codes/MTIMESX/mtimesx_sparse.m | 3,101 | utf_8 | e63c0d344cbbb33831bbf6b26df615d9 | % mtimesx_sparse does sparse matrix multiply of two inputs
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_sparse
% Filename: mtimesx_sparse.m
% Programmer: James Tursa
% Version: ... |
github | chen1474147/Deep3DPose-master | animate.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_m_srf/codes/animate.m | 5,904 | utf_8 | 9012de22f58dd70491eb4682eae82714 | function animate(varargin)
%ANIMATE Summary of this function goes here
% Detailed explanation goes here
for_each_times = 45;
sin_times = 1;
ifps = 0.05;
head_max_angle = 90;
upper_body_max_angle = 90;
upper_body_bend = 90;
whole_arm_max_angle = 90;
half_arm_max_angle = 145;
whole_arm_up_down_max_angle = ... |
github | chen1474147/Deep3DPose-master | mtimesx_build.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_m_srf/codes/MTIMESX/mtimesx_build.m | 16,880 | utf_8 | 0c5d8b39adff88b5436442d368b28b37 | % mtimesx_build compiles mtimesx.c with BLAS libraries
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_build
% Filename: mtimesx_build.m
% Programmer: James Tursa
% Version: 1.4... |
github | chen1474147/Deep3DPose-master | mtimesx_sparse.m | .m | Deep3DPose-master/prepare/scape/MATLAB_daz_m_srf/codes/MTIMESX/mtimesx_sparse.m | 3,101 | utf_8 | e63c0d344cbbb33831bbf6b26df615d9 | % mtimesx_sparse does sparse matrix multiply of two inputs
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_sparse
% Filename: mtimesx_sparse.m
% Programmer: James Tursa
% Version: ... |
github | chen1474147/Deep3DPose-master | matrix2quaternion.m | .m | Deep3DPose-master/prepare/mesh/quatern/matrix2quaternion.m | 1,991 | utf_8 | 2d98d2416e385ff99c48d16e69397c90 | % MATRIX2QUATERNION - Homogeneous matrix to quaternion
%
% Converts 4x4 homogeneous rotation matrix to quaternion
%
% Usage: Q = matrix2quaternion(T)
%
% Argument: T - 4x4 Homogeneous transformation matrix
% Returns: Q - a quaternion in the form [w, xi, yj, zk]
%
% See Also QUATERNION2MATRIX
% Copyrigh... |
github | christwt/ComputerVision-master | detPoints.m | .m | ComputerVision-master/HW2/detPoints.m | 1,017 | utf_8 | 2f4d926971899a84d3ac5f07587052b6 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: detPoints
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [coords] = detPoints(image, n)
% function to determine points of distinctive features in images using
% ginput().
% error handling... |
github | christwt/ComputerVision-master | mosaicImg.m | .m | ComputerVision-master/HW2/mosaicImg.m | 2,974 | utf_8 | f5082b747fc796cbb2cd255341509b17 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: mosaicImg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [mosaic] = mosaicImg(reference, image2, H)
% this function will stitch together a reference image with another image that has
% already been warped... |
github | christwt/ComputerVision-master | plotHomographyPoints.m | .m | ComputerVision-master/HW2/plotHomographyPoints.m | 1,877 | utf_8 | 45d2c167d0a3abef8f6208761289d9b4 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: plotHomographyPoints
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function plotHomographyPoints(coords1, check, image1, image2, indicator)
% this function will take corresponding points from one image and correl... |
github | christwt/ComputerVision-master | homographyTransformR.m | .m | ComputerVision-master/HW2/homographyTransformR.m | 709 | utf_8 | 9e730303dccb2d12bfe55bb4b78af29c | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: homographyTransformR
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function check = homographyTransformR(coords2,H)
% This function used to check whether homography matrix correctly
% reverse transforms c... |
github | christwt/ComputerVision-master | warpImg3.m | .m | ComputerVision-master/HW2/warpImg3.m | 2,398 | utf_8 | 22c996185d666d39ea98d7408fa5bfc0 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: vision_hwk2
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [warpedImg] = warpImg3(image, H)
% this algorithm will warp an image into the plane of another image
% using a recovered Homography matri... |
github | christwt/ComputerVision-master | warpImage.m | .m | ComputerVision-master/HW2/warpImage.m | 1,734 | utf_8 | 9c9ed5daee64528efee2d275ada94d65 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: warpImage
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [warpedImg] = warpImage(image, H, min_row, max_row, min_col, max_col, T)
% this function takes a recovered homography matrix and an image and
... |
github | christwt/ComputerVision-master | computeHomography.m | .m | ComputerVision-master/HW2/computeHomography.m | 1,161 | utf_8 | 19087eb38d7057d86b7366c84fc0e67a | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: computeHomography
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function H = computeHomography(src, dest)
% This function will take pairs of corresponding points in a source and
% destination image and compute th... |
github | christwt/ComputerVision-master | warpImg.m | .m | ComputerVision-master/HW2/warpImg.m | 1,285 | utf_8 | 6444e3e606189c8bb33e1509a81f4769 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 2: warpImg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [warpedImg] = warpImg(image, H)
% this algorithm will warp an image into the plane of another image
% using a recovered Homography matrix H. ... |
github | christwt/ComputerVision-master | usage2.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/usage2.m | 1,141 | utf_8 | e5541221fed4136477c3ff1b7cc23ed5 | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: usage2.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function usage2()
% This function outputs current application process and description of next
% steps.
usageNote = ['Running Face Detection Using V... |
github | christwt/ComputerVision-master | formatFace.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/formatFace.m | 1,167 | utf_8 | 94c77763b27d3ece2556ef3add0ad4ce | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: formatFact.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [reportPicture] = formatFace(detectedFace, bboxPoints)
% This function takes as input the video frame containing the located face
% a... |
github | christwt/ComputerVision-master | usage3.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/usage3.m | 594 | utf_8 | ff0b2febc1728869455feab535b2df69 | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: usage3.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function usage3()
% This function outputs a description of report generations and
% further instructions.
usageNote = ['Generating Suspect Report\n... |
github | christwt/ComputerVision-master | generateReport.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/generateReport.m | 1,759 | utf_8 | 61a023d23f458bb6f67811adfe82e9a1 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: generateReport.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [report] = generateReport(reportPicture, dept)
% This function takes as inputs the video frame with a detected face and
% the dep... |
github | christwt/ComputerVision-master | reportBuilder.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/reportBuilder.m | 4,026 | utf_8 | e37e0436a9a39b29dea2b097dc760ea1 | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: reportBuilder.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [report] = reportBuilder(reportPicture, dept, suspectInfo, doctype)
% This function generates the suspect report using the information g... |
github | christwt/ComputerVision-master | testFacialRecog.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/testFacialRecog.m | 5,154 | utf_8 | 25ca8450a84325f413499cc44d8fe453 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: testFacialRecog.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [count] = testFacialRecog(string)
% This function tests the facial recognition portion of the applications,
% by running a modifi... |
github | christwt/ComputerVision-master | usage.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/usage.m | 814 | utf_8 | 2d7dc43e0fcf822e6e4f4d33dffa821e | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: usage.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function usage()
% This function displays opening message to users and usage overview.
usageNote = ['\n\nWelcome to Suspect Report Generator\n\n'...... |
github | christwt/ComputerVision-master | findFace.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/findFace.m | 4,760 | utf_8 | 3b6ded5a134ea4557d11cb20328ee90f | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: findFace.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [report] = findFace(filePath, identifier, dept)
% This function takes as inputs a given filePath for a image/video file then uses
% functions... |
github | christwt/ComputerVision-master | openDialog.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/other/openDialog.m | 1,020 | utf_8 | d43521647fe355173db5dbb218156005 | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: dialogInterface.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [choice] = openDialog()
% This function creates a series of dialogue boxes as a menu driven
% application to perform tasks specified b... |
github | christwt/ComputerVision-master | reportPDF.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/other/reportPDF.m | 4,019 | utf_8 | de1f14864f78ce9dfaa51027996c49ad | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: reportPDF.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [report] = reportBuilder(reportPicture, sName, sId, dT, iS, obs, doctype)
% This function generates the suspect report using the information... |
github | christwt/ComputerVision-master | detectFace.m | .m | ComputerVision-master/FinalProject/ProjectFiles/FinalProject/other/detectFace.m | 2,232 | utf_8 | f05b1c77f0a074f4fdc13d9a1ea07210 | % %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Final Project: detectFace.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [report] = detectFace(filePath)
% This function takes as inputs a given filePath for a video file then uses
% functions from the Computer V... |
github | christwt/ComputerVision-master | reconstruct.m | .m | ComputerVision-master/HW3/reconstruct.m | 2,005 | utf_8 | 8d27589f6199ccf5af4a0aa0cc6636de | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 3: Reconstruct.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [points3D] = reconstruct(disparityMap, stereoParams)
% this function takes as inputs a disparity Map and a set of stereo
% parameters a... |
github | christwt/ComputerVision-master | consistencyCheck.m | .m | ComputerVision-master/HW3/consistencyCheck.m | 1,592 | utf_8 | 9ab626d941bc81061abd102f5ef613c4 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 3: consistencyCheck.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [outlierMap] = consistencyCheck(LR, RL, TLR)
% This function accepts as inputs a LR disparity map and RL disparity map,
% and performs a l... |
github | christwt/ComputerVision-master | calcDisparity.m | .m | ComputerVision-master/HW3/calcDisparity.m | 6,314 | utf_8 | 55f9622192f32920540912d0ad79d61b | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 3: calcDisparity.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [disparityMap] = calcDisparity(leftImage, rightImage, dMin, dMax, winSize)
% This function will calculate the disparity map between stereo im... |
github | christwt/ComputerVision-master | calcNCC3.m | .m | ComputerVision-master/HW3/calcNCC3.m | 3,625 | utf_8 | 0552639c15ddea0a281cb97eb69d8489 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 3: calcNCC3
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [disparityMap] = calcNCC3(leftImage, rightImage, dMin, dMax, winSize)
% convert image to double precision.
leftImage = im2double(leftImage);... |
github | christwt/ComputerVision-master | calculateDisparity.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/calculateDisparity.m | 1,130 | utf_8 | b7ce66f627183470d7179b893e2a25af | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: calculateDisparity.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [disparityMap] = calculateDisparity(leftImage, rightImage)
% this function takes as inputs the grayscale rectified left and right stereo... |
github | christwt/ComputerVision-master | findLCS.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/findLCS.m | 2,288 | utf_8 | 1176e1b4acb550d90d46fafc09bb2ee8 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: findLCS.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [LCS, DIR] = findLCS(string1, string2)
% This function takes as inputs 2 sequences then finds/prints the longest
% common sub-sequences between the... |
github | christwt/ComputerVision-master | printLCS.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/printLCS.m | 1,275 | utf_8 | b9cacb7a5d22626012081dca4bfe8cc2 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: printLCS.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function printLCS(dirMat, string, i, j, chars)
% This function takes as inputs a sequence for referencing, table of recorded direction values,
% iterators... |
github | christwt/ComputerVision-master | getDisparity.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/getDisparity.m | 2,544 | utf_8 | cccff5e38eec112d44ae7b5facee8937 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: getDisparity.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [dispVec] = getDisparity(leftVec, rightVec, occ)
% This function takes as inputs a left scanline vector, a right scanline
% vector and an occl... |
github | christwt/ComputerVision-master | backtrack.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/backtrack.m | 1,502 | utf_8 | 4bb2504623c6461fb669e110a75879cb | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: backtrack.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [vec] = backtrack(dirMat, vec)
% This function takes as inputs a direction Matrix and a row vector of
% NaN. This function will perform backtrack... |
github | christwt/ComputerVision-master | displayDMap.m | .m | ComputerVision-master/HW4/WilliamChristieHW4/displayDMap.m | 1,647 | utf_8 | 864d520d9b6a06ff7918a8b766d914d3 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 4: displayDMap.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [dColor] = displayDMap(dMap)
% This function takes as inputs a disparity map and displays the disparity
% map after scaling all disparities to ... |
github | christwt/ComputerVision-master | gaussFilter.m | .m | ComputerVision-master/HW1/gaussFilter.m | 1,916 | utf_8 | 5ac65e84828f3316edccbbd6ffe70791 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: gaussFilter
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ outImg ] = gaussFilter( inImg, sigma)
% display error should user enter negative sigma
while sigma < 0
prompt={'Error: Please ... |
github | christwt/ComputerVision-master | meanFilter.m | .m | ComputerVision-master/HW1/meanFilter.m | 1,763 | utf_8 | f565bc1e55592463821823a3e42a73a0 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: meanFilter
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ outImg ] = meanFilter( inImg, kernel_size)
% display error and get new prompt if kernel size not positive integer.
while (kernel_size <... |
github | christwt/ComputerVision-master | scaleBilinear2.m | .m | ComputerVision-master/HW1/scaleBilinear2.m | 2,040 | utf_8 | ecf8fb37cb10171fe616b5e2763f7341 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: scaleBilinear
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ outImg ] = scaleBilinear2( inImg, factor)
% display error for any negative factor input.
while factor < 0
prompt={'Error: Pleas... |
github | christwt/ComputerVision-master | funFilter.m | .m | ComputerVision-master/HW1/funFilter.m | 2,359 | utf_8 | fffbddc9e98d697aef37f1a55b415847 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: funFilter
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ outImg ] = funFilter(inImg, swirl)
% will implement swirl filter on chosen image.
% allow user to select amount of swirl to place on the... |
github | christwt/ComputerVision-master | padImg2.m | .m | ComputerVision-master/HW1/padImg2.m | 759 | utf_8 | 659a64ca979f96a8bded16fe264e6dfd | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: padImg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [paddedImg] = padImg2(inImg, kernel_size)
% tested using padarray first
% paddedImg = padarray(inImg, [p p], 0, 'both');
% set pad si... |
github | christwt/ComputerVision-master | scaleNearest2.m | .m | ComputerVision-master/HW1/scaleNearest2.m | 1,483 | utf_8 | 1b7d0e6d1af4d0cb3427ec84fd57e626 | %%%%%%%%%%%%%%%%%%%%%%%%%%
%
% William Christie
% SID: 810915676
% CSCI 4830/5722
% Instructor: Fleming
% Homework 1: scaleNearest
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [ outImg ] = scaleNearest2 ( inImg, factor1, factor2)
% display error is user inputs negative factor.
while factor1 < 0 || factor2 < 0
... |
github | SIA-UAVGP/px4_code-master | ellipsoid_fit.m | .m | px4_code-master/Tools/Matlab/ellipsoid_fit.m | 6,102 | utf_8 | b8fff7152313707a347ab528f7fbce9b | % Copyright (c) 2009, Yury Petrov
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions are
% met:
%
% * Redistributions of source code must retain the above copyright
% notice, this list of conditions... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_layout.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_layout.m | 2,918 | utf_8 | 52000e3a5315cdde780ea2a2fc013242 | function example_layout
% change this path if you install the VOC code elsewhere
addpath([cd '/VOCcode']);
% initialize VOC options
VOCinit;
% train and test layout
gtobjects=train(VOCopts); % train layout
test(VOCopts,gtobjects); % test layout... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_detector.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_detector.m | 4,488 | utf_8 | a9e6f1407ef03d07b0756ad1eb32f48a | function example_detector
% change this path if you install the VOC code elsewhere
addpath([cd '/VOCcode']);
% initialize VOC options
VOCinit;
% train and test detector for each class
for i=1:VOCopts.nclasses
cls=VOCopts.classes{i};
detector=train(VOCopts,cls); % train d... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_action.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_action.m | 2,705 | utf_8 | 5d6cde1edf8720830331d393865ac018 | function example_action
% change this path if you install the VOC code elsewhere
addpath([cd '/VOCcode']);
% initialize VOC options
VOCinit;
% train and test classifier for each action
for i=2:VOCopts.nactions % skip "other"
cls=VOCopts.actions{i};
classifier=train(VOCopts,cls); ... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | create_segmentations_from_detections.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/create_segmentations_from_detections.m | 3,469 | utf_8 | 64c3af7e7425ee51d06ae025b2b3365f | % Creates segmentation results from detection results.
% CREATE_SEGMENTATIONS_FROM_DETECTIONS(ID) creates segmentations from
% the detection results with identifier ID e.g. 'comp3'. All detections
% will be used, no matter what their confidence level. Detections are
% ranked by increasing confidence, so more confiden... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_action_nobb.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_action_nobb.m | 2,672 | utf_8 | e173ca013610d134ad934b419c879e88 | function example_action_nobb
% change this path if you install the VOC code elsewhere
addpath([cd '/VOCcode']);
% initialize VOC options
VOCinit;
% train and test classifier for each action
for i=2:VOCopts.nactions % skip "other"
cls=VOCopts.actions{i};
classifier=train(VOCopts,cls); ... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_segmenter.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_segmenter.m | 480 | utf_8 | e701439c04caff69b2795d41bb3f9404 | % example_segmenter Segmentation algorithm based on detection results.
%
% This segmenter requires that some detection results are present in
% 'Results' e.g. by running 'example_detector'.
%
% Segmentations are generated from detection bounding boxes.
function example_segmenter
% change this path if you install the V... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | example_classifier.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/example_classifier.m | 2,873 | utf_8 | e1f170d9b49051ddd2132e4fed5de7e3 | function example_classifier
% change this path if you install the VOC code elsewhere
addpath([cd '/VOCcode']);
% initialize VOC options
VOCinit;
% train and test classifier for each class
for i=1:VOCopts.nclasses
cls=VOCopts.classes{i};
classifier=train(VOCopts,cls); % tr... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | VOCevalseg.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/VOCevalseg.m | 3,467 | utf_8 | bf02d8bfc9f80fe52a335e2548d09da3 | %VOCEVALSEG Evaluates a set of segmentation results.
% VOCEVALSEG(VOCopts,ID); prints out the per class and overall
% segmentation accuracies. Accuracies are given using the intersection/union
% metric:
% true positives / (true positives + false positives + false negatives)
%
% [ACCURACIES,AVACC,CONF] = VOCEV... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | VOClabelcolormap.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/VOClabelcolormap.m | 691 | utf_8 | 0bfcd3122e62038f83e2d64f456d556b | % VOCLABELCOLORMAP Creates a label color map such that adjacent indices have different
% colors. Useful for reading and writing index images which contain large indices,
% by encoding them as RGB images.
%
% CMAP = VOCLABELCOLORMAP(N) creates a label color map with N entries.
function cmap = labelcolormap(N)
i... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | VOCwritexml.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/VOCwritexml.m | 1,166 | utf_8 | 5eee01a8259554f83bf00cf9cf2992a2 | function VOCwritexml(rec, path)
fid=fopen(path,'w');
writexml(fid,rec,0);
fclose(fid);
function xml = writexml(fid,rec,depth)
fn=fieldnames(rec);
for i=1:length(fn)
f=rec.(fn{i});
if ~isempty(f)
if isstruct(f)
for j=1:length(f)
fprintf(fid,'%s',re... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | VOCreadrecxml.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/VOCreadrecxml.m | 2,424 | utf_8 | e45f43cfe59ac58a2dfc63fc98398bc0 | function rec = VOCreadrecxml(path)
x=VOCreadxml(path);
x=x.annotation;
rec.folder=x.folder;
rec.filename=x.filename;
rec.source.database=x.source.database;
rec.source.annotation=x.source.annotation;
rec.source.image=x.source.image;
rec.size.width=str2double(x.size.width);
rec.size.height=str2double(x.siz... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | VOCxml2struct.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/VOCxml2struct.m | 1,920 | utf_8 | 6a873dba4b24c57e9f86a15ee12ea366 | function res = VOCxml2struct(xml)
xml(xml==9|xml==10|xml==13)=[];
[res,xml]=parse(xml,1,[]);
function [res,ind]=parse(xml,ind,parent)
res=[];
if ~isempty(parent)&&xml(ind)~='<'
i=findchar(xml,ind,'<');
res=trim(xml(ind:i-1));
ind=i;
[tag,ind]=gettag(xml,i);
if ~strcmp(tag,['/' pare... |
github | wpqmanu/Semantic_Segmentation_Scripts-master | PASreadrectxt.m | .m | Semantic_Segmentation_Scripts-master/semantic_segmentation_scripts/VOC2012/VOCcode/PASreadrectxt.m | 3,179 | utf_8 | 3b0bdbeb488c8292a1744dace066bb73 | function record=PASreadrectxt(filename)
[fd,syserrmsg]=fopen(filename,'rt');
if (fd==-1),
PASmsg=sprintf('Could not open %s for reading',filename);
PASerrmsg(PASmsg,syserrmsg);
end;
matchstrs=initstrings;
record=PASemptyrecord;
notEOF=1;
while (notEOF),
line=fgetl(fd);
notEOF=ischar(li... |
github | siddharthachandra/gcrf-master | denseCRF_hide.m | .m | gcrf-master/scripts/resources/densecrf/denseCRF_hide.m | 3,532 | utf_8 | ccf7620f942e77a5feccaadaca7a7e7a | function res = denseCRF(im, unary, nInferenceIterations, newOpts,gvf,stds)
% DENSECRF Wrapper for Philipp Kr??henb??hl's Fully Connected CRF code [1].
% This function assumes that the input image is a HxWx3 RGB image and
% that the unary terms are a HxWxK array, where K is the number of
% classes.
%
% res = DE... |
github | siddharthachandra/gcrf-master | make.m | .m | gcrf-master/scripts/resources/densecrf/make.m | 5,361 | utf_8 | f335c96335e040f6c0694e68e2a2d1b1 | function make(target,flags)
% MAKE Simulates GNU-make functionality and facilitates mex-file compilation.
% Edit make.m to set the source and build directories, include and link
% libraries and define the source files to be compiled into mex files.
%
% MAKE all or MAKE('all') compiles all mex files.
%
% MAKE a... |
github | siddharthachandra/gcrf-master | denseCRF.m | .m | gcrf-master/scripts/resources/densecrf/denseCRF.m | 2,764 | utf_8 | 0e1f32cf754209297fe1fe8d36a4679f | function res = denseCRF(im, unary, nInferenceIterations, newOpts)
% DENSECRF Wrapper for Philipp Krähenbühl's Fully Connected CRF code [1].
% This function assumes that the input image is a HxWx3 RGB image and
% that the unary terms are a HxWxK array, where K is the number of
% classes.
%
% res = DENSECRF(im, ... |
github | siddharthachandra/gcrf-master | classification_demo.m | .m | gcrf-master/caffe_deeplab2_lightweight/matlab/demo/classification_demo.m | 5,412 | utf_8 | 8f46deabe6cde287c4759f3bc8b7f819 | function [scores, maxlabel] = classification_demo(im, use_gpu)
% [scores, maxlabel] = classification_demo(im, use_gpu)
%
% Image classification demo using BVLC CaffeNet.
%
% IMPORTANT: before you run this demo, you should download BVLC CaffeNet
% from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html)
%
% *****... |
github | epfl-lasa/GPIS-master | fAll_mod.m | .m | GPIS-master/ampl/fAll_mod.m | 709 | utf_8 | 8a99505328b59b7f6d3c590695f128b2 |
function fAll_mod (rootname)
%filename = ['All_mod_',rootname,'.txt'];
fid = fopen('All_mod.txt', 'w+');
%fid = fopen(filename, 'w+');
% %%%% O2
% rootname = 'O2_p';
% orient = '_o';
% extension = '.mod';
%
%
% for i=1:42
% for j=1:3
% filename = [rootname, num2str(j), orient, num2str(i), extens... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/tutorial/CodingExercise/Matlab/3-solution/TutorialMatlab.m | 3,609 | utf_8 | 2bc5eccfdcf5dc22144b8503230f6b44 | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is a correct versi... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/tutorial/CodingExercise/Matlab/2-mistake/TutorialMatlab.m | 3,643 | utf_8 | 578035e52af32a4c1043bdda03276f3c | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is a version with
... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/tutorial/CodingExercise/Matlab/1-skeleton/TutorialMatlab.m | 2,732 | utf_8 | f5e68321a1a25030feef4f51479a5f11 | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is the skeleton fo... |
github | epfl-lasa/GPIS-master | examplehs038.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/contrib/MatlabInterface/examples/examplehs038.m | 2,544 | utf_8 | f3bb807d1f00d1e9805debf9f63341e3 | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #38. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | examplehs051.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/contrib/MatlabInterface/examples/examplehs051.m | 2,029 | utf_8 | 8d5dd0450d9974af1ab8d426b6e561fc | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #51. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | examplehs071.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/contrib/MatlabInterface/examples/examplehs071.m | 2,355 | utf_8 | 43b7820bab7b701f36f625fa5a0401e2 | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #71. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | lasso.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/Ipopt/contrib/MatlabInterface/examples/lasso.m | 3,110 | utf_8 | c7d23cb1f2f1c621ca899be600f724a0 | % This function executes IPOPT to find the maximum likelihood solution to
% least squares regression with L1 regularization or the "Lasso". The inputs
% are the data matrix A (in which each row is an example vector), the vector
% of regression outputs y, and the penalty parameter lambda, a number
% greater than zero. T... |
github | epfl-lasa/GPIS-master | evalg.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/ThirdParty/ASL/solvers/examples/evalg.m | 1,505 | utf_8 | c1025386c38811f2e88b2fc38778647c | % /****************************************************************
% Copyright (C) 1997 Lucent Technologies
% All Rights Reserved
%
% Permission to use, copy, modify, and distribute this software and
% its documentation for any purpose and without fee is hereby
% granted, provided that the above copyright notice appea... |
github | epfl-lasa/GPIS-master | evalw.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/ThirdParty/ASL/solvers/examples/evalw.m | 1,477 | utf_8 | 500a2b2d37662607b8358aa4428b7317 | % /****************************************************************
% Copyright (C) 1997 Lucent Technologies
% All Rights Reserved
%
% Permission to use, copy, modify, and distribute this software and
% its documentation for any purpose and without fee is hereby
% granted, provided that the above copyright notice appea... |
github | epfl-lasa/GPIS-master | evalf.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/ThirdParty/ASL/solvers/examples/evalf.m | 1,697 | utf_8 | 1b16732ee82084cb57297b88b607538a | % /****************************************************************
% Copyright (C) 1997 Lucent Technologies
% All Rights Reserved
%
% Permission to use, copy, modify, and distribute this software and
% its documentation for any purpose and without fee is hereby
% granted, provided that the above copyright notice appea... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/tutorial/CodingExercise/Matlab/3-solution/TutorialMatlab.m | 3,609 | utf_8 | 2bc5eccfdcf5dc22144b8503230f6b44 | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is a correct versi... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/tutorial/CodingExercise/Matlab/2-mistake/TutorialMatlab.m | 3,643 | utf_8 | 578035e52af32a4c1043bdda03276f3c | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is a version with
... |
github | epfl-lasa/GPIS-master | TutorialMatlab.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/tutorial/CodingExercise/Matlab/1-skeleton/TutorialMatlab.m | 2,732 | utf_8 | f5e68321a1a25030feef4f51479a5f11 | % Copyright (C) 2009 International Business Machines
% All Rights Reserved.
% This code is published under the Eclipse Public License.
%
% $Id: hs071_c.c 699 2006-04-05 21:05:18Z andreasw $
%
% Author: Andreas Waechter IBM 2009-04-02
%
% This file is part of the Ipopt tutorial. It is the skeleton fo... |
github | epfl-lasa/GPIS-master | examplehs038.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/contrib/MatlabInterface/examples/examplehs038.m | 2,544 | utf_8 | f3bb807d1f00d1e9805debf9f63341e3 | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #38. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | examplehs051.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/contrib/MatlabInterface/examples/examplehs051.m | 2,029 | utf_8 | 8d5dd0450d9974af1ab8d426b6e561fc | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #51. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | examplehs071.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/contrib/MatlabInterface/examples/examplehs071.m | 2,355 | utf_8 | 43b7820bab7b701f36f625fa5a0401e2 | % Test the "ipopt" Matlab interface on the Hock & Schittkowski test problem
% #71. See: Willi Hock and Klaus Schittkowski. (1981) Test Examples for
% Nonlinear Programming Codes. Lecture Notes in Economics and Mathematical
% Systems Vol. 187, Springer-Verlag.
%
% Copyright (C) 2008 Peter Carbonetto. All Rights Reserved... |
github | epfl-lasa/GPIS-master | lasso.m | .m | GPIS-master/ampl/Ipopt/Ipopt-3.11.8/build/Ipopt/contrib/MatlabInterface/examples/lasso.m | 3,110 | utf_8 | c7d23cb1f2f1c621ca899be600f724a0 | % This function executes IPOPT to find the maximum likelihood solution to
% least squares regression with L1 regularization or the "Lasso". The inputs
% are the data matrix A (in which each row is an example vector), the vector
% of regression outputs y, and the penalty parameter lambda, a number
% greater than zero. T... |
github | epfl-lasa/GPIS-master | KernelFun.m | .m | GPIS-master/matlab/KernelFun.m | 2,176 | utf_8 | b66fba5f63b9d2be577845da5a09ea7f | %%
%KernelMat = KernelFun(x,y,mu,lamda)
%x,y: each row is an observation point, 3 dimendion
%mu,lamda: kernel parameters.
function KernelMat = KernelFun(x,y,R,dev)
xdatasize=size(x,1);
ydatasize=size(y,1);
KernelCell =cell(xdatasize,ydatasize);
for i=1:xdatasize
for j=1:ydatasize
switch dev
... |
github | epfl-lasa/GPIS-master | read_vertices_and_faces_from_obj_file.m | .m | GPIS-master/matlab/read_vertices_and_faces_from_obj_file.m | 1,853 | utf_8 | 6b9f24100f7820080075c6339da939ca |
function [V,F] = read_vertices_and_faces_from_obj_file(filename)
% Reads a .obj mesh file and outputs the vertex and face list
% assumes a 3D triangle mesh and ignores everything but:
% v x y z and f i j k lines
% Input:
% filename string of obj file's path
%
% Output:
% V number of vertic... |
github | NCAR/ncl-master | sfsgfa.m | .m | ncl-master/ncarg2d/man/softfill/sfsgfa.m | 9,445 | utf_8 | 53f05ec535ca5e4e573e2f0809b049dc | '\" t
.TH SFSGFA 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
SFSGFA - (which stands for "SOFTFILL -
Simulate GFA") fills, in one of various ways,
an area of the plotter frame defined by a given set of points;
it is intended to provide a way to use the GKS fill-area routine,
if it works (as is the case in ... |
github | NCAR/ncl-master | autograph_params.m | .m | ncl-master/ncarg2d/man/autograph/autograph_params.m | 91,961 | utf_8 | 98744440b7d0762220320f63962bbcf2 | '\" t
.TH Autograph_params 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
Autograph_params - This document briefly describes all Autograph
internal parameters.
.SH DESCRIPTION
The Autograph control parameters reside in the labeled
common block AGCONP. There are currently 485 of them, of
which 336 are "pri... |
github | NCAR/ncl-master | conpack_params.m | .m | ncl-master/ncarg2d/man/conpack/conpack_params.m | 75,107 | utf_8 | cbf57457ee495f0c23aa8384ceed1623 | '\" t
.TH Conpack_params 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
Conpack_params - This document briefly describes all Conpack
internal parameters.
.SH DESCRIPTION
Parameter descriptions follow, in alphabetical order. Each
description begins with a line giving the three-character
mnemonic name of th... |
github | NCAR/ncl-master | gscr.m | .m | ncl-master/ncarg2d/man/gks/gscr.m | 2,516 | utf_8 | dc2316ab348353f3587d39b5cb79c3cf | .\"
.\" $Id: gscr.m,v 1.16 2008-12-23 00:03:03 haley Exp $
.\"
.TH GSCR 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.SH NAME
GSCR (Set color representation) - associates a color value with a
color index.
.SH SYNOPSIS
CALL GSCR (WKID, CI, CR, CG, CB)
.SH C-BINDING SYNOPSIS
#include <ncarg/gks.h>
.sp
void gset_colr_rep(Gint... |
github | NCAR/ncl-master | gset_colr_rep.m | .m | ncl-master/ncarg2d/man/gksC/gset_colr_rep.m | 2,820 | utf_8 | 93e369b09c89530eb9cb35bbd278ee8c | .\"
.\" $Id: gset_colr_rep.m,v 1.17 2008-12-23 00:03:04 haley Exp $
.\"
.TH GSET_COLR_REP 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.SH NAME
gset_colr_rep (Set color representation) - associates a color value with a
color index.
.SH SYNOPSIS
#include <ncarg/gks.h>
.sp
void gset_colr_rep(Gint ws_id, Gint colr_ind, const ... |
github | NCAR/ncl-master | plchhq.m | .m | ncl-master/ncarg2d/man/plotchar/plchhq.m | 13,694 | utf_8 | d654f66e0f2586799dade37775abc68f | .TH PCHIQU 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
PCHIQU -
Draws high quality characters. By default, it uses
the same database as the old NCAR Graphics routine PWRITX,
but it can also use characters from any of the fontcap-defined
databases, it has an improved interface, and it has
many more capabi... |
github | NCAR/ncl-master | pchiqu.m | .m | ncl-master/ncarg2d/man/plotchar/pchiqu.m | 13,629 | utf_8 | c5335edfc9207457c245a01b8cc5e9a0 | .TH PCHIQU 3NCARG "March 1993" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
PCHIQU -
Draws high quality characters. By default, it uses
the same database as the old NCAR Graphics routine PWRITX,
but it can also use characters from any of the fontcap-defined
databases, it has an improved interface, and it has
many more capabi... |
github | NCAR/ncl-master | ncarg_cbind.m | .m | ncl-master/ncarg2d/man/other/ncarg_cbind.m | 8,635 | utf_8 | 2a51de65f10240babcdfb2e460e53f14 | .\"
.\" $Id: ncarg_cbind.m,v 1.18 2008-07-27 03:34:10 haley Exp $
.\"
.TH NCARG_CBIND 3NCARG "February 1993" NCAR "NCAR GRAPHICS"
.SH NAME
NCAR Graphics C-binding - Description of how to use the NCAR Graphics
C-binding.
.SH SYNOPSIS
The NCAR Graphics C-binding consists of a collection of C routines
that allow you to ca... |
github | NCAR/ncl-master | stitle.m | .m | ncl-master/ncarg2d/man/scrolled_title/stitle.m | 6,650 | utf_8 | ccb1148c468caf3ed3a43c7c4c31de15 | .TH STITLE 3NCARG "July 1995" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
STITLE -
Creates scrolled movie or video titles. It receives all
input through the argument list.
.SH UTILITY
This routine is part of the Scrolled_title utility in NCAR Graphics. To
see the overview man page for this utility, type "man scrolled_title... |
github | NCAR/ncl-master | csa2s.m | .m | ncl-master/ngmath/man/csagrid/csa2s.m | 2,861 | utf_8 | 34bec040217a2ce65c2a682de2f65f6f | .\"
.\" $Id: csa2s.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH CSA2S 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
CSA2S - cubic spline approximation, simple entry for two-dimensional input,
gridded output
.SH SYNOPSIS
CALL CSA2S (NI, XI, UI, KNOTS, NXO, ,NYO, XO, YO, UO, NWRK, WORK, IER)
.SH DESCRIPTION
.IP... |
github | NCAR/ncl-master | c_csa2s.m | .m | ncl-master/ngmath/man/csagrid/c_csa2s.m | 3,167 | utf_8 | 6bc32645ae88361ff5bf38641c57f031 | .\"
.\" $Id: c_csa2s.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH c_csa2s 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
c_csa2s - cubic spline approximation, simple entry for two-dimensional input, gridded output
.SH FUNCTION PROTOTYPE
.nf
.cs R 24
float *c_csa2s(int, float [], float [], float [], int [],
... |
github | NCAR/ncl-master | c_csa3lxs.m | .m | ncl-master/ngmath/man/csagrid/c_csa3lxs.m | 4,544 | utf_8 | 6bba3eec8578b7cb20c76e3944885eda | .\"
.\" $Id: c_csa3lxs.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH c_csa3lxs 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
c_csa3lxs - cubic spline approximation, expanded entry for three-dimensional input, list output
.SH FUNCTION PROTOTYPE
.nf
.cs R 24
float *c_csa3lxs(int, float [], float [], float [], flo... |
github | NCAR/ncl-master | csa3ls.m | .m | ncl-master/ngmath/man/csagrid/csa3ls.m | 2,874 | utf_8 | 3951ea2e2b1523feda11102b33b61919 | .\"
.\" $Id: csa3ls.m,v 1.4 2008-07-27 03:35:34 haley Exp $
.\"
.TH CSA3LS 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
CSA3LS - cubic spline approximation, simple entry for three-dimensional input,
list output
.SH SYNOPSIS
CALL CSA3LS (NI, XI, UI, KNOTS, NO, XO, YO, ZO, UO,
.br
NWRK, WORK, IER)
.S... |
github | NCAR/ncl-master | csa2lxs.m | .m | ncl-master/ngmath/man/csagrid/csa2lxs.m | 3,653 | utf_8 | 25cccd2e760b1df77b2ff00f78ed2675 | .\"
.\" $Id: csa2lxs.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH CSA2LXS 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
CSA2LXS - cubic spline approximation, expanded entry for two-dimensional input,
list output
.SH SYNOPSIS
CALL CSA2LXS (NI, XI, UI, WTS, KNOTS, SMTH, NDERIV,
.br
NO, X... |
github | NCAR/ncl-master | c_csa3ls.m | .m | ncl-master/ngmath/man/csagrid/c_csa3ls.m | 3,360 | utf_8 | 03ac30445c5a9059c5a28e9f4c54749a | .\"
.\" $Id: c_csa3ls.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH c_csa3ls 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
c_csa3ls - cubic spline approximation, simple entry for three-dimensional input, list output
.SH FUNCTION PROTOTYPE
.nf
.cs R 24
float *c_csa3ls(int, float [], float [], float [], float [],... |
github | NCAR/ncl-master | c_csa2ls.m | .m | ncl-master/ngmath/man/csagrid/c_csa2ls.m | 3,042 | utf_8 | b7bf1f8d29c962cfe6fc71b357b25b88 | .\"
.\" $Id: c_csa2ls.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH c_csa2ls 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
c_csa2ls - cubic spline approximation, simple entry for two-dimensional input, list output
.SH FUNCTION PROTOTYPE
.nf
.cs R 24
float *c_csa2ls(int, float [], float [], float [], int [],
... |
github | NCAR/ncl-master | csa2ls.m | .m | ncl-master/ngmath/man/csagrid/csa2ls.m | 2,856 | utf_8 | 2dd6eda27059f9bbe76683a26b2dd468 | .\"
.\" $Id: csa2ls.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH CSA2LS 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
CSA2LS - cubic spline approximation, simple entry for two-dimensional input,
list output
.SH SYNOPSIS
CALL CSA2LS (NI, XI, UI, KNOTS, NO, XO, YO, UO, NWRK,
.br
WORK, IER)
.SH DESC... |
github | NCAR/ncl-master | c_csa2lxs.m | .m | ncl-master/ngmath/man/csagrid/c_csa2lxs.m | 4,123 | utf_8 | 4975b8b636e73cc9b08e6c556fb032ac | .\"
.\" $Id: c_csa2lxs.m,v 1.4 2008-07-27 03:35:33 haley Exp $
.\"
.TH c_csa2lxs 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
c_csa2lxs - cubic spline approximation, expanded entry for two-dimensional input, list output
.SH FUNCTION PROTOTYPE
.nf
.cs R 24
float *c_csa2lxs(int, float [], float [], float [], float... |
github | NCAR/ncl-master | csa2xs.m | .m | ncl-master/ngmath/man/csagrid/csa2xs.m | 3,783 | utf_8 | a6821ebe94d15ce36d555a8fbde35508 | .\"
.\" $Id: csa2xs.m,v 1.4 2008-07-27 03:35:34 haley Exp $
.\"
.TH CSA2XS 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.SH NAME
CSA2XS - cubic spline approximation, expanded entry for two-dimensional input,
gridded output
.SH SYNOPSIS
CALL CSA2XS (NI, XI, UI, WTS, KNOTS, SMTH, DERIV, NXO, NYO, XO, YO, UO, NWRK, WORK, IE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.