fasthessian.hGo to the documentation of this file.00001 00010 /* 00011 Copyright (c) 2010, Paul Furgale and Chi Hay Tong 00012 All rights reserved. 00013 00014 Redistribution and use in source and binary forms, with or without 00015 modification, are permitted provided that the following conditions are 00016 met: 00017 00018 * Redistributions of source code must retain the above copyright notice, 00019 this list of conditions and the following disclaimer. 00020 * Redistributions in binary form must reproduce the above copyright 00021 notice, this list of conditions and the following disclaimer in the 00022 documentation and/or other materials provided with the distribution. 00023 * The names of its contributors may not be used to endorse or promote 00024 products derived from this software without specific prior written 00025 permission. 00026 00027 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00028 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 00029 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 00030 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 00031 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00032 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00033 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00034 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00035 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00036 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00037 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00038 */ 00039 00040 00041 #ifndef ASRL_FASTHESSIAN_H 00042 #define ASRL_FASTHESSIAN_H 00043 00044 00045 namespace asrl{ 00046 00055 void run_fasthessian_kernel(dim3 grid, dim3 threads, float * d_hessian, int octave); 00056 00062 enum fh_component { 00063 FH_DXX, 00064 FH_DYY, 00065 FH_DXX_DYY, 00066 FH_DXY, 00067 FH_CENSURE, 00068 FH_RESULT, 00069 FH_RESULT_BIT_SET, 00070 FH_LINEAR_IDX, 00071 FH_HIDX_X_IDX, 00072 FH_HIDX_Y_IDX, 00073 FH_FSCALE, 00074 FH_X, 00075 FH_Y 00076 }; 00077 00088 void run_eval_component_kernel(dim3 grid, dim3 threads, float * d_hessian, int octave, fh_component comp); 00089 00090 } // namespace asrl 00091 00092 #endif // ASRL_FASTHESSIAN_H 00093 00094 Generated on Fri Apr 30 20:06:19 2010 for gpusurf by 1.6.2 |