Home | History | Annotate | Download | only in label_image

Lines Matching refs:wanted_channels

147   const int wanted_channels = 3;
148 if (image_channels < wanted_channels) {
150 "Image needs to have at least ", wanted_channels, " but only has ",
159 {1, wanted_height, wanted_width, wanted_channels}));
174 float* out_row = out + (y * wanted_width * wanted_channels);
181 in_top_row + (left_x_index * wanted_channels);
183 in_top_row + (right_x_index * wanted_channels);
185 in_bottom_row + (left_x_index * wanted_channels);
187 in_bottom_row + (right_x_index * wanted_channels);
189 float* out_pixel = out_row + (x * wanted_channels);
190 for (int c = 0; c < wanted_channels; ++c) {