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

Thread: Photoshop need help with map area measuring.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    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
    Guild Grand Master Azélor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    3,363

    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) : Attachment 57510

    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.

  3. #3

    Default

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

  4. #4

    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)

  5. #5
    Guild Adept
    Join Date
    Jul 2011
    Location
    Rome, Italy - New York, USA
    Posts
    417

    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
    Guild Expert Jalyha's Avatar
    Join Date
    Jan 2014
    Location
    Out of my Mind!
    Posts
    1,067
    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
    Guild Adept
    Join Date
    Jul 2011
    Location
    Rome, Italy - New York, USA
    Posts
    417

    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.

  8. #8
    Guild Grand Master Azélor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    3,363

    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...

  9. #9
    Guild Grand Master Azélor's Avatar
    Join Date
    Jul 2008
    Location
    Québec
    Posts
    3,363

    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.

  10. #10
    Guild Expert Jalyha's Avatar
    Join Date
    Jan 2014
    Location
    Out of my Mind!
    Posts
    1,067
    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?

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
  •