Month: July 2024
IOT device event twin change detect
What are the ways to catch IOT device event twin change in azure? I want to send notification or execute something like function app, when device twin event occur and reported property get change. I am using .net 8 and azure.
let me know all possible ways.
Thanks,
Bhavin Bhesaniya.
What are the ways to catch IOT device event twin change in azure? I want to send notification or execute something like function app, when device twin event occur and reported property get change. I am using .net 8 and azure.let me know all possible ways.Thanks,Bhavin Bhesaniya. Read More
Timestamps updating whenever I open excel
Hi, I am trying to create a time stamp so I can track how long a project takes to go from one step to another.
After formulas failed I went to VBA. I inserted a module with the code:
Function MyTimestamp(Reference As Range)
If Reference.Value <> “” Then
MyTimestamp = Format(Now, “mm/dd/yyyy hh:mm:ss”)
Else
MyTimestamp = “”
End If
End Function
This works great except whenever I close the excel file and reopen it all the timestamps update to the current date and time.
Is there a formula I can use that will not do this?
Hi, I am trying to create a time stamp so I can track how long a project takes to go from one step to another. After formulas failed I went to VBA. I inserted a module with the code: Function MyTimestamp(Reference As Range)If Reference.Value <> “” ThenMyTimestamp = Format(Now, “mm/dd/yyyy hh:mm:ss”)ElseMyTimestamp = “”End IfEnd Function This works great except whenever I close the excel file and reopen it all the timestamps update to the current date and time. Is there a formula I can use that will not do this? Read More
Future of IIS
What is the future of IIS? It seems like it hasn’t been updated since Windows Server 2019 came out. Is there a roadmap for IIS?
What is the future of IIS? It seems like it hasn’t been updated since Windows Server 2019 came out. Is there a roadmap for IIS? Read More
Question on DHCP and DNS
HI all, we have on prem Windows server
1 server = 2019 standard
1 server = 2016 standard
I’m in the process of moving everything over from the 2016 server to the 2019 server. User files and home directories. However it looks like 2016 server is doing DNS and DHCP. I am wondering if this can be replicated to the 2019 server, or if DHCP and DNS is going to have to be moved.
Looks like there are 2 servers doing dhcp, but not the one I want to have DHCP on. In this list below, the first entry is an external address. Not sure what that is
HI all, we have on prem Windows server1 server = 2019 standard1 server = 2016 standard I’m in the process of moving everything over from the 2016 server to the 2019 server. User files and home directories. However it looks like 2016 server is doing DNS and DHCP. I am wondering if this can be replicated to the 2019 server, or if DHCP and DNS is going to have to be moved. Looks like there are 2 servers doing dhcp, but not the one I want to have DHCP on. In this list below, the first entry is an external address. Not sure what that is Read More
Azure Lab Plan Core Increase Leading to 2027
With the recently announced shutdown of Azure Lab Services for 2027, and the blocking of creating NEW lab plans, will core quota increases still be available for existing lab plans?
With the recently announced shutdown of Azure Lab Services for 2027, and the blocking of creating NEW lab plans, will core quota increases still be available for existing lab plans? Read More
Unable to get authentication token for submitting Universal Print print job
Hi,
I’m trying to get the authentication token from the UP server so I can create and submit a print job to a printer share. I’m using the authority and redirect URIs, along with the client ID, from the GetAADToken.cs code (microsoft-cups fork) but after signing in, with an account that has UP access, the only thing that happens is an empty file named ‘nativeclient’ is downloaded, no token is generated and the browser window doesn’t close. When I close the browser window I get an error back indicating the request was cancelled.
Is it possible to acquire a token from macOS in a third party app so jobs can be submitted directly to a Universal Print printer share?
Thanks,
Dave
Hi, I’m trying to get the authentication token from the UP server so I can create and submit a print job to a printer share. I’m using the authority and redirect URIs, along with the client ID, from the GetAADToken.cs code (microsoft-cups fork) but after signing in, with an account that has UP access, the only thing that happens is an empty file named ‘nativeclient’ is downloaded, no token is generated and the browser window doesn’t close. When I close the browser window I get an error back indicating the request was cancelled. Is it possible to acquire a token from macOS in a third party app so jobs can be submitted directly to a Universal Print printer share? Thanks,Dave @Braeden_Petruk_MSFT Read More
Customer review: Signly made banking easier for deaf customers
Signly, an app published in Microsoft Azure Marketplace, helps businesses go beyond compliance to truly foster inclusion of deaf people. Signly captures clients’ website content and has it swiftly translated by experts in sign language. If a signed version of a page is not already available, deaf users can request one.
Microsoft interviewed Kathryn Townsend, Head of Customer Accessibility at Nationwide Building Society, a large cooperative financial institution in England, to learn what she had to say about the product.
What do you like best about Signly?
In the United Kingdom, British Sign Language (BSL) is the first language for around 87,000 deaf people, a figure deaf experts estimate is very conservative. BSL is a distinct language with its own vocabulary and sentence structure. English is often not a second, or even a third language, for BSL users. This can mean written communications are often hard to understand, if not impossible. There is an ever-increasing reliance on digital solutions to manage our day-to-day lives, which requires reading English. For people who have BSL as their first language and who find written English hard to understand, managing personal finances can be almost impossible.
Banking webpages are full of text, and for customers who struggle to read written English, this can present a barrier. This might lead to BSL users relying on friends and families to translate wording, which could undermine financial independence. At Nationwide, we understand that providing accessible banking is vital to ensure people maintain financial independence wherever possible. Our website holds key information customers need to either find product information or access support. We want to ensure that our services are as inclusive as possible, and making our webpages accessible to BSL users is a key part of that.
Signly translates web content into BSL, which enables deaf customers to easily and accessibly read in their first language. Users can be confident that website content is continually monitored so translations stay true to text. Signly will transform the banking experience for many people, providing a solution to enable access to our website and the ability to bank independently.
How has Signly helped your organization?
The implementation of this initiative has raised awareness for colleagues across Nationwide of the needs of BSL users, resulting in an enhanced user experience when accessing Nationwide’s products and services. The service has also raised the profile of Nationwide’s focus on accessibility among other financial firms, prompting discussions in industry working groups around available solutions.
How are customer service and support?
It’s been great to work with the Signly team. Teams from both organizations worked together to ensure the solution was suitable for our website. Signly was proactive and collaborative in overcoming any difficulties. Though a small team, they were efficient and quick in their response to queries. It felt like we were working toward a shared goal.
Any recommendations to other users considering this product?
Signly already partners with a number of organizations, so we could see the service in action and how it might benefit customers. We also discussed it with people with lived experience and deaf charities to gain an understanding of how this service would help them.
We have learned that when all stakeholders have a common goal and purpose, no problem is insurmountable. A great many people worked on this solution from both Nationwide and Signly; teamwork and strong communication were essential, especially when a new issue or problem came to the table. The willingness and collaboration on both sides meant we were able to overcome any challenges that were faced.
This is a great opportunity to bring colleagues in your business along on the accessibility and inclusion journey. It is a fantastic way of raising awareness of the deaf community and the difference tech solutions can make to the deaf community.
What is your overall rating for this product?
5 out of 5 stars.
Cloud marketplaces are transforming the way businesses find, try, and deploy applications to help their digital transformation. Learn more about Azure Marketplace and find ways to discover the right application for your cloud solution needs.
To read this review in sign language, please scan the QR code:
Microsoft Tech Community – Latest Blogs –Read More
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression containing symbolic variables into double array. Apply ‘subs’ function first to substitute values for variables.
Hi! I am trying to plot a fourier function by using fplot but I am getting the following error.
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression containing symbolic variables into double array.
Apply ‘subs’ function first to substitute values for variables.
syms f(t) g(t) w;
x=@(t)heaviside(exp(-20*t));
h=@(t) heaviside(12.*t.*exp(55*t));
xf=vpa(fourier(f,t,w));
hf=vpa(fourier(g,t,w));
fplot(@(w) abs(hf), [-20*pi 20*pi])Hi! I am trying to plot a fourier function by using fplot but I am getting the following error.
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression containing symbolic variables into double array.
Apply ‘subs’ function first to substitute values for variables.
syms f(t) g(t) w;
x=@(t)heaviside(exp(-20*t));
h=@(t) heaviside(12.*t.*exp(55*t));
xf=vpa(fourier(f,t,w));
hf=vpa(fourier(g,t,w));
fplot(@(w) abs(hf), [-20*pi 20*pi]) Hi! I am trying to plot a fourier function by using fplot but I am getting the following error.
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression containing symbolic variables into double array.
Apply ‘subs’ function first to substitute values for variables.
syms f(t) g(t) w;
x=@(t)heaviside(exp(-20*t));
h=@(t) heaviside(12.*t.*exp(55*t));
xf=vpa(fourier(f,t,w));
hf=vpa(fourier(g,t,w));
fplot(@(w) abs(hf), [-20*pi 20*pi]) fplot MATLAB Answers — New Questions
What is the Legacy version of Matlab ?
I want to know legacy version of Matlab !I want to know legacy version of Matlab ! I want to know legacy version of Matlab ! legacy versions MATLAB Answers — New Questions
A MATLAB license for an individual researcher
Hi,
Since I faced some non-consistent answers in relevant MathWorks forums [1-3] I would like to clarify a few doubts I have regarding MATLAB licensing. I defended my PhD two years ago. As of now, I am no longer associated with any university or company using MATLAB. As a hobbyist, in my spare time I work individually on some non-commercial computer science research projects. I plan to publish the obtained simulation results and parts of MATLAB code in two research papers and a book (containing my PhD thesis with minor improvements).
Is the MATLAB Home license sufficient for my needs? The commercial license seems way too expensive and irrelevant in this case (not earning money), and for the academic license, I guess I would need to be an "degree-granting institute" which I am not. I would also like to avoid rewriting all scripts I wrote during my PhD research to Python or Octave.
What is the actual MATLAB usage covered in licenses? Some time ago on the MATLAB website https://www.mathworks.com/pricing-licensing.html?prodcode=ML&intendeduse=home it was mentioned that one was not able to do research and publish results using MATLAB Home. I can’t see this note anymore. Now there is only "For personal use only. This license option is not for government, academic, commercial, or other organizational use". So, can I publish results (e.g. using the MATLAB plots)? Or can I publish MATLAB code only? Or can I only run such code? I can find plenty of blogs with hobbysts’ projects in the Internet using MATLAB, fully documented, so the "hobbyist" term remains not clear to me. For instance, if I write a C++ library under the Apache/MIT license which do some FFT computations under the hood, will I be able to use MATLAB Home just to verify solutions numerically?
Sincerely,
Mariusz M.
[1] https://www.mathworks.com/matlabcentral/answers/376174-how-to-get-permission-to-publish-my-matlab-programs
[2] https://www.mathworks.com/matlabcentral/answers/388329-what-a-license-i-need-to-publish-my-program-in-an-internet-site?s_tid=answers_rc1-3_p3_Topic
[3] https://www.mathworks.com/matlabcentral/answers/349000-does-a-home-license-allow-for-research-and-publishing-results-technical-papers-as-an-individual-o#answer_274396Hi,
Since I faced some non-consistent answers in relevant MathWorks forums [1-3] I would like to clarify a few doubts I have regarding MATLAB licensing. I defended my PhD two years ago. As of now, I am no longer associated with any university or company using MATLAB. As a hobbyist, in my spare time I work individually on some non-commercial computer science research projects. I plan to publish the obtained simulation results and parts of MATLAB code in two research papers and a book (containing my PhD thesis with minor improvements).
Is the MATLAB Home license sufficient for my needs? The commercial license seems way too expensive and irrelevant in this case (not earning money), and for the academic license, I guess I would need to be an "degree-granting institute" which I am not. I would also like to avoid rewriting all scripts I wrote during my PhD research to Python or Octave.
What is the actual MATLAB usage covered in licenses? Some time ago on the MATLAB website https://www.mathworks.com/pricing-licensing.html?prodcode=ML&intendeduse=home it was mentioned that one was not able to do research and publish results using MATLAB Home. I can’t see this note anymore. Now there is only "For personal use only. This license option is not for government, academic, commercial, or other organizational use". So, can I publish results (e.g. using the MATLAB plots)? Or can I publish MATLAB code only? Or can I only run such code? I can find plenty of blogs with hobbysts’ projects in the Internet using MATLAB, fully documented, so the "hobbyist" term remains not clear to me. For instance, if I write a C++ library under the Apache/MIT license which do some FFT computations under the hood, will I be able to use MATLAB Home just to verify solutions numerically?
Sincerely,
Mariusz M.
[1] https://www.mathworks.com/matlabcentral/answers/376174-how-to-get-permission-to-publish-my-matlab-programs
[2] https://www.mathworks.com/matlabcentral/answers/388329-what-a-license-i-need-to-publish-my-program-in-an-internet-site?s_tid=answers_rc1-3_p3_Topic
[3] https://www.mathworks.com/matlabcentral/answers/349000-does-a-home-license-allow-for-research-and-publishing-results-technical-papers-as-an-individual-o#answer_274396 Hi,
Since I faced some non-consistent answers in relevant MathWorks forums [1-3] I would like to clarify a few doubts I have regarding MATLAB licensing. I defended my PhD two years ago. As of now, I am no longer associated with any university or company using MATLAB. As a hobbyist, in my spare time I work individually on some non-commercial computer science research projects. I plan to publish the obtained simulation results and parts of MATLAB code in two research papers and a book (containing my PhD thesis with minor improvements).
Is the MATLAB Home license sufficient for my needs? The commercial license seems way too expensive and irrelevant in this case (not earning money), and for the academic license, I guess I would need to be an "degree-granting institute" which I am not. I would also like to avoid rewriting all scripts I wrote during my PhD research to Python or Octave.
What is the actual MATLAB usage covered in licenses? Some time ago on the MATLAB website https://www.mathworks.com/pricing-licensing.html?prodcode=ML&intendeduse=home it was mentioned that one was not able to do research and publish results using MATLAB Home. I can’t see this note anymore. Now there is only "For personal use only. This license option is not for government, academic, commercial, or other organizational use". So, can I publish results (e.g. using the MATLAB plots)? Or can I publish MATLAB code only? Or can I only run such code? I can find plenty of blogs with hobbysts’ projects in the Internet using MATLAB, fully documented, so the "hobbyist" term remains not clear to me. For instance, if I write a C++ library under the Apache/MIT license which do some FFT computations under the hood, will I be able to use MATLAB Home just to verify solutions numerically?
Sincerely,
Mariusz M.
[1] https://www.mathworks.com/matlabcentral/answers/376174-how-to-get-permission-to-publish-my-matlab-programs
[2] https://www.mathworks.com/matlabcentral/answers/388329-what-a-license-i-need-to-publish-my-program-in-an-internet-site?s_tid=answers_rc1-3_p3_Topic
[3] https://www.mathworks.com/matlabcentral/answers/349000-does-a-home-license-allow-for-research-and-publishing-results-technical-papers-as-an-individual-o#answer_274396 license, research, home MATLAB Answers — New Questions
“selection contains cells with error”
Hello, maybe someone knows the solution ? my user has this strange errors in big SharePoint list, when type any amount. This issue is only for one user, not replicable on other PC. She uses Edge to open it, and this issue started suddenly.
Thank you
Hello, maybe someone knows the solution ? my user has this strange errors in big SharePoint list, when type any amount. This issue is only for one user, not replicable on other PC. She uses Edge to open it, and this issue started suddenly. Thank you Read More
Is there a plan to deprecate MDC Secure score and classic recommendations
With new Risk-based recommendations in place and old recommendations going into classic view, is there a plan to deprecate the MDC Secure score and classic recommendations?
The Secure score of MDC is kind of misleading for business leaders, rather, the new approach of risk-based recommendation is better. If there is no Defender for CSPM then that should also be highlighted
With new Risk-based recommendations in place and old recommendations going into classic view, is there a plan to deprecate the MDC Secure score and classic recommendations?The Secure score of MDC is kind of misleading for business leaders, rather, the new approach of risk-based recommendation is better. If there is no Defender for CSPM then that should also be highlighted Read More
Need to overrule existing meetings in the calendar
My team would like Microsoft Bookings to overrule already existing meetings in the calendar, so that more available timeslots show in the booking page for potential participants. I realise the need is deviating normal use. However, is that possible? if so, where can we find this option? as for us researchers it’s the highest priority over any other meetings in our calendar.
My team would like Microsoft Bookings to overrule already existing meetings in the calendar, so that more available timeslots show in the booking page for potential participants. I realise the need is deviating normal use. However, is that possible? if so, where can we find this option? as for us researchers it’s the highest priority over any other meetings in our calendar.for example I would be available all day, however due to existing meetings nobody can book outside the hours that are shown Read More
How do I copy tasks in a Project Kanban?
How do I copy tasks in a Project Kanban? I want to create a template task and then copy it multiple times and then edit each task.
How do I copy tasks in a Project Kanban? I want to create a template task and then copy it multiple times and then edit each task. Read More
Quicklinks Webpart Image Misalignment and Scaling
Hi there,
We have a lot of Quicklinks on a SharePoint Modern Hub Site and I have thematically grouped them by colour to make the user experience cleaner (e.g. all the IT Quicklinks are grouped together in blue).
Ideally, I would like to edit the groups of buttons themselves because our corporate colour is red and all red buttons are quite intense. Because I can’t edit the colour of the buttons themselves (as they inherit the theme palette), I’ve created individual image buttons and uploaded them. In the image attached, you can see a SharePoint button (spend request) and an image upload (Wiki).
I am having two problems:
1. When I select to fit the image to button, it actually creates an image that is larger than the original button. Therefore, the blue image buttons are larger than the red SharePoint buttons. This is causing alignment issues and means that the dynamic resizing of the page for different displays don’t match. I have read through the Microsoft pages for image sizes and matched those. I’ve also tried multiple variations increasing the height and/ or width (I have 14 versions of the same button) but I’m still not seeing the size represented correctly.
2. There is a thin red line of pixels below each button when the scaling of the page is anything different to 100%. This is only present on the Safari browser but, as many of our users have Safari on their Mac devices and mobile phones (it offers a more secure and integrated experience), we do not want them shifting to Google Chrome.
Hi there,We have a lot of Quicklinks on a SharePoint Modern Hub Site and I have thematically grouped them by colour to make the user experience cleaner (e.g. all the IT Quicklinks are grouped together in blue).Ideally, I would like to edit the groups of buttons themselves because our corporate colour is red and all red buttons are quite intense. Because I can’t edit the colour of the buttons themselves (as they inherit the theme palette), I’ve created individual image buttons and uploaded them. In the image attached, you can see a SharePoint button (spend request) and an image upload (Wiki).I am having two problems:1. When I select to fit the image to button, it actually creates an image that is larger than the original button. Therefore, the blue image buttons are larger than the red SharePoint buttons. This is causing alignment issues and means that the dynamic resizing of the page for different displays don’t match. I have read through the Microsoft pages for image sizes and matched those. I’ve also tried multiple variations increasing the height and/ or width (I have 14 versions of the same button) but I’m still not seeing the size represented correctly.2. There is a thin red line of pixels below each button when the scaling of the page is anything different to 100%. This is only present on the Safari browser but, as many of our users have Safari on their Mac devices and mobile phones (it offers a more secure and integrated experience), we do not want them shifting to Google Chrome. Read More
Getting Error while loading SharePoint site particular folder
Hello
Please i need your help on this issue.
We are getting Error while loading SharePoint site particular folder
Hello Please i need your help on this issue. We are getting Error while loading SharePoint site particular folder Read More
Issue with inviting people to Teams meeting
Hi. We have recently created an enterprise Azure account with Entra licences and are piloting MS Teams, with a view to rolling this out to all staff next month. Azure is synched with our on-prem AD. Currently we have asked out ICT Unit to install Teams (though some are on leave right now).
Our AD users’ Display Names are usually saved in the format “Surname, Forename” and their AD Description is saved in the format “Forename_Surname”. (No, I don’t know why, either!)
When I go to invite users to a Teams meeting, and begin typing a forename – e.g., Maria – it will bring back two results that I can click on:
Surname1, Maria – with their Description and Job Title (taken from AD) on the line below;a (random?) string of letters, numbers and dashes, e.g., ene34k56-3lkj9-kc34-23431m345m66 – with their Description on the line below (Job Title is not present, but is recorded in AD)
Entering a more common name in the invite field, e.g., John, brings back 11 results (correct), but again they’re a mixture of Surname, Forename on the first line with correct Description and Job Title on the second line; or a random string of letters/numbers with correct name on the second line, and no Job Title.
It’s also bringing back administrator accounts, which do not have associated mailboxes and have not been set up on Teams.
I can’t roll out Teams on a wider basis while this is happening. Any help appreciated.
Hi. We have recently created an enterprise Azure account with Entra licences and are piloting MS Teams, with a view to rolling this out to all staff next month. Azure is synched with our on-prem AD. Currently we have asked out ICT Unit to install Teams (though some are on leave right now). Our AD users’ Display Names are usually saved in the format “Surname, Forename” and their AD Description is saved in the format “Forename_Surname”. (No, I don’t know why, either!) When I go to invite users to a Teams meeting, and begin typing a forename – e.g., Maria – it will bring back two results that I can click on: Surname1, Maria – with their Description and Job Title (taken from AD) on the line below;a (random?) string of letters, numbers and dashes, e.g., ene34k56-3lkj9-kc34-23431m345m66 – with their Description on the line below (Job Title is not present, but is recorded in AD) Entering a more common name in the invite field, e.g., John, brings back 11 results (correct), but again they’re a mixture of Surname, Forename on the first line with correct Description and Job Title on the second line; or a random string of letters/numbers with correct name on the second line, and no Job Title. It’s also bringing back administrator accounts, which do not have associated mailboxes and have not been set up on Teams. I can’t roll out Teams on a wider basis while this is happening. Any help appreciated. Read More
TIFF save file not working
Hello, I have a 32bit grayscale tiff image composed by 41 slices.
I’m saving file always as a stack but it dont works:
Error using Tiff/writeAllStrips
Unable to retrieve ImageLength.
Error in Tiff/write (line 1486)
obj.writeAllStrips(varargin{:});
This is the portion of code
% salva il nuovo file con lo stesso nome ma aggiungendo "modified"
newFilename = fullfile(folder, [fileList(i).name(1:end-4) ‘_modified.tif’]);
t = Tiff(newFilename, ‘w’);
% ottieni le informazioni dalla prima immagine dello stack originale
info = imfinfo(filename);
disp(info(1))
% tagstruct.ImageLength = size(newStack(:,:,1),1);
% tagstruct.ImageWidth = size(newStack(:,:,1),2);
% tagstruct.Photometric = Tiff.Photometric.MinIsBlack;
% tagstruct.BitsPerSample = 32;
% tagstruct.SamplesPerPixel = 1;
% tagstruct.RowsPerStrip = 16;
% tagstruct.PlanarConfiguration = Tiff.PlanarConfiguration.Chunky;
% tagstruct.Software = ‘MATLAB’;
% imposta le informazioni nella nuova immagine Tiff
t.setTag(‘Photometric’, 1);
t.setTag(‘Compression’, 1); % 1 = nessuna compressione, 8 = compressione Deflate
t.setTag(‘BitsPerSample’, info(1).BitsPerSample);
t.setTag(‘SamplesPerPixel’, info(1).SamplesPerPixel);
t.setTag(‘SampleFormat’, Tiff.SampleFormat.UInt);
t.setTag(‘ImageLength’, info(1).Height);
t.setTag(‘ImageWidth’, info(1).Width);
t.setTag(‘PlanarConfiguration’, Tiff.PlanarConfiguration.Chunky);
for j = 1:numImages
%t.setTag(info(j)); % commenta questa riga per testare se il problema è qui
t.write(newStack(:,:,j));
t.writeDirectory();
end
t.close();
This is iminfo of source file
FileModDate: ’30-dic-2022 09:47:14′
FileSize: 492005745
Format: ‘tif’
FormatVersion: []
Width: 2000
Height: 1500
BitDepth: 32
ColorType: ‘grayscale’
FormatSignature: [77 77 0 42]
ByteOrder: ‘big-endian’
NewSubFileType: 0
BitsPerSample: 32
Compression: ‘Uncompressed’
PhotometricInterpretation: ‘BlackIsZero’
StripOffsets: 225
SamplesPerPixel: 1
RowsPerStrip: 1500
StripByteCounts: 12000000
XResolution: []
YResolution: []
ResolutionUnit: ‘Inch’
Colormap: []
PlanarConfiguration: ‘Chunky’
TileWidth: []
TileLength: []
TileOffsets: []
TileByteCounts: []
Orientation: 1
FillOrder: 1
GrayResponseUnit: 0.0100
MaxSampleValue: 4.2950e+09
MinSampleValue: 0
Thresholding: 1
Offset: 8
ImageDescription: ‘ImageJ=1.53n↵images=41↵slices=41↵loop=false↵min=0.0↵max=1.401298464324817E-45↵’
SampleFormat: ‘IEEE floating point’
Many thanksHello, I have a 32bit grayscale tiff image composed by 41 slices.
I’m saving file always as a stack but it dont works:
Error using Tiff/writeAllStrips
Unable to retrieve ImageLength.
Error in Tiff/write (line 1486)
obj.writeAllStrips(varargin{:});
This is the portion of code
% salva il nuovo file con lo stesso nome ma aggiungendo "modified"
newFilename = fullfile(folder, [fileList(i).name(1:end-4) ‘_modified.tif’]);
t = Tiff(newFilename, ‘w’);
% ottieni le informazioni dalla prima immagine dello stack originale
info = imfinfo(filename);
disp(info(1))
% tagstruct.ImageLength = size(newStack(:,:,1),1);
% tagstruct.ImageWidth = size(newStack(:,:,1),2);
% tagstruct.Photometric = Tiff.Photometric.MinIsBlack;
% tagstruct.BitsPerSample = 32;
% tagstruct.SamplesPerPixel = 1;
% tagstruct.RowsPerStrip = 16;
% tagstruct.PlanarConfiguration = Tiff.PlanarConfiguration.Chunky;
% tagstruct.Software = ‘MATLAB’;
% imposta le informazioni nella nuova immagine Tiff
t.setTag(‘Photometric’, 1);
t.setTag(‘Compression’, 1); % 1 = nessuna compressione, 8 = compressione Deflate
t.setTag(‘BitsPerSample’, info(1).BitsPerSample);
t.setTag(‘SamplesPerPixel’, info(1).SamplesPerPixel);
t.setTag(‘SampleFormat’, Tiff.SampleFormat.UInt);
t.setTag(‘ImageLength’, info(1).Height);
t.setTag(‘ImageWidth’, info(1).Width);
t.setTag(‘PlanarConfiguration’, Tiff.PlanarConfiguration.Chunky);
for j = 1:numImages
%t.setTag(info(j)); % commenta questa riga per testare se il problema è qui
t.write(newStack(:,:,j));
t.writeDirectory();
end
t.close();
This is iminfo of source file
FileModDate: ’30-dic-2022 09:47:14′
FileSize: 492005745
Format: ‘tif’
FormatVersion: []
Width: 2000
Height: 1500
BitDepth: 32
ColorType: ‘grayscale’
FormatSignature: [77 77 0 42]
ByteOrder: ‘big-endian’
NewSubFileType: 0
BitsPerSample: 32
Compression: ‘Uncompressed’
PhotometricInterpretation: ‘BlackIsZero’
StripOffsets: 225
SamplesPerPixel: 1
RowsPerStrip: 1500
StripByteCounts: 12000000
XResolution: []
YResolution: []
ResolutionUnit: ‘Inch’
Colormap: []
PlanarConfiguration: ‘Chunky’
TileWidth: []
TileLength: []
TileOffsets: []
TileByteCounts: []
Orientation: 1
FillOrder: 1
GrayResponseUnit: 0.0100
MaxSampleValue: 4.2950e+09
MinSampleValue: 0
Thresholding: 1
Offset: 8
ImageDescription: ‘ImageJ=1.53n↵images=41↵slices=41↵loop=false↵min=0.0↵max=1.401298464324817E-45↵’
SampleFormat: ‘IEEE floating point’
Many thanks Hello, I have a 32bit grayscale tiff image composed by 41 slices.
I’m saving file always as a stack but it dont works:
Error using Tiff/writeAllStrips
Unable to retrieve ImageLength.
Error in Tiff/write (line 1486)
obj.writeAllStrips(varargin{:});
This is the portion of code
% salva il nuovo file con lo stesso nome ma aggiungendo "modified"
newFilename = fullfile(folder, [fileList(i).name(1:end-4) ‘_modified.tif’]);
t = Tiff(newFilename, ‘w’);
% ottieni le informazioni dalla prima immagine dello stack originale
info = imfinfo(filename);
disp(info(1))
% tagstruct.ImageLength = size(newStack(:,:,1),1);
% tagstruct.ImageWidth = size(newStack(:,:,1),2);
% tagstruct.Photometric = Tiff.Photometric.MinIsBlack;
% tagstruct.BitsPerSample = 32;
% tagstruct.SamplesPerPixel = 1;
% tagstruct.RowsPerStrip = 16;
% tagstruct.PlanarConfiguration = Tiff.PlanarConfiguration.Chunky;
% tagstruct.Software = ‘MATLAB’;
% imposta le informazioni nella nuova immagine Tiff
t.setTag(‘Photometric’, 1);
t.setTag(‘Compression’, 1); % 1 = nessuna compressione, 8 = compressione Deflate
t.setTag(‘BitsPerSample’, info(1).BitsPerSample);
t.setTag(‘SamplesPerPixel’, info(1).SamplesPerPixel);
t.setTag(‘SampleFormat’, Tiff.SampleFormat.UInt);
t.setTag(‘ImageLength’, info(1).Height);
t.setTag(‘ImageWidth’, info(1).Width);
t.setTag(‘PlanarConfiguration’, Tiff.PlanarConfiguration.Chunky);
for j = 1:numImages
%t.setTag(info(j)); % commenta questa riga per testare se il problema è qui
t.write(newStack(:,:,j));
t.writeDirectory();
end
t.close();
This is iminfo of source file
FileModDate: ’30-dic-2022 09:47:14′
FileSize: 492005745
Format: ‘tif’
FormatVersion: []
Width: 2000
Height: 1500
BitDepth: 32
ColorType: ‘grayscale’
FormatSignature: [77 77 0 42]
ByteOrder: ‘big-endian’
NewSubFileType: 0
BitsPerSample: 32
Compression: ‘Uncompressed’
PhotometricInterpretation: ‘BlackIsZero’
StripOffsets: 225
SamplesPerPixel: 1
RowsPerStrip: 1500
StripByteCounts: 12000000
XResolution: []
YResolution: []
ResolutionUnit: ‘Inch’
Colormap: []
PlanarConfiguration: ‘Chunky’
TileWidth: []
TileLength: []
TileOffsets: []
TileByteCounts: []
Orientation: 1
FillOrder: 1
GrayResponseUnit: 0.0100
MaxSampleValue: 4.2950e+09
MinSampleValue: 0
Thresholding: 1
Offset: 8
ImageDescription: ‘ImageJ=1.53n↵images=41↵slices=41↵loop=false↵min=0.0↵max=1.401298464324817E-45↵’
SampleFormat: ‘IEEE floating point’
Many thanks tiff, save MATLAB Answers — New Questions
How to plot a polyhedron
Hi all,
I have a cloud of points that I have obtained by computing T = A*W where W = [w1 w2 w3 w4]’, A is a 3×4 matrix and T is a 3×1 matrix. All the parameters wi can be equal to [-1 0 1]. Hence, I found all the combination of W compunting by varying each wi and finally I have obtained all the 81 points T(:,i).
My goal is to depict the polyhedron, or 3D polygon, which is described by all the external points of the cloud T(:,i). I started to use the command "fill3(x,y,z,c)" and the results is quite good, but I’m doing it "by hands" and the cloud of points is not easily to visualize and hence is too difficoult to find all the vertices to plot each face of the polyhedron. It will be good if I can plot only the external points of the cloud or if there is a matlab command which plot the external surfaces of a cloud of points. I attach the picture of the cloud of points and some parts of the polygon I already found manually. Blue, red and green lines are related to x, y and z axis I order to help the visualization.
Someone can help me?
Thank you!
Matteo
<</matlabcentral/answers/uploaded_files/104893/cloud.png>>
<</matlabcentral/answers/uploaded_files/104894/poly.png>>Hi all,
I have a cloud of points that I have obtained by computing T = A*W where W = [w1 w2 w3 w4]’, A is a 3×4 matrix and T is a 3×1 matrix. All the parameters wi can be equal to [-1 0 1]. Hence, I found all the combination of W compunting by varying each wi and finally I have obtained all the 81 points T(:,i).
My goal is to depict the polyhedron, or 3D polygon, which is described by all the external points of the cloud T(:,i). I started to use the command "fill3(x,y,z,c)" and the results is quite good, but I’m doing it "by hands" and the cloud of points is not easily to visualize and hence is too difficoult to find all the vertices to plot each face of the polyhedron. It will be good if I can plot only the external points of the cloud or if there is a matlab command which plot the external surfaces of a cloud of points. I attach the picture of the cloud of points and some parts of the polygon I already found manually. Blue, red and green lines are related to x, y and z axis I order to help the visualization.
Someone can help me?
Thank you!
Matteo
<</matlabcentral/answers/uploaded_files/104893/cloud.png>>
<</matlabcentral/answers/uploaded_files/104894/poly.png>> Hi all,
I have a cloud of points that I have obtained by computing T = A*W where W = [w1 w2 w3 w4]’, A is a 3×4 matrix and T is a 3×1 matrix. All the parameters wi can be equal to [-1 0 1]. Hence, I found all the combination of W compunting by varying each wi and finally I have obtained all the 81 points T(:,i).
My goal is to depict the polyhedron, or 3D polygon, which is described by all the external points of the cloud T(:,i). I started to use the command "fill3(x,y,z,c)" and the results is quite good, but I’m doing it "by hands" and the cloud of points is not easily to visualize and hence is too difficoult to find all the vertices to plot each face of the polyhedron. It will be good if I can plot only the external points of the cloud or if there is a matlab command which plot the external surfaces of a cloud of points. I attach the picture of the cloud of points and some parts of the polygon I already found manually. Blue, red and green lines are related to x, y and z axis I order to help the visualization.
Someone can help me?
Thank you!
Matteo
<</matlabcentral/answers/uploaded_files/104893/cloud.png>>
<</matlabcentral/answers/uploaded_files/104894/poly.png>> 3d polygon, polyhedron, 3d plots MATLAB Answers — New Questions
MATLAB online not loading
When I log in and start the MATLAB Onramp course, and get to the first Module after the introduction, it just loads indefinitely. I have tried clearing session files, using a different browser, check internet speed and even using a mobile hotspot but it’s not helping.When I log in and start the MATLAB Onramp course, and get to the first Module after the introduction, it just loads indefinitely. I have tried clearing session files, using a different browser, check internet speed and even using a mobile hotspot but it’s not helping. When I log in and start the MATLAB Onramp course, and get to the first Module after the introduction, it just loads indefinitely. I have tried clearing session files, using a different browser, check internet speed and even using a mobile hotspot but it’s not helping. onramp MATLAB Answers — New Questions