A computer-implemented image processing method comprising: acquiring images captured in at least two directions ; generating a projection image by projecting the images onto a polyhedron ; moving a location of at least one pixel among pixels in the projection image to reshape the projection image into a rectangular image ; and processing the rectangular image, wherein the moving of the location of the at least one pixel among the pixels in the projection image to reshape the projection image into the rectangular image comprises: determining a horizontal movement direction of pixels included in each row for each row based on a set value; horizontally moving the pixels included in each row to a left or a right for each row such that the pixels are sequentially filled from a left edge or a right edge of each row according to the determined horizontal movement direction; vertically moving the horizontally moved pixels included in each column upward for each column such that the pixels are sequentially filled from a top edge of each column; wherein, for each row, when the number of that row is the set value or lower, it is determined that the horizontal movement direction for that row is the left, and when the number of that row is higher than the set value, it is determined that the horizontal movement direction for that row is the right. acquiring images captured in at least two directions ; generating a projection image by projecting the images onto a polyhedron ; moving a location of at least one pixel among pixels in the projection image to reshape the projection image into a rectangular image ; and processing the rectangular image, wherein the moving of the location of the at least one pixel among the pixels in the projection image to reshape the projection image into the rectangular image comprises: determining a horizontal movement direction of pixels included in each row for each row based on a set value; horizontally moving the pixels included in each row to a left or a right for each row such that the pixels are sequentially filled from a left edge or a right edge of each row according to the determined horizontal movement direction; vertically moving the horizontally moved pixels included in each column upward for each column such that the pixels are sequentially filled from a top edge of each column; wherein, for each row, when the number of that row is the set value or lower, it is determined that the horizontal movement direction for that row is the left, and when the number of that row is higher than the set value, it is determined that the horizontal movement direction for that row is the right. determining a horizontal movement direction of pixels included in each row for each row based on a set value; horizontally moving the pixels included in each row to a left or a right for each row such that the pixels are sequentially filled from a left edge or a right edge of each row according to the determined horizontal movement direction; vertically moving the horizontally moved pixels included in each column upward for each column such that the pixels are sequentially filled from a top edge of each column; wherein, for each row, when the number of that row is the set value or lower, it is determined that the horizontal movement direction for that row is the left, and when the number of that row is higher than the set value, it is determined that the horizontal movement direction for that row is the right. <EOS>