An image processing apparatus, comprising: an interface; and a processor configured to: receive, through the interface, an input frame including a plurality of areas and a plurality of padding areas between each of the plurality of areas, and metadata including type information indicating a type of a polyhedron for an output frame and subtype information indicating attributes of arrangement of the plurality of areas included in the input frame, wherein a first shape of each of the plurality of areas corresponds to a second shape of each of faces of the polyhedron for the output frame respectively, determine the type of the polyhedron for the output frame based on the type information included in the received metadata, determine the attributes of arrangement of the plurality of areas included in the input frame based on the subtype information included in the received metadata, determine at least one pixel value of each of the plurality of padding areas included in the input frame, and render the output frame by mapping each of the plurality of areas to corresponding the faces of the polyhedron respectively based on the type of the polyhedron identified through the type information and the attributes of arrangement of the plurality of areas identified through the subtype information and by setting a pixel value of each of a plurality of boundaries between each of the faces of the polyhedron based on the at least one pixel value of each of the plurality of padding areas, wherein the attributes of arrangement indicates corresponding relation between each of the plurality of areas and each of the faces of the polyhedron. an interface; and a processor configured to: receive, through the interface, an input frame including a plurality of areas and a plurality of padding areas between each of the plurality of areas, and metadata including type information indicating a type of a polyhedron for an output frame and subtype information indicating attributes of arrangement of the plurality of areas included in the input frame, wherein a first shape of each of the plurality of areas corresponds to a second shape of each of faces of the polyhedron for the output frame respectively, determine the type of the polyhedron for the output frame based on the type information included in the received metadata, determine the attributes of arrangement of the plurality of areas included in the input frame based on the subtype information included in the received metadata, determine at least one pixel value of each of the plurality of padding areas included in the input frame, and render the output frame by mapping each of the plurality of areas to corresponding the faces of the polyhedron respectively based on the type of the polyhedron identified through the type information and the attributes of arrangement of the plurality of areas identified through the subtype information and by setting a pixel value of each of a plurality of boundaries between each of the faces of the polyhedron based on the at least one pixel value of each of the plurality of padding areas, wherein the attributes of arrangement indicates corresponding relation between each of the plurality of areas and each of the faces of the polyhedron. receive, through the interface, an input frame including a plurality of areas and a plurality of padding areas between each of the plurality of areas, and metadata including type information indicating a type of a polyhedron for an output frame and subtype information indicating attributes of arrangement of the plurality of areas included in the input frame, wherein a first shape of each of the plurality of areas corresponds to a second shape of each of faces of the polyhedron for the output frame respectively, determine the type of the polyhedron for the output frame based on the type information included in the received metadata, determine the attributes of arrangement of the plurality of areas included in the input frame based on the subtype information included in the received metadata, determine at least one pixel value of each of the plurality of padding areas included in the input frame, and render the output frame by mapping each of the plurality of areas to corresponding the faces of the polyhedron respectively based on the type of the polyhedron identified through the type information and the attributes of arrangement of the plurality of areas identified through the subtype information and by setting a pixel value of each of a plurality of boundaries between each of the faces of the polyhedron based on the at least one pixel value of each of the plurality of padding areas, wherein the attributes of arrangement indicates corresponding relation between each of the plurality of areas and each of the faces of the polyhedron.