Results 1 to 4 of 4

Thread: "Polling" colors on an inserted image

  1. #1
    Member
    Join Date
    2006-04
    Posts
    17
    Login to Give a bone
    0

    Question "Polling" colors on an inserted image

    I want to insert color aerial photos in AutoCAD (either .sid or .tif files) and then create a grid based on state plane coordinates. I need a lisp routine to evaluate the "pixels" within each grid block and determine the "average" color. Is there any way to poll the image once it has been inserted to determine the pixel color values?

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: "Polling" colors on an inserted image

    Not that I'm aware.
    R. Robert Bell
    Design Technology Manager
    Stantec
    Opinions expressed are mine alone and do not reflect the views of Stantec.

  3. #3
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: "Polling" colors on an inserted image

    Not directly, anyways. You could use a pick coordinate relative to the image frame to determine the pixel coordinates in the original image file. You would need a means of reading the image file as data to pull off the rest.

  4. #4
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: "Polling" colors on an inserted image

    If you can insert the image using the older methods (which converts the image into a series of 2d Solids) it "might" be possible to get a guesstimate using lisp.

    I'd think though it would be easier using some image editing app to get this type of data.

Similar Threads

  1. Polling "What are you using Revit for???"
    By USMCBody in forum Facilities Management In Practice
    Replies: 16
    Last Post: 2012-07-26, 07:49 PM
  2. Replies: 0
    Last Post: 2012-06-06, 11:54 AM
  3. Polling "What are you using Revit for???"
    By USMCBody in forum Revit - In Practice
    Replies: 0
    Last Post: 2012-04-09, 06:34 PM
  4. Control over current "system" colors
    By revit.wishlist1942 in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2008-07-04, 11:47 AM
  5. Can't Insert Tif image "Image file not Valid"
    By dguinan in forum AutoCAD General
    Replies: 4
    Last Post: 2007-01-10, 08:03 PM

Posting Permissions

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