ColorSpace: make image_data and shape_detector to support more data type
After the cl, Merge ImageData::data_union into ImageData::data. Some code assume the data type is uint8 array and the size per pixel is 4. I left some TODOs in the code to address all the remaining problems. This cl addresses all issues in image_data and shape_detector. ref cl: https://chromium-review.googlesource.com/c/chromium/src/+/2379653 Bug: 1115317 Change-Id: If46ea1cc6986d8e2c1e4b40e8f98ecd55b31d9dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437606 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Aaron Krajeski <aaronhk@chromium.org> Reviewed-by:
ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#815886}
Showing
Please register or sign in to comment