NickB

About

Username
NickB
Joined
Visits
73
Last Active
Roles
Administrator

Comments

  • Hi Daniel, It looks like your message never received an answer. Did you ever figure this out? If not, we'd be happy to help as this is actually very doable in Image-Pro Premier 3D, you just need to know where to look. Sorry that your question was m…
  • (Originally posted by YuriG on 1/23/2008) You can also use Pseudo color for that. Just activate macro recording and adjusting pseudo-color check the recorded macro.
  • (Originally posted by Ginny on 1/19/2008) I have another question related to this one. I want to show a dF/F figure that is normalized to the maximum F response in the image. For example, if dF/Fo is 3%, I want the red in a pseudocolored ima…
  • (Originally posted by Paul on 12/12/2007) If you are performing the subtraction using the Image Operations tool, you can shift the pixel range by putting some value in the "Add to result:[___]" box. If you are doing this via a macro, the s…
  • (Originally posted by KevinR on 1/15/2008) Change the integer values, you have changed the FFT data. Invert the FFT and your FFT data will carry those modifications back to the inverted image. Apply math to the spectra, you have changed the F…
  • (Originally posted by Neelam on 1/14/2008) If I want the FFT data to be changed(as after maths operations on FFT data) while using integer values is there some way to this.  
  • (Originally posted by KevinR on 1/14/2008) No - all changes to the displayed image are reflected in the FFT data, whether you are operating on an integer or floating point display. An integer display does limit processing to some extent, with…
  • (Originally posted by Neelam on 1/11/2008) Thanks for the information. Does that implies that if I have FFT with integer values( generated with Spectrum(Integer) option) then if I do mathematics, I will not see the changes reflected on the i…
  • (Originally posted by KevinR on 1/11/2008) I would suggest converting to a floating point image (in the FFT Options), performing your work there, and then performing the inverse transform. A FFT produces complex data (real and imaginary), tw…
  • (Originally posted by KevinR on 1/14/2008) I would endorse following the previous suggestion - Extract the color channels and perform whatever math you wish on those. It will use more memory, but a few copies of 1280x1024 images doesn't add …
  • (Originally posted by YuriG on 1/11/2008) The ranges on the IpDocGetArea & IpDocPutArea are hard to get right. The dimensions should look like: ReDim ImBuf(Reg.Left*3 To (Reg.Right*3+2),Reg.top To Reg.bottom) As Integer The width need…
  • (Originally posted by YuriG on 12/3/2007) You must also use MODELESS flag, so it will look like 0x0480.  
  • (Originally posted by tlee on 12/3/2007) Hi Yuri, My apologies, I should have been more explicit. I had previously changed the menu: columnbegin &Demo item Demo, Invoke Demo, SDKTest, 0x0400, 1 endcolumn And in InterfaceFunction added: switc…
  • (Originally posted by YuriG on 12/3/2007) You can add STARTUP flag (0x400) to the menu item, so the plugin will be called at IPP startup time. Check "Bit Flag Options" page of SDK help for more details.  
  • (Originally posted by YuriG on 11/15/2007) You can also load outlines on the binary image and measure Density (mean), which will give you thresholded area percentage per object in range from 0 to 255 (0 - 0%, 255 - 100%). If you still want t…
  • (Originally posted by jch on 11/14/2007) One way to get the "thresholded area" is to measure the density (sum) for each object. Since you've already got the outlines copied over to your thresholded image, all you need to do is go to the Coun…
  • (Originally posted by gjermund on 10/15/2007) Thanks! The advice was just what I needed! I now have a macro that does all the neccessary calculations from the four points.
  • (Originally posted by KevinR on 10/8/2007) Here's a few useful IpBasic routines for this sort of calculation. OffsetToAngle( ) converts an X and Y distance (from the differences between two points, for example) into an angle. TrimAngle is a u…
  • (Originally posted by KevinR on 10/3/2007) The simplest way would be to prompt the user to draw the polygon using either the AOI or annotation tool, then look at the points in the polygon and calculate the geometric properties thereof. I wo…
  • (Originally posted by KevinR on 10/8/2007) Good question, Tracy. Any number of folks wish to run the same code on multiple images, and we've tried to support that. An excellent starting point would be the Batch_Process.ipm macro distributed w…
  • (Originally posted by KevinR on 9/25/2007) The Align Images functionality is in a higher level DLL, supporting IpAlign( ). There are no plans to push this down to HAIL.
  • (Originally posted by August on 9/25/2007) Thanks for your help Yuri! I try to recreate the numerous projects created in language AutoPro, on a low-order functions, for their best productivity and flexibility. Whether it is planned to …
  • (Originally posted by YuriG on 9/25/2007) Though there is one undocumented function, which can be used to filter image defined by IMHANDLE: Declare Function LargeFlt Lib "IPLRG32" (ByVal ihImage As Integer, ByVal fltType As LSF_TYPES, ByVal wid…
  • (Originally posted by YuriG on 8/15/2007) You have to use Integer type for line buffer (you used Byte). Please test the following macro that inverts red channel of the active image: Sub InvertRedChannel() Dim i As Integer Dim j As Int…
  • (Originally posted by Rik on 6/20/2007) Thanks Yuri, I think I found the problem (maybe someone else encounters the same problem in the future). I used this script to remove the columns as stated above: IpDcUpdate(DC_RESET) '<- this line…
  • (Originally posted by YuriG on 6/20/2007) Hi Rik, I found old macro and tested it in IPP6.2. It adds and deletes custom columns correctly. Sub MyDataCollect() Dim ColN(120) As Long ' variables to hold the column IDs …
  • (Originally posted by KevinR on 6/12/2007) You can use the "IpAppRestore( )" function for this. This can be an additional button on the dialog, or checked when you do something else in the dialog. See the code below:   ' Restore applicat…
  • (Originally posted by YuriG on 3/19/2007) You can use: ret = IpSegSetRange(0, 20000, 65535)
  • (Originally posted by KevinR on 2/26/2007) Try the following: Function GetDirectory() As String Dim dirName As String, destName As String Dim demarkation As Integer GetDirectory = "" dirName = GetFilePath("Destination folder", "", "…
  • (Originally posted by YuriG on 2/2/2007) I checked the code. The array must be long integer. The following test macro works correctly in IPBasic: Declare Function FltClosing Lib "HALFLT32" (ByVal hVriInst As Long, ByRef Shapes As Long, ByVal …