MachineIntelligenceCore:Visualization
window_grayscale_image_test.cpp File Reference

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>
Include dependency graph for window_grayscale_image_test.cpp:

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...
 

Detailed Description

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.

Author
tkornuta
Date
Nov 20, 2015

Copyright (c) 2017, Tomasz Kornuta, IBM Corporation. All rights reserved.

Definition in file window_grayscale_image_test.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main program function. Runs two threads: main (for GLUT) and another one (for data processing).

Author
tkornuta
Parameters
[in]argcNumber of parameters (not used).
[in]argvList of parameters (not used).
Returns
(not used)

Definition at line 101 of file window_grayscale_image_test.cpp.

References test_thread_body(), VGL_MANAGER, and w_batch.

Here is the call graph for this function:

void test_thread_body ( void  )

Function for testing ImageEncoder/WindowImage2D classes.

Author
tkornuta

Definition at line 46 of file window_grayscale_image_test.cpp.

References w_batch.

Referenced by main().

Variable Documentation

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().