Histogram mean and median in Photoshop are different than in MATLAB

Hi guys. I'm currently using Photoshop CS3 on my PC and I've been tasked to do some image analysis research. I used Photoshop to analyze a pool of 100 files to find the mean and median of their (intensity/gray) histograms. (Using the im2gray function in MATLAB)
The problem is, though, that when I analyze these same files in MATLAB with the mean (mean2), median (median(I(:)) I am coming up with different numbers. Some of the means/medians in MATLAB are as high as 15 (scale: uint8 (1-256)) away from the results in Photoshop.
I am trying to find the source of this problem, but I cannot put my finger on it. I'm thinking photoshop and MATLAB just process images differently or something but I would like to know the root cause of the problem.
If anyone can help here I'd appreciate it much!

I don't use Mathlab so this is just a shot in the dark but you might want to try going to the Edit menu and choosing Assign Profile. In the dialog choose 'Don't Color Manage This Document'.
I would think that would sent out values to Mathlab not adjusted to any profile. If that doesn't work you might try the sGray profile or one of the Gamma.
As I understand it Dot Gain is how the ink spreads on paper when screened and printed. It has to do with how much ink is layed down by the press and the paper stock.

Similar Messages

  • Saving cropped and edited photos that are different than originals

    I have been cropping and editing some photos but when I save them as the edited version and compare to the original, they look the same.  Do you have some suggestions?

    Singtenor, welcome to the forum.
    Try using the "Save As" option and naming the cropped, edited version with a new name.
    Please click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Purchase order print priview and spool print output are different.

    Hi Friends,
    there is problem with purchase order print priview and spool print output are different.
    mean : in me23n .. for a perticular po .. in po priview the TAX VALUES value is 120 coming..
    when i am giving print with spool.. the amount value is showing  TAX VALUE
    is 443..why it is showing wrong..
    this is for perticular output type.
    why TAX VALUES are showing different in print view and
    spool print.
    help me.
    regards,

    Hi Neil,
    thanks for your reply.
    but the valiadtions are happening in standard functional module PRICING.
    it is realted script(medruck)...but there is no code point for spool or printer side..
    and the issue is realted one PO OUTPUT TYPE..
    it is sap standard debugging... when i am debugging the functional module PRICING.
    the values are coming dynammically.
    help me.
    regards,

  • Print priview and spool print output are different

    Hi Friends,
    there is problem with purchase order print priview and spool print output are different.
    mean : in me23n .. for a perticular po .. in po priview one amount value is 120 coming..
    when i am giving print with spool.. the amount value is showing
    is  443..why it is showing wrong..
    this is for perticular output type.
    why perticular values are showing different in print view and
    spool print.
    regards,

    make this setting change:
    in SPAD > In the menu Settings -> Spool System
    In the others tab check the first check box in the Output Controller block, SAVE and exit

  • Why icons  and text on photoshop are very small, (i checked edit preferences interface)

    why icons  and text on photoshop are very small, (i checked edit>preferences>interface)

    In summary:
    1.  You have a "high dpi" screen.  The advantages to this are that things that are painted on the screen in a reasonable size will be made up of a lot of pixels, and will be very crisp and clean looking.
    2.  Photoshop has not yet embraced "high dpi" operation.  It's complex to do so, in that Adobe has to rewrite the software for all the controls on the screen to be able to use more pixels.  That's not to say it's impossible, it's actually fairly straightforward for a given control - but there are a HUGE number of controls in many, many different places in the application.
    Adobe has said they're working on it, and have made some noise about Microsoft not having supplied everything they need to succeed at the full reimplementation.  But the current version does not have the ability to size itself up to be a reasonable size on your "high dpi" display.
    That said, if you really, really want Photoshop to be "magnified up" to where all the controls (AND the pixels in the image you're editing) are much larger on your display, there is a workaround/hack...  It's a bit geeky and requires registry editing, and one day when Photoshop really does gain "high dpi" support you'll need to remove the hack, but here it is:
    http://forums.adobe.com/message/5962765#5962765
    I can't vouch for its performance, but it might make it usable for you in the interim.
    -Noel

  • Can Dasylab calculate mean and median power frequency of EMG? And how?

    I got a set of consecutive EMG signals. Can I get the mean and median power frequency by just using Dasylab software?
    If the answer is yes, how can I get them? Thank you in advance!

    Dear Mr. Wei-Jie Fu,
    I found a lot of special article for EMG, mean and median power frequency with Google search. So I think there are special algorithm necessary to figure out the correct informations. I think we don't have a useful result based on DASYLab standard modules for your application. If you have an algorithm in C/C++ so it's general possible to design an payed Extension Toolkit module for this job for you.
    Best Regards,
    MHa

  • HT4759 My iCloud email address and my apple ID are different. I would like to change my iCloud to be the same as my apple ID. However I don't know my iCloud password and don't use the email address it belongs to. When I try to change the password, apple b

    My iCloud email address and my apple ID are different. I would like to change my iCloud to be the same as my apple ID. However I don't know my iCloud password and don't use the email address it belongs to. When I try to change the password, apple brings me to a page to reset my apple ID password (which I know and don't want to change). I have even tried to delete my iCloud account completely to start again but am not allowed without the iCloud password (which I don't have) there doesn't seem to be a place to change the email address of iCloud. What can I do?

    This is the answer that I had expected, so in this case you could only change your gmail.com address to another providers email addres e.g. outlook.com, yahoo.com, etc., but you won't be able to change the gmail.com address to a icloud.com email address. Apple just won't let you do that.
    Your iCloud account with @icloud.com email address and you Apple ID with gmail.com address are already connected and as I said before, Apple just let you merge this two IDs together.

  • I will travel to France and let me know if I should buy any adapter to charge my iphone?, because the plugs are different than here in chile

    I will travel to France and let me know if I should buy any adapter to charge my iphone?, because the plugs are different than here in chile

    Hi Shawn,
    It sounds like the person who installed the hardware didn't install the software properly for you. You should reinstall this to get full functionality and control yourself.
    The process is easy:
    ) With the computer on, close all programs that are running and put the Creative CD-ROM into your computer's CD or DVD dri've. There are probably several disks; the one that you want should say 'Intallation and Applications CD' on the label.
    2) The Setup program should start automatically in a few moments, but if nothing happens, click your Start menu and choose Run..., then click the Browse button. From the 'Look In' drop-down menu, choose your CD/DVD dri've. In the list of files that appears, choose the one called Setup or Setup.exe.
    3) The Setup program will let you choose what to install. Choose to install everything. There might be two separate Setup processes that start after this: one for the soundcard's drivers, and one for the Creative MediaSource software. Within each process, when you are given the choice of Full, Custom, or Basic, select Full in each case. Follow the instructions in the programs and they will guide you through the setup process.
    IMPORTANT: you will likely be given the option to use digital output only to your speakers. Only select this if you have digital speakers, attached to the sondcard through only one digital cable. If your speakers are attached using several cables, you should use analog output.
    4) Once all of the Setup programs are completed, they will probably have you restart your computer.
    All of the above should have been done when the card was first installed, but it seems that whoever you paid to do the installation didn't bother with the software install.
    After this is all done, you should be able to use all of your speakers. If you are still having trouble, you will be able to follow the instructions that you were given before on how to enable CMSS.
    Good luck!
    Neeraj Mathur

  • My email (sign-in) and password for iTunes is different than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    My email (sign-in) and password for iTunes is different  than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    Hey Lakedrive442,
    It sounds like you have changed your Apple ID which you use with iTunes.  If so there are several places you may need to update it as outlined in this article.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Of course some might not apply, but many might.
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • HT4759 I dont know my password to my icloud Id and my icloud and my apple id are different

    How can I restore my ipod if I dont know my icloud password and my icloud and my apple id are different?/

    Hello ilovemyson1231,
    Thanks for using Apple Support Communities.
    To reset the password for your iCloud account please follow the support article linked to below.
    iCloud: Change your iCloud password
    http://support.apple.com/kb/ph2617
    Take care,
    Alex H.

  • Security questions are different than questions I originally answered can't access iTunes for new ipad

    Need to answer security questions to access new iPad, security questions are different than what I originally answered.

    Doubtful.

  • Dng from lightroom to photoshop are different

    Hello, I've got a problem when I export my Raw file (convert in lightroom as dng) as smart object in photoshop, it render differently and I really don't know why...
    I export from lightroom as Tiff ProPhoto 16bits without compression as smart object.
    In photoshop, my file apear to be washed out but if I double click on my smart object, I've got the same render as in lightroom.
    Now if I open my dng directly in camera raw, make some adjustment and open as smart object, the render apear to be washed out to
    Please help me
    From lightroom after editing it :
    Imported as smart object in photoshop
    Camera raw version (aflter double click on my smart object or if I open my dng in camera raw. Please note tha if I open this version as smart object directly from camera row I got the same image as above)
    The stars in the photoshop version are completly different or it's my eyes ?
    I'm running LR5, photoshop CS6, Camera Raw 8.3 on windows 7 64bits
    Please help

    This is probably due to the difference in scaling algorithms in Lightroom and Photoshop when you are zoomed out. To display an image on your screen at zoomed out zoom levels, the program has to scale down your image. The algorithm used can strongly alter the appearance of detail. Photoshop does different things depending on zoom level. If it is a zoom factor of 2 or multiples of that (25%, 50%, etc.) it uses a different algorithm than at non even zooms (i.e. 33%, 66%). In Lightroom, at least in Library, it uses a system dependent algorithm but uses it always (except at 1:1 and higher zooms). In develop, it does something different altogether. Bottom line is that in neither program you can judge actual sharpness/detail if you are not at 1:1 (100% in PS) or higher zoom. At fit views, the algorithm used to scale down has a strong influence on the appearance of sharpness.

  • FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Dear Expert
    FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Hi,
    It seems from the screen shot you are seeing different documents as in the first screen shot it clearly shows you have booked the multiple expenses under one see the below screen shot we have circled it
    whereas FB03 screen shows different.
    You can do one thing click on circle item and check the expenses involved in it and accordingly go to FBL3N and display documents for that G/L for the date 05.04.2014.
    Hope your issue has been resolved else revert.
    Regards,
    Tejas.

  • The GR value and GR cancellation value are different.

    Dear All,
    Could you please help me with ths?
    We have posted a GR and then cancel it but the values are different. Price control for material is S and there were:
    -No change to PO price
    -No material movements between 2 document postings
    -No invoices posted between time of GR posting and cancellation
    Thanks
    D.

    Hi D_777777,
    Can u explain me what is logic behiind Batch material PPValong with account assgnment
    So that I can think on it
    Regards
    Gitesh

  • Swf play speed and web page speed are Different

    Any idea why the swf's visual speed is different when viewed
    as a swf or viewed from a browser page?
    Some factoids: I have Flash 8.0, Action script 2.0. I have
    published the swf (and related html) locally. 15 fps. The flash
    contains animation, and an event audio.
    When I author and adjust the timing of the audio and the
    animation in my flash file it is synchronized. Further, when I
    preview the animation it is synched. Also it is synched if I view
    the swf from the hard drive.
    However, if I invoke the swf's html file, either online or
    locally, the visual significantly lags the audio.
    It is not a matter of swf size as the swf is .4 meg. It is
    not a matter of computer resources as the computer I have is the
    latest model nicely equipped Dell.

    Hi OT,
    well, it's not so strange the difference in size.
    As I wrote before, it's iWeb that create a new background image for every page.
    In the page menu>layout you can choose the background image. My original background image file is just 152Kb.
    But in that menu I setted the file as "Tinted image fill" and "Tile".
    So iWeb "tints" my original file with a color and change it from jpg to png and then, istead of just "tiling" the image to fill the length of each page, it tiles the tinted image to fill the length of each page and then create a file of that length. So it's not a real tiling, and the background_1 file become different for every page.
    In an other web site I just chose a background image and tiled it. Well the bg. file created by iWeb is smaller than the original one and it's really just tiled, so the file is the same for every page, even the length of pages is different.
    The problem is the "tinted image fill" setting. As I wrote and as you tested, if you use a graphics editing software, you can create by yourself the "tinted image file" and then use it as background in iWeb without the "tinted image fill" and "tile" setting on, but just "image fill" and "tile" setting on.
    The files you dowloaded from my site are not the original one. The original bg file is white with the paper pattern and it's 640X480 152Kb jpg file. You cannot find it on the site, it's just in my hard disk.
    So I have to tint the original white paper pattern file with the green I like by a software and then save it as a small jpg file. In iWeb just set this new file as bg "image fill" and "tile".

Maybe you are looking for

  • How do I move a calendar from iCloud back to a local calendar?

    I've got a number of calendars that are stored in iCloud. Now I would like to make them local calendars again, i.e., make them appear in the category "ON MY MAC". How can I do that? (without loosing any dates) TIA, Gabriel.

  • Movie won't save correctly??

    The past two weeks, either my imovie 09 or my macbook pro has not been able to correctly save my movies. When i edit the movies, it is perfectly fine. When I export the movies (to desktop, flashdrive, youtube, etc.) and play them back... about half w

  • E4200 - IPv6 Neighbor Discovery

    Hi, I am currently developping an embedded IPv6 stack and I needed to get an IPv6 compatible router to perform different tests. I purchased an E4200 router, knowing that the latest firmware includes Native IPv6 support. On Cisco blog, I read that the

  • More than one main table

    All - Is there any pros and cons to have more main table for master data in sigle repository. say 4-5 main table ? Here most of the look up can be common in many cases. I am confusing to move ahead. as in what impact on Database, Roles , users, Load

  • Drag Drop a file on desktop to RDP

    I don't understand. This is something you could have figured out yourself in two seconds of trying it out.