Render a visualization of the features to a CharSamp. This is mainly used by visual-debuggers
| 39 | // Render a visualization of the features to a CharSamp. |
| 40 | // This is mainly used by visual-debuggers |
| 41 | CharSamp *FeatureBmp::ComputeFeatureBitmap(CharSamp *char_samp) { |
| 42 | return char_samp->Scale(conv_grid_size_, conv_grid_size_); |
| 43 | } |
| 44 | |
| 45 | // Compute the features for a given CharSamp |
| 46 | bool FeatureBmp::ComputeFeatures(CharSamp *char_samp, float *features) { |