MachineIntelligenceCore:Visualization
|
Program for testing ImageEncoder and Visualization. More...
#include <boost/thread/thread.hpp>
#include <boost/bind.hpp>
#include <types/MNISTTypes.hpp>
#include <logger/Log.hpp>
#include <logger/ConsoleOutput.hpp>
#include <opengl/visualization/WindowManager.hpp>
#include <opengl/visualization/WindowGrayscaleBatch.hpp>
Go to the source code of this file.
Functions | |
void | test_thread_body (void) |
Function for testing ImageEncoder/WindowImage2D classes. More... | |
int | main (int argc, char *argv[]) |
Main program function. Runs two threads: main (for GLUT) and another one (for data processing). More... | |
Variables | |
WindowGrayscaleBatch< float > * | w_batch |
Window displaying the image. More... | |
Program for testing ImageEncoder and Visualization.
Copyright (C) tkornuta, IBM Corporation 2015-2019
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright (c) 2017, Tomasz Kornuta, IBM Corporation. All rights reserved.
Definition in file window_grayscale_image_test.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main program function. Runs two threads: main (for GLUT) and another one (for data processing).
[in] | argc | Number of parameters (not used). |
[in] | argv | List of parameters (not used). |
Definition at line 101 of file window_grayscale_image_test.cpp.
References test_thread_body(), VGL_MANAGER, and w_batch.
void test_thread_body | ( | void | ) |
Function for testing ImageEncoder/WindowImage2D classes.
Definition at line 46 of file window_grayscale_image_test.cpp.
References w_batch.
Referenced by main().
WindowGrayscaleBatch<float>* w_batch |
Window displaying the image.
Definition at line 40 of file window_grayscale_image_test.cpp.
Referenced by main(), and test_thread_body().