Are 2D grayscale images actually 3D?












0












$begingroup$


I keep running into this issue when describing the dimensionality of data I work with. In general it's a question of whether or not the 3D timeseries we are handling are in fact 5D, but I guess the issue can be even more simply represented when thinking of images:



A 2D image might be flat, i.e. 2D, but each pixel has a value. A 2D image can't be represented as points 2D space, it consists of points in 3D space, of which one dimension is represented via intensity, and the other two remain spatial. So am I correct to say that a planar section of brightness data is 3D?



If so, what's the correct way to disambiguate this. Is it 3D data and a 2D image? What about for a 3D space, is it a 3D space but 4D data? and for the 3D timeseries I am dealing with? While 5D might be a correct description, it might actually be a bit confusing.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I keep running into this issue when describing the dimensionality of data I work with. In general it's a question of whether or not the 3D timeseries we are handling are in fact 5D, but I guess the issue can be even more simply represented when thinking of images:



    A 2D image might be flat, i.e. 2D, but each pixel has a value. A 2D image can't be represented as points 2D space, it consists of points in 3D space, of which one dimension is represented via intensity, and the other two remain spatial. So am I correct to say that a planar section of brightness data is 3D?



    If so, what's the correct way to disambiguate this. Is it 3D data and a 2D image? What about for a 3D space, is it a 3D space but 4D data? and for the 3D timeseries I am dealing with? While 5D might be a correct description, it might actually be a bit confusing.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      I keep running into this issue when describing the dimensionality of data I work with. In general it's a question of whether or not the 3D timeseries we are handling are in fact 5D, but I guess the issue can be even more simply represented when thinking of images:



      A 2D image might be flat, i.e. 2D, but each pixel has a value. A 2D image can't be represented as points 2D space, it consists of points in 3D space, of which one dimension is represented via intensity, and the other two remain spatial. So am I correct to say that a planar section of brightness data is 3D?



      If so, what's the correct way to disambiguate this. Is it 3D data and a 2D image? What about for a 3D space, is it a 3D space but 4D data? and for the 3D timeseries I am dealing with? While 5D might be a correct description, it might actually be a bit confusing.










      share|cite|improve this question









      $endgroup$




      I keep running into this issue when describing the dimensionality of data I work with. In general it's a question of whether or not the 3D timeseries we are handling are in fact 5D, but I guess the issue can be even more simply represented when thinking of images:



      A 2D image might be flat, i.e. 2D, but each pixel has a value. A 2D image can't be represented as points 2D space, it consists of points in 3D space, of which one dimension is represented via intensity, and the other two remain spatial. So am I correct to say that a planar section of brightness data is 3D?



      If so, what's the correct way to disambiguate this. Is it 3D data and a 2D image? What about for a 3D space, is it a 3D space but 4D data? and for the 3D timeseries I am dealing with? While 5D might be a correct description, it might actually be a bit confusing.







      geometry dimension-theory






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 6 at 5:36









      TheChymeraTheChymera

      224127




      224127






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          It depends what you mean by "dimension" - you can think of a given image as existing in two dimensions, because it describes brightness varying across a two dimensional surface. You could think of it as existing in three dimension, like a graph of the brightness function. However, the bare notion of "dimension" would usually refer to the dimension of the space of images, which has a far higher dimension.





          Though the theory changes a bit between digital and analog images, the basic idea of an image is that we have some space $R$; in the analog domain, this might be an actual rectangle, whereas it might be a grid of finitely many pixels in the digital domain. At each point in the space, there is some brightness. So, an image can be represented as a function
          $$f:Rrightarrow I$$
          where $I$ is a set of possible intensities - usually something like the non-negative real numbers or a closed interval.



          Typically, it will be true that $R$ has two dimensions - its supposed to be a rectangle, after all. So, an image is two-dimensional in the sense that it is a function with domain having two dimensions. The codomain has dimension one - so you can, as you do, imagine the image's data as being encapsulated in the graph of $f$ - that is, the tuples $(r,f(r))$ for $rin R$. These tuples live in three dimensional space. In this sense, a single gray scale image represents some three dimensional object. A good precise way to think about this is that "a grayscale image can represent a function taking in two dimensions of input and spitting out one dimension of output." The assignment of a number to this notion is not necessarily helpful.



          A related question, however, is how many degrees of freedom one has in creating a grayscale image. Equivalently, how many dimensions do you need to represent such an image? The answer to this is that it has one dimension for every pixel in $R$, because you can independently prescribe the values at every pixel. This leads to very high dimensions very quickly. Formally, this is the dimension of the space of all images - and for many applications (e.g. data analysis or machine learning), this is really the most useful definition of dimension. You can interpret this answer as, "It requires $|R|$ numbers to define an image."






          share|cite|improve this answer









          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3063529%2fare-2d-grayscale-images-actually-3d%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            It depends what you mean by "dimension" - you can think of a given image as existing in two dimensions, because it describes brightness varying across a two dimensional surface. You could think of it as existing in three dimension, like a graph of the brightness function. However, the bare notion of "dimension" would usually refer to the dimension of the space of images, which has a far higher dimension.





            Though the theory changes a bit between digital and analog images, the basic idea of an image is that we have some space $R$; in the analog domain, this might be an actual rectangle, whereas it might be a grid of finitely many pixels in the digital domain. At each point in the space, there is some brightness. So, an image can be represented as a function
            $$f:Rrightarrow I$$
            where $I$ is a set of possible intensities - usually something like the non-negative real numbers or a closed interval.



            Typically, it will be true that $R$ has two dimensions - its supposed to be a rectangle, after all. So, an image is two-dimensional in the sense that it is a function with domain having two dimensions. The codomain has dimension one - so you can, as you do, imagine the image's data as being encapsulated in the graph of $f$ - that is, the tuples $(r,f(r))$ for $rin R$. These tuples live in three dimensional space. In this sense, a single gray scale image represents some three dimensional object. A good precise way to think about this is that "a grayscale image can represent a function taking in two dimensions of input and spitting out one dimension of output." The assignment of a number to this notion is not necessarily helpful.



            A related question, however, is how many degrees of freedom one has in creating a grayscale image. Equivalently, how many dimensions do you need to represent such an image? The answer to this is that it has one dimension for every pixel in $R$, because you can independently prescribe the values at every pixel. This leads to very high dimensions very quickly. Formally, this is the dimension of the space of all images - and for many applications (e.g. data analysis or machine learning), this is really the most useful definition of dimension. You can interpret this answer as, "It requires $|R|$ numbers to define an image."






            share|cite|improve this answer









            $endgroup$


















              2












              $begingroup$

              It depends what you mean by "dimension" - you can think of a given image as existing in two dimensions, because it describes brightness varying across a two dimensional surface. You could think of it as existing in three dimension, like a graph of the brightness function. However, the bare notion of "dimension" would usually refer to the dimension of the space of images, which has a far higher dimension.





              Though the theory changes a bit between digital and analog images, the basic idea of an image is that we have some space $R$; in the analog domain, this might be an actual rectangle, whereas it might be a grid of finitely many pixels in the digital domain. At each point in the space, there is some brightness. So, an image can be represented as a function
              $$f:Rrightarrow I$$
              where $I$ is a set of possible intensities - usually something like the non-negative real numbers or a closed interval.



              Typically, it will be true that $R$ has two dimensions - its supposed to be a rectangle, after all. So, an image is two-dimensional in the sense that it is a function with domain having two dimensions. The codomain has dimension one - so you can, as you do, imagine the image's data as being encapsulated in the graph of $f$ - that is, the tuples $(r,f(r))$ for $rin R$. These tuples live in three dimensional space. In this sense, a single gray scale image represents some three dimensional object. A good precise way to think about this is that "a grayscale image can represent a function taking in two dimensions of input and spitting out one dimension of output." The assignment of a number to this notion is not necessarily helpful.



              A related question, however, is how many degrees of freedom one has in creating a grayscale image. Equivalently, how many dimensions do you need to represent such an image? The answer to this is that it has one dimension for every pixel in $R$, because you can independently prescribe the values at every pixel. This leads to very high dimensions very quickly. Formally, this is the dimension of the space of all images - and for many applications (e.g. data analysis or machine learning), this is really the most useful definition of dimension. You can interpret this answer as, "It requires $|R|$ numbers to define an image."






              share|cite|improve this answer









              $endgroup$
















                2












                2








                2





                $begingroup$

                It depends what you mean by "dimension" - you can think of a given image as existing in two dimensions, because it describes brightness varying across a two dimensional surface. You could think of it as existing in three dimension, like a graph of the brightness function. However, the bare notion of "dimension" would usually refer to the dimension of the space of images, which has a far higher dimension.





                Though the theory changes a bit between digital and analog images, the basic idea of an image is that we have some space $R$; in the analog domain, this might be an actual rectangle, whereas it might be a grid of finitely many pixels in the digital domain. At each point in the space, there is some brightness. So, an image can be represented as a function
                $$f:Rrightarrow I$$
                where $I$ is a set of possible intensities - usually something like the non-negative real numbers or a closed interval.



                Typically, it will be true that $R$ has two dimensions - its supposed to be a rectangle, after all. So, an image is two-dimensional in the sense that it is a function with domain having two dimensions. The codomain has dimension one - so you can, as you do, imagine the image's data as being encapsulated in the graph of $f$ - that is, the tuples $(r,f(r))$ for $rin R$. These tuples live in three dimensional space. In this sense, a single gray scale image represents some three dimensional object. A good precise way to think about this is that "a grayscale image can represent a function taking in two dimensions of input and spitting out one dimension of output." The assignment of a number to this notion is not necessarily helpful.



                A related question, however, is how many degrees of freedom one has in creating a grayscale image. Equivalently, how many dimensions do you need to represent such an image? The answer to this is that it has one dimension for every pixel in $R$, because you can independently prescribe the values at every pixel. This leads to very high dimensions very quickly. Formally, this is the dimension of the space of all images - and for many applications (e.g. data analysis or machine learning), this is really the most useful definition of dimension. You can interpret this answer as, "It requires $|R|$ numbers to define an image."






                share|cite|improve this answer









                $endgroup$



                It depends what you mean by "dimension" - you can think of a given image as existing in two dimensions, because it describes brightness varying across a two dimensional surface. You could think of it as existing in three dimension, like a graph of the brightness function. However, the bare notion of "dimension" would usually refer to the dimension of the space of images, which has a far higher dimension.





                Though the theory changes a bit between digital and analog images, the basic idea of an image is that we have some space $R$; in the analog domain, this might be an actual rectangle, whereas it might be a grid of finitely many pixels in the digital domain. At each point in the space, there is some brightness. So, an image can be represented as a function
                $$f:Rrightarrow I$$
                where $I$ is a set of possible intensities - usually something like the non-negative real numbers or a closed interval.



                Typically, it will be true that $R$ has two dimensions - its supposed to be a rectangle, after all. So, an image is two-dimensional in the sense that it is a function with domain having two dimensions. The codomain has dimension one - so you can, as you do, imagine the image's data as being encapsulated in the graph of $f$ - that is, the tuples $(r,f(r))$ for $rin R$. These tuples live in three dimensional space. In this sense, a single gray scale image represents some three dimensional object. A good precise way to think about this is that "a grayscale image can represent a function taking in two dimensions of input and spitting out one dimension of output." The assignment of a number to this notion is not necessarily helpful.



                A related question, however, is how many degrees of freedom one has in creating a grayscale image. Equivalently, how many dimensions do you need to represent such an image? The answer to this is that it has one dimension for every pixel in $R$, because you can independently prescribe the values at every pixel. This leads to very high dimensions very quickly. Formally, this is the dimension of the space of all images - and for many applications (e.g. data analysis or machine learning), this is really the most useful definition of dimension. You can interpret this answer as, "It requires $|R|$ numbers to define an image."







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 6 at 5:50









                Milo BrandtMilo Brandt

                40k476140




                40k476140






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3063529%2fare-2d-grayscale-images-actually-3d%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Bressuire

                    Cabo Verde

                    Gyllenstierna