Page 1 of 2 12 LastLast
Results 1 to 10 of 12
Like Tree6Likes

Thread: Photoshop need help with map area measuring.

  1. #1
      ukie is offline
    Guild Member
    Join Date
    Jan 2013
    Posts
    67

    Question Photoshop need help with map area measuring.

    I just wanted to figure out what is the area (miles squared) of a specific area selection on the map. The trouble is that is it not exactly a square. Does anyone know how do I figure it out are (maybe in pixels)?

  2. #2
      Azelor is offline
    Guild Artisan Azelor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    889

    Default

    if you go in window/histogram you can show the number of pixel of a selected zone. Click on the triangle with tree horizontal lines and select show statistics in the menu.

    like this (I have PS CS3) : Photoshop need help with map area measuring.-pixel.png

    To get the size of the area you will need to find the worth of 1 pixel in miles/km depending on the scale of your map.
    vorropohaiah and Nathan like this.

  3. #3
      ukie is offline
    Guild Member
    Join Date
    Jan 2013
    Posts
    67

    Default

    I tried it and it makes no sense. I selected an area an it gave me 70,000 pxls then I selected as smaller portion of that area (2/3) and it gave me 150,000 pxls???? Am I doing something wrong? (I was using lasso tool)

  4. #4
      ukie is offline
    Guild Member
    Join Date
    Jan 2013
    Posts
    67

    Default

    Ok got it I didn't notice the recalculation error message at first. Thanks a lot for the info!

  5. #5
      feanaaro is offline
    Guild Adept
    Join Date
    Jul 2011
    Location
    Rome, Italy - New York, USA
    Posts
    401

    Default

    Sorry to resurrect this ancient thread... but... even while using un-cached data (i.e. always clicking the ! triangle) I still get weird results. For example, I select a rectanglar area, and tell it to only consider pixels in the selected layer. That gives me a number (like 70003). Then with the magic wand I subtract from the selection all the empty space in that same layer, and the same measurement becomes 59515. The selected pixels should be all and only the pixels present in that layer (or part thereof), so how it is possible that I always get different numbers?

    Thanks.

  6. #6
      Jalyha is offline
    Guild Expert Jalyha's Avatar
    Join Date
    Jan 2014
    Location
    Out of my Mind!
    Posts
    1,048
    Blog Entries
    6

    Default

    Do you have some pixels that are partially transparent?

    (I don't even have the same software, but)

    Sometimes mine selects *partially* opaque bits and sometimes it doesn't. The more I click add or subtract selection on the transparent, the more it adds or drops these pixels... Dunno if that helps/applies/even matters, but...
    Have you "liked" a post today?

  7. #7
      feanaaro is offline
    Guild Adept
    Join Date
    Jul 2011
    Location
    Rome, Italy - New York, USA
    Posts
    401

    Default

    I would not think so, it's actually all white shapes, though maybe with antialiasing... However, since I am subtracting a magic-wand selection with 0 tolerance, any pixel which is even 0.1% opaque should remain in the resulting selection (it's the buildings layer from my city map, btw). That's why I don't get it.


    Edit: actually it must be antialiasing, since the discrepancy disappear by de-selecting the option in the magic wand tool. Sorry for not having noticed that myself.
    Last edited by feanaaro; 02-08-2014 at 11:03 AM.
    Jalyha likes this.

  8. #8
      Jalyha is offline
    Guild Expert Jalyha's Avatar
    Join Date
    Jan 2014
    Location
    Out of my Mind!
    Posts
    1,048
    Blog Entries
    6

    Default

    Exactly what are you doing? Like:

    1) Select rectangle -> Histogram -> Adjust Settings -> Get measurement -> Deselect by magic wand -> Histogram -> Adjust Settings -> Get measurement

    2) Select rectangle -> Histogram -> Adjust Settings -> Get measurement -> Select NONE -> Reselect rectangle -> Deselect by magic wand -> Histogram -> Adjust Settings -> Get measurement

    Or... however you're doing it, try it the other way.

    Otherwise I can only think it's first measuring the area of the whole rectangle in the selection, and with the deselect the space around it, it's measuring just the buildings, in which case the numbers *should* be different.


    Or, like, it's measuring every colored square in the selection (including white shapes) and when you deselect the white, it's measuring anything else (including slightly off white, which would still be there)

    And if it's not that, I don't know what the problem is... and I will shut up and wait for smart people to help you
    Have you "liked" a post today?

  9. #9
      Azelor is offline
    Guild Artisan Azelor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    889

    Default

    Quote Originally Posted by feanaaro View Post
    I would not think so, it's actually all white shapes, though maybe with antialiasing... However, since I am subtracting a magic-wand selection with 0 tolerance, any pixel which is even 0.1% opaque should remain in the resulting selection (it's the buildings layer from my city map, btw). That's why I don't get it.


    Edit: actually it must be antialiasing, since the discrepancy disappear by de-selecting the option in the magic wand tool. Sorry for not having noticed that myself.
    that's not really how it works. Based on observation, opacity and colors are two very different things and magic wands only recolonize colors not transparency. So if you have a shape with a very blurry and faint surrounding, there is a good chance it get caught with the magic wand too.

    If you want to select a specific area that have transparency, I think you might have to use the alpha layers...
    Jalyha likes this.

  10. #10
      Azelor is offline
    Guild Artisan Azelor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    889

    Default

    For example, using a shape with 2 different opacities.

    Add a layer mask for the shape
    Select all the pixels of the shape, copy
    go in the alpha layer channel and create a new alpha layer, paste

    to get the amount of pixels, just use the magic wand as before (on the alpha layer with all other layers invisible) . The trick is that transparent pixels become opaque so only then you can select them.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •