Ask your own question, for FREE!
Computer Science 30 Online
OpenStudy (anonymous):

Homework question. Help please! Bounding box. Write a program BoundingBox.java that reads in an image file and output the smallest bounding box (rectangle parallel to the x and y axes) that contains all of the non-white pixels. Useful for automatic cropping. Am I going to be using 2D arrays for this? I don't understand this question let alone how to even start. Any help would be really appreciated!!!!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!