The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 matrix from an image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

GiftofGod

Germany
4 Posts

Posted - 11/18/2021 :  08:39:06 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

help with obtaining the matrix from an image e.g. a tif image document.

snowli

USA
1386 Posts

Posted - 11/18/2021 :  08:52:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Which version are you using?

Thanks, Snow
Go to Top of Page

YimingChen

1607 Posts

Posted - 11/18/2021 :  09:18:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can go to menu Data -> Import From File -> Image to Matrix... To view the data in the matrix, you can select menu View -> Data Mode..

James
Go to Top of Page

GiftofGod

Germany
4 Posts

Posted - 11/18/2021 :  09:29:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Which version are you using?

Thanks, Snow



I use OriginPro 2022
Go to Top of Page

GiftofGod

Germany
4 Posts

Posted - 11/18/2021 :  09:48:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

You can go to menu Data -> Import From File -> Image to Matrix... To view the data in the matrix, you can select menu View -> Data Mode..

James



Thanks for your response. Kindly find attached the image.

I obtained the ROI from my initial image, got my matrix data, and made a profile plot also. I will like to manipulate my y-axis i.e. instead of the intensity distribution, I will like to obtain the center of mass. against the pixel value on the x-axis.
Go to Top of Page

YimingChen

1607 Posts

Posted - 11/18/2021 :  2:25:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You mean the peak position along y axis for each x value?

James

Edited by - YimingChen on 11/18/2021 2:25:29 PM
Go to Top of Page

GiftofGod

Germany
4 Posts

Posted - 11/22/2021 :  02:27:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

You mean the peak position along y axis for each x value?

James



Yes
Go to Top of Page

YimingChen

1607 Posts

Posted - 11/22/2021 :  1:58:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I don't see a direct way, here is one possible solution.
1. Convert Matrix to Worksheet. With the matrix activated, select from menu Matrix:Convert to Worksheet.... Make the following settings and click OK. You should get the matrix data in the worksheet with X, Y values.


2. Calculate the peak position for each x. Click the column header name Comments and click the button Insert User Parameter in the mini toolbar. Enter the formula =table(This, col(A), max(This)) and click OK. The formula returns the peak position for the spectrum of each x value.


3. Plot it out. Copy the Peak Position vs X data, and Past Transpose to a new worksheet. Organize the data to plot.


James
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000