IT-LIST Digest 24Topics covered in this issue include:  1) 	by stephan@vega.crbm.cnrs-mop.fr  2) Come on, baby, fix your source	by Bostjan Likar   3) utilib32 missing?	by Robert Smith   4) Solution to DT3155 problems	by Robert O Gappinger   5) Re: utilib32 missing?	by J.Glenn@ee.qub.ac.uk  6) Vacation is Wonderful	by "S. Brent Dove"   7) Counting black and white pixels	by "Emily B. Kim"   8) Re: Counting black and white pixels	by Robert Smith   9) Re: NT/ImageTool running slowly	by "S. Brent Dove"  10) Re: problem to capture image	by "S. Brent Dove"  11) Re: Contrast & Brightness adjustments	by "S. Brent Dove"  12) Re: spatial averaging of gray values	by "S. Brent Dove" ----------------------------------------------------------------------Date: Mon, 17 Jun 1996 10:17:03 +0200From: stephan@vega.crbm.cnrs-mop.frTo: it-list@sparky.uthscsa.eduMessage-ID: <199606170817.KAA09271@vega.crbm.cnrs-mop.fr>I would like to know how i can use IT if i want to analyse electrophoresisgels by densitometry.When i use the Line profil option, the profil of my gel is satured over 255scale gray how can i do to obtain a sharp profil of my gel ?--------------------------------------------------------------------C=E9cile HilaireLaboratoire de M=E9decine Exp=E9rimentaleInstitut de BiologieBoulevard Henri IV34060 MontpellierT=E9l :(33)67.60.11.31Fax :(33)67.60.94.78E-mail : cecile@xerxes.crbm.cnrs-mop.fr------------------------------Date: Tue, 18 Jun 1996 16:14:59 +0200From: Bostjan Likar To: it-list@sparky.uthscsa.eduSubject: Come on, baby, fix your sourceMessage-ID: <31C6B9E3.16D3@vid.fe.uni-lj.si>Hi,it's a pitty, no, it's a shame, to have such a nice code in such a bad condition! Please, do something, our lives depend on it...We were desperately trying to unzip THE ITSDK.ZIP but there were a heap of errors and, at the end, probbably becouse of all those errors, the lack of some essential files.Looking forward for your fix	have a nice holidays	Gashper------------------------------Date: Tue, 18 Jun 1996 12:52:21 -0400From: Robert Smith To: it-list@sparky.uthscsa.eduSubject: utilib32 missing?Message-ID: <1.5.4.32.19960618165221.00677230@curtech.com>>Help  I've been trying to compile the IT source code, wiht the idea of writing aplug-in.  However BC45 gets to the end of its compilation and cannot findutilib\utilib32.lib.  This is not in the .zip (I've downloaded 2x) and Idon't recognise it as something that should already be on my machine.  What/where is it?Bob Smith             .  Robert A. Smith, Ph.D.  _____    .    Vision Systems' Analyst |     |<.      Current Technology, Inc. |_____|   .    (603) 868-2270     ^       .  ras@curtech.com    / \   /   \             .  Robert A. Smith, Ph.D.  _____    .    Vision Systems' Analyst |     |<.      Current Technology, Inc. |_____|   .    (603) 868-2270     ^       .  ras@curtech.com    / \   /   \------------------------------Date: Tue, 18 Jun 1996 16:08:30 -0700 (MST)From: Robert O Gappinger To: it-list@sparky.uthscsa.eduSubject: Solution to DT3155 problemsMessage-ID: The only solution I could come up with for using the DT3155 frame grabber with the DT-Open Layers driver is to actually use Windows 3.1.  Unfortunately, this negates use of IT for aquiring images, however IT can still be used for analysis after saving an image.  I installed Win 3.1 as an MS-DOS program in Win95.  The bare bones 3.1 (minus all extraneous items like network connections, games, etc.) appears as an icon in Win95 and can be used much like the MS-DOS Prompt icon.  Using the Global Lab Acquire software that came with my frame grabber, I can then aquire images and save them.  Exiting Win 3.1 sends me back to Win95 and I can open the saved images in IT for further analysis/manipulation.  This is the only way I've found to use this frame grabber with Win 95 installed as my primary operating system.  If anyone has any better ideas please post them.Robert GappingerOptical Sciences CenterUniversity of Arizona------------------------------Date: Wed, 19 Jun 96 10:16:45 BSTFrom: J.Glenn@ee.qub.ac.ukTo: it-list@sparky.uthscsa.eduSubject: Re: utilib32 missing?Message-ID: <9606190916.AA07027@tesla>Bob,You have had a problem finding utilib\utilib32.lib. Well if you have the file UTILib32.dll you can create the import library. To do this run implib on the shipping UTILib32.dll to create the import library.J.Glenn------------------------------Date: Wed, 19 Jun 1996 16:01:36 -0500 (CDT)From: "S. Brent Dove" To: IT List Subject: Vacation is WonderfulMessage-ID: <01I63K9DSX6I005FRX@uthscsa.edu>Hello ImageTool users,I am sorry not responding to your email but I have been on vacation for a couple of weeks.  Don is about to release a new version of ImageTool which is has been compiled on the new version of Borland C++ 5.0.  We should have it up on the ftp server next week.  We are also getting a update with some bug fixes to the version 1.23.  I hope to respond to some of your posting within the next few days.  Gee its good to be back home.  There's no place like home, there's now place like home. Oh well I guess we're not in Kansas anymore. So long for now.S. Brent Dove                            Voice: (210) 567-3333Diagnostic Sciences                      Fax:   (210) 567-3334University of Texas                      Email: dove@uthscsa.eduHealth Science Center                    Web:   ddsdx.uthscsa.eduSan Antonio, TX    USA                   ftp:   maxrad6.uthscsa.edu------------------------------Date: Thu, 20 Jun 1996 22:02:47 -0700 (PDT)From: "Emily B. Kim" To: it-list@sparky.uthscsa.eduSubject: Counting black and white pixelsMessage-ID: <199606210502.WAA24308@franc.ucdavis.edu>hello all...i'm new to this list so please forgive me if this question hasalready been addressed.  i'd greatly appreciate any help!i have a picture that's black and white.  i basically need to find a ratioof black to white pixels so that i can compare a bunch of these pics.  inphotoshop, the histogram will show you the total number of pixels, plus, ifyou point the mouse over the left and right side of the graph, it will giveyou the number of pixels that are black and the number that are white,respectively (no grays --- 2-bit graphic).  this information really needs togo into a spreadsheet of sorts.  PICTURE 1:  column A --- black pixels;column B --- white pixels; column C --- total pixels; column D --- ratio ofblack pixels to white pixels.  the same for pictures 2, 3, etc.  when i usethe imagetool program and try to use "count black and white pixels" itdoesn't give me those numbers that i mentioned above.  it gives me means andstandard deviations, and i can't figure out on what #'s it's basing thesefigures.  sigh.  perhaps i am misunderstanding what "count black and whitepixels" is doing.  can someone please help me?  thanks!  -emily--Emily B. KimPaper TigerPO Box 74205Davis, CA 95617------------------------------Date: Fri, 21 Jun 1996 12:49:01 -0400From: Robert Smith To: it-list@sparky.uthscsa.eduSubject: Re: Counting black and white pixelsMessage-ID: <1.5.4.32.19960621164901.00671d50@curtech.com>At 12:00 AM 6/21/96 +0600, you wrote:>hello all...i'm new to this list so please forgive me if this question has>already been addressed.  i'd greatly appreciate any help!>>i have a picture that's black and white.  i basically need to find a ratio>of black to white pixels so that i can compare a bunch of these pics.  in>photoshop, the histogram will show you the total number of pixels, plus, if>you point the mouse over the left and right side of the graph, it will give>you the number of pixels that are black and the number that are white,>respectively (no grays --- 2-bit graphic).  this information really needs to>go into a spreadsheet of sorts.  PICTURE 1:  column A --- black pixels;>column B --- white pixels; column C --- total pixels; column D --- ratio of>black pixels to white pixels.  the same for pictures 2, 3, etc.  when i use>the imagetool program and try to use "count black and white pixels" it>doesn't give me those numbers that i mentioned above.  it gives me means and>standard deviations, and i can't figure out on what #'s it's basing these>figures.  sigh.  perhaps i am misunderstanding what "count black and white>pixels" is doing.  can someone please help me?  thanks!  -emily>>-->Emily B. Kim>Paper Tiger>PO Box 74205>Davis, CA 95617>>>Emily:  Pixel counting routines are pretty standard in any Image Processingpackage.  If you don't have such, then IT is a good free IP system.  You candownload it from  http:/ddsdx.uthscsa.edu.Read the instructions; pixel counting is a little complicated but I just didit and so can you.You don't mention what format your images are in.  You may have to convertthem to a format that IT can handle.  Image Alchemy is a good sharewareconversion program which you can download from shareware.com.Good luckBobE             .  Robert A. Smith, Ph.D.  _____    .    Vision Systems' Analyst |     |<.      Current Technology, Inc. |_____|   .    (603) 868-2270     ^       .  ras@curtech.com    / \   /   \------------------------------Date: Fri, 21 Jun 1996 12:00:54 -0500 (CDT)From: "S. Brent Dove" To: IT List Subject: Re: NT/ImageTool running slowlyMessage-ID: <01I664FNNJ8W006NOA@uthscsa.edu>Recently on ITLIST>I installed ImageTool on my 3.51 NT pentium 90 pc with 16mb ram, and it runs >very slowly. What's wrong?We have not had this complaint from any other users.  Make sure that your version of NT is after 3.51 build 1057.S. Brent Dove                            Voice: (210) 567-3333Diagnostic Sciences                      Fax:   (210) 567-3334University of Texas                      Email: dove@uthscsa.eduHealth Science Center                    Web:   ddsdx.uthscsa.eduSan Antonio, TX    USA                   ftp:   maxrad6.uthscsa.edu------------------------------Date: Fri, 21 Jun 1996 12:00:56 -0500 (CDT)From: "S. Brent Dove" To: IT List Subject: Re: problem to capture imageMessage-ID: <01I664FOUO3O006NOA@uthscsa.edu>Recently on ITLIST>Hi, we've been trying to setup Image Tools to work on a PC. I am new at >this and until now I haven't been able to capture any image. I am using a>Color video capture board Assy 200014. This is an older board (1990)>and I haven't been able to get any information on its compatibility with>Windows. Maybe you know something about this video capture board or>can recommend some low cost board already tested on Image Tools.>Thanks.>Gilles LeducAt present the only image capture board supported by ImageTool is the Data Translations DT3155 for Windows NT. Data Translation has recently released their Windows 95 driver for this board and we should have is running under 95 in the next few weeks. We are also trying to get Data Tranlations to let us get the DT3152 supported also.  We are also working on getting the Imaging Technology Inc. MVC-IC PCI board drivers completed.  As you know there are always a million things we would like to get done for ImageTool. We are trying to prioritize our workload the best we can and still keep our regular jobs. So long for now.S. Brent Dove                            Voice: (210) 567-3333Diagnostic Sciences                      Fax:   (210) 567-3334University of Texas                      Email: dove@uthscsa.eduHealth Science Center                    Web:   ddsdx.uthscsa.eduSan Antonio, TX    USA                   ftp:   maxrad6.uthscsa.edu------------------------------Date: Fri, 21 Jun 1996 12:01:07 -0500 (CDT)From: "S. Brent Dove" To: IT List Subject: Re: Contrast & Brightness adjustmentsMessage-ID: <01I664FWZRSS006NOA@uthscsa.edu>Recently on ITLIST>A quick question: when I import about ANY file (even TIFFs) I always run >into the same problem. What I want is to look at my gels, adjust >brightness, contrast etc. Whenever I try to do that, it does not work >The contrast and brightness are greyed out. Once I copy it however, and >then work with the copy the problem is gone. Would it be possible to make >this process more aoutomatic?UTHSCSA ImageTool provides contrast and brightness adjustment on 8 bit grayscale image only. If you load an image which has greater than 8 bits of grey scale or a color image the selections are greyed out.  It may be that once you make a copy it is converted to a standard 8 bit grayscale TIFF image which ImageTool recognizes as being 8 bit grey scale.  Where are these images coming from ie. what application.  Normally this is not a problem, I have opened hundreds of TIFF images with no problem what so ever.  If you continue to have problems maybe you could send an image enclosure to me via email and we could try to investigate what the problem is. Well so long for now.S. Brent Dove                            Voice: (210) 567-3333Diagnostic Sciences                      Fax:   (210) 567-3334University of Texas                      Email: dove@uthscsa.eduHealth Science Center                    Web:   ddsdx.uthscsa.eduSan Antonio, TX    USA                   ftp:   maxrad6.uthscsa.edu------------------------------Date: Fri, 21 Jun 1996 12:00:58 -0500 (CDT)From: "S. Brent Dove" To: IT List Subject: Re: spatial averaging of gray valuesMessage-ID: <01I664FQ2VJE006NOA@uthscsa.edu>Recently on ITLIST>All I need to do using Image Tool is to get a line profile of a selected>portion of the image in the x direction. However, before I do that, I need to>be able to average the gray values in the y direction over a height of say>100 pixels. This procedure is to reduce the noise in the final line profile.>I was playing around with IT for a couple of days but couldn't figure out how>to do the above.The easiest method would be to save the individual line profiles to disk and subsequently load the data into Excel.  You could then perform a column average and the resulting profiles would be averaged, removing the offending noise.  The other method would be to write a simple plugin (DLL) for ImageTool which would call the line profile function repeatedly and perform a running average you could then use the graphics capability of IT to draw the average line profile and save it to disk.  This is what ImageTool was designed to be, a development platform for image processing and analysis.  We are currently developing a macro langauge like NIH Image which would allow you to create an operation like the one you described without having to compile a DLL but rather create a text file which would then be interpreted by ImageTool and executed.  This is a rather complex and difficult task, it is basically creating another programming language specific for our application.  It may take us many months to develop this sophisticated language.  If you need this funtionality now you will need to perform these manuals steps or use a conventional program language like Pascal, Delphi, C or C++ to compile a DLL.  I hope that this clarifies the issue for ImageTool users and gives you a hint of where we are going to take UTHSCSA ImageTool in the future.S. Brent Dove                            Voice: (210) 567-3333Diagnostic Sciences                      Fax:   (210) 567-3334University of Texas                      Email: dove@uthscsa.eduHealth Science Center                    Web:   ddsdx.uthscsa.eduSan Antonio, TX    USA                   ftp:   maxrad6.uthscsa.edu------------------------------End of IT-LIST Digest 24