Month: June 2024
¿Cómo convertir OST a PST gratis?
Descargue Advik OST to PST Converter en su PC. Este software convertirá OST a PST gratis. Para que pueda importar datos OST en Outlook 2019. El programa exportará todos los datos de OST a PST, como correo electrónico, contactos, calendario y notas.
Pasos para convertir OST a PST
Ejecute Advik OST a PST Convert.Haga clic en Seleccionar archivos para agregar el archivo Outlook.ost.Elija la carpeta de correo electrónico.Seleccione PST como opción de exportación.Haga clic en el botón Convertir para iniciar el proceso.
Descargue Advik OST to PST Converter en su PC. Este software convertirá OST a PST gratis. Para que pueda importar datos OST en Outlook 2019. El programa exportará todos los datos de OST a PST, como correo electrónico, contactos, calendario y notas. Pasos para convertir OST a PSTEjecute Advik OST a PST Convert.Haga clic en Seleccionar archivos para agregar el archivo Outlook.ost.Elija la carpeta de correo electrónico.Seleccione PST como opción de exportación.Haga clic en el botón Convertir para iniciar el proceso. Read More
Green Screen of Death
Experiencing Green Screen of Death on all Insider Channels since Canary Build 26058
Experiencing Green Screen of Death on all Insider Channels since Canary Build 26058 Read More
Reinforcement learning with action updated once every few (say 100) time steps
Hello,
I am trying to learn a controller in Simulink environment. I am tryng to use reinforcement learning where the action determined by the agent is updated once every few time steps, i.e., an action once determined by the agent is used for by Simulink to run the simulation for a few time steps before it is updated again. Please provide me with suggestions on this. Thank you.Hello,
I am trying to learn a controller in Simulink environment. I am tryng to use reinforcement learning where the action determined by the agent is updated once every few time steps, i.e., an action once determined by the agent is used for by Simulink to run the simulation for a few time steps before it is updated again. Please provide me with suggestions on this. Thank you. Hello,
I am trying to learn a controller in Simulink environment. I am tryng to use reinforcement learning where the action determined by the agent is updated once every few time steps, i.e., an action once determined by the agent is used for by Simulink to run the simulation for a few time steps before it is updated again. Please provide me with suggestions on this. Thank you. reinforcement learing, simulink MATLAB Answers — New Questions
My laptop blue screened
Hi my daughter laptop blue screened n I can’t get it up n running again.. no physical damage was done to it its acer nitro 5 it has ssd n hdd I tried everything n I can’t properly Google the solution for that… cuz I’m cleaning an internal disk… n I can access win on it because of a constant blue screen…
Hi my daughter laptop blue screened n I can’t get it up n running again.. no physical damage was done to it its acer nitro 5 it has ssd n hdd I tried everything n I can’t properly Google the solution for that… cuz I’m cleaning an internal disk… n I can access win on it because of a constant blue screen… Read More
What’s the best way to visualize position/zscore over multiple subjects?
I’ve been struggling to find a way to visualize the correlation between zscore (zscore.csv) and position (xcord.csv) from electrophysiological recordings. I only one dimension of position, but because the recordings were done over time I end up with 17940×2 per animal.
I tried to average z-scores into a new set of bins (new_bins.csv) that spams all the positions of all the animals, but don’t know if that would make a good visualization. Also tried to plot all the values as average of x values and average of z scores, but because there’s a clear preferance of side by the animal, I end up with too many datapoints on one end.
Is there a way to average the values of zscores respective to the values for x that fall into the new bins? Or is there a better way to visualize this altogether? The best example I found so far was panel D of this figure, but I don’t think it made it to their github.I’ve been struggling to find a way to visualize the correlation between zscore (zscore.csv) and position (xcord.csv) from electrophysiological recordings. I only one dimension of position, but because the recordings were done over time I end up with 17940×2 per animal.
I tried to average z-scores into a new set of bins (new_bins.csv) that spams all the positions of all the animals, but don’t know if that would make a good visualization. Also tried to plot all the values as average of x values and average of z scores, but because there’s a clear preferance of side by the animal, I end up with too many datapoints on one end.
Is there a way to average the values of zscores respective to the values for x that fall into the new bins? Or is there a better way to visualize this altogether? The best example I found so far was panel D of this figure, but I don’t think it made it to their github. I’ve been struggling to find a way to visualize the correlation between zscore (zscore.csv) and position (xcord.csv) from electrophysiological recordings. I only one dimension of position, but because the recordings were done over time I end up with 17940×2 per animal.
I tried to average z-scores into a new set of bins (new_bins.csv) that spams all the positions of all the animals, but don’t know if that would make a good visualization. Also tried to plot all the values as average of x values and average of z scores, but because there’s a clear preferance of side by the animal, I end up with too many datapoints on one end.
Is there a way to average the values of zscores respective to the values for x that fall into the new bins? Or is there a better way to visualize this altogether? The best example I found so far was panel D of this figure, but I don’t think it made it to their github. visualization, heatmaps, zscore MATLAB Answers — New Questions
Default data division in trainAutoencoder
Hello,
Can anyone explain why the default data division for the trainAutoencoder function (example usage here Train Stacked Autoencoders for Image Classification) uses the default data division method "dividetrain", i.e., data division is training only, rather than a training/validation/testing one (e.g., dividerand, divideint, etc.)?
Thanks.Hello,
Can anyone explain why the default data division for the trainAutoencoder function (example usage here Train Stacked Autoencoders for Image Classification) uses the default data division method "dividetrain", i.e., data division is training only, rather than a training/validation/testing one (e.g., dividerand, divideint, etc.)?
Thanks. Hello,
Can anyone explain why the default data division for the trainAutoencoder function (example usage here Train Stacked Autoencoders for Image Classification) uses the default data division method "dividetrain", i.e., data division is training only, rather than a training/validation/testing one (e.g., dividerand, divideint, etc.)?
Thanks. autoencoder, data division MATLAB Answers — New Questions
Windows inside builder ran into problem
Can anyone help me please,
Whenever I turn on my pc its showing Windows inside builder ran into problem, it talked about the boot order and stuff so I tried to change the boot orders but nothing happened. Could someone please help me, urgently thank you.
Can anyone help me please,Whenever I turn on my pc its showing Windows inside builder ran into problem, it talked about the boot order and stuff so I tried to change the boot orders but nothing happened. Could someone please help me, urgently thank you. Read More
Ever since security update KB5036892 (with the wi-fi takeover fix), my ethernet is broken.
Immediately after installing this update, I noticed I could only visit a select few websites, namely Youtube, Google, Facebook. Anything else would time out (my bank, speedtest.net, etc.). But if I unplugged ethernet and connected to wifi only, suddenly I could access sites as usual.
I have tried tons of troubleshooting, from a DNS flush, network adapter reset, and IP release and renew, to swapping out ethernet cords. I called my internet carrier and they walked me through a lot of these steps and more, but nothing worked.
I then tried uninstalling the update, which would restart the computer…at which point the update would immediately reinstall itself even disconnected from the internet. So I finally paused Windows updates, and now when I try to uninstall the update, I just get an error. Tried unpausing Windows updates, but now I just permanently can’t uninstall the update no matter what. Have tried restarting the computer multiple times…no dice.
At this point I have no clue what to do. It seems almost certain that the update broke my ethernet connection somehow. It’s almost like there’s some kind of firewall now only letting very limited traffic through.
Immediately after installing this update, I noticed I could only visit a select few websites, namely Youtube, Google, Facebook. Anything else would time out (my bank, speedtest.net, etc.). But if I unplugged ethernet and connected to wifi only, suddenly I could access sites as usual. I have tried tons of troubleshooting, from a DNS flush, network adapter reset, and IP release and renew, to swapping out ethernet cords. I called my internet carrier and they walked me through a lot of these steps and more, but nothing worked. I then tried uninstalling the update, which would restart the computer…at which point the update would immediately reinstall itself even disconnected from the internet. So I finally paused Windows updates, and now when I try to uninstall the update, I just get an error. Tried unpausing Windows updates, but now I just permanently can’t uninstall the update no matter what. Have tried restarting the computer multiple times…no dice. At this point I have no clue what to do. It seems almost certain that the update broke my ethernet connection somehow. It’s almost like there’s some kind of firewall now only letting very limited traffic through. Read More
Aشيخ روحاني لايوجد دفع مقدم لاتدفع فلوس 🇦🇪اغراض ٠٠٩٦٤٧٨٤٢٤٨٨٩٠٦ التواصل واتساب
الدفع بعد النتيجة مع الشيخ آدم عزرا
أنت في الواقع تكتب بعض البرامج التي تعمل بالفعل لمرة واحدة في حياتك!
المشكلة هي أنني أحاول ترحيل والدي من كمبيوتر محمول يعمل بنظام Windows 10 إلى جهاز Macbook Pro مزود بـ Sanoma 14.5
المشكلة هي رقم شيخ روحاني أن علامة تبويب النسخ الاحتياطي مفقودة من علامة تبويب التفضيلات. بعد البحث في Google، يبدو أن جذاب عماني مضمون هو إصداران من نفس تطبيق سحر جلب الحبيب بسرعة للزواج الذي أنشأته شركة Apple في متجر التطبيقات وواحد يمكنك تنزيله مباشرة من Microsoft.
الدفع بعد النتيجة مع الشيخ آدم عزراأنت في الواقع تكتب بعض البرامج التي تعمل بالفعل لمرة واحدة في حياتك! المشكلة هي أنني أحاول ترحيل والدي من كمبيوتر محمول يعمل بنظام Windows 10 إلى جهاز Macbook Pro مزود بـ Sanoma 14.5 المشكلة هي رقم شيخ روحاني أن علامة تبويب النسخ الاحتياطي مفقودة من علامة تبويب التفضيلات. بعد البحث في Google، يبدو أن جذاب عماني مضمون هو إصداران من نفس تطبيق سحر جلب الحبيب بسرعة للزواج الذي أنشأته شركة Apple في متجر التطبيقات وواحد يمكنك تنزيله مباشرة من Microsoft. Read More
Restricting Azure Function HTTP Trigger to Specific SharePoint Site Requests
Hello,
In an Azure Function with an HTTP Trigger, is there a way to limit the triggering of the function to requests coming only from a specific SharePoint site? For example, I have a SharePoint site with a clickable link that contains the URL of the Azure Function, and I’d like the function to be triggered only if the link is clicked from the SharePoint site. If someone copies and pastes the URL of the function and the browser directly, it should not work.
Thanks in advance for your help with this.
Hello, In an Azure Function with an HTTP Trigger, is there a way to limit the triggering of the function to requests coming only from a specific SharePoint site? For example, I have a SharePoint site with a clickable link that contains the URL of the Azure Function, and I’d like the function to be triggered only if the link is clicked from the SharePoint site. If someone copies and pastes the URL of the function and the browser directly, it should not work. Thanks in advance for your help with this. Read More
I want to perform this time derivative?
i want to perfrom this time derivative of volume which depends upon Ab and r_dot_L, these factor are calculated before and has an array of (600(time tb) x 412(distance X)) both of the values are time dependent and changes with respect to X.i want to perfrom this time derivative of volume which depends upon Ab and r_dot_L, these factor are calculated before and has an array of (600(time tb) x 412(distance X)) both of the values are time dependent and changes with respect to X. i want to perfrom this time derivative of volume which depends upon Ab and r_dot_L, these factor are calculated before and has an array of (600(time tb) x 412(distance X)) both of the values are time dependent and changes with respect to X. ode45 MATLAB Answers — New Questions
Using a newer version of plot (ezplot to fimplicit or fplot)
See https://uk.mathworks.com/matlabcentral/answers/327895-how-do-i-plot-a-circular-arc-with-given-two-endpoints-and-radius#answer_272169 for context
Using the answers from this question I was able to edit the code from the link above to get the general arc shape that I wanted.
However, I have a few issues, mainly down to my lack of experience:
1) ezplot isn’t recommended for the type of shape, so fplot and fimplicit are suggested as alternatives, and I’m not sure how to change ezplot over and maintain the same arc image
2) I need a functionality to change the thickness of the line which it doesn’t currently have
3) With this code it isn’t necessary but being able to plot multiple similar arcs on the same graph is also important
I’ve looked through the help centre for ezplot, fplot and fimplicit and I’m really not sure where I’m going wrong.
Code is pasted below
sparse.vein = [13 28.5 2 90 45 12.1935; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0];
sparse.cross_vein = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0];
sf1 = 4;
sf2 = -2;
sf3 = 20;
vein1_p1 = [sf1 * sparse.vein(1,1), sf2 * sparse.vein(1,2)]; %point 1
vein1_p2 = [sf1 * sparse.vein(1,4), sf2 * sparse.vein(1,5)]; %point 2
vein1_r = sf3 * [sparse.vein(1,6)]; %radius value
%vein1_t = line thickness
limA = [0 400];
limB = [-200 0]; % [0 400 -200 0]
%first input
a=vein1_p1; %P1
b=vein1_p2; %P2
r=vein1_r; %radius
%next solution
syms x y
[x,y]=solve((x-a(1))^2+(y-a(2))^2==r^2,(x-b(1))^2+(y-b(2))^2==r^2,x,y);
%plot arc
syms X Y
ezplot((X-x(1))^2+(Y-y(1))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0])
figure
ezplot((X-x(2))^2+(Y-y(2))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0])See https://uk.mathworks.com/matlabcentral/answers/327895-how-do-i-plot-a-circular-arc-with-given-two-endpoints-and-radius#answer_272169 for context
Using the answers from this question I was able to edit the code from the link above to get the general arc shape that I wanted.
However, I have a few issues, mainly down to my lack of experience:
1) ezplot isn’t recommended for the type of shape, so fplot and fimplicit are suggested as alternatives, and I’m not sure how to change ezplot over and maintain the same arc image
2) I need a functionality to change the thickness of the line which it doesn’t currently have
3) With this code it isn’t necessary but being able to plot multiple similar arcs on the same graph is also important
I’ve looked through the help centre for ezplot, fplot and fimplicit and I’m really not sure where I’m going wrong.
Code is pasted below
sparse.vein = [13 28.5 2 90 45 12.1935; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0];
sparse.cross_vein = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0];
sf1 = 4;
sf2 = -2;
sf3 = 20;
vein1_p1 = [sf1 * sparse.vein(1,1), sf2 * sparse.vein(1,2)]; %point 1
vein1_p2 = [sf1 * sparse.vein(1,4), sf2 * sparse.vein(1,5)]; %point 2
vein1_r = sf3 * [sparse.vein(1,6)]; %radius value
%vein1_t = line thickness
limA = [0 400];
limB = [-200 0]; % [0 400 -200 0]
%first input
a=vein1_p1; %P1
b=vein1_p2; %P2
r=vein1_r; %radius
%next solution
syms x y
[x,y]=solve((x-a(1))^2+(y-a(2))^2==r^2,(x-b(1))^2+(y-b(2))^2==r^2,x,y);
%plot arc
syms X Y
ezplot((X-x(1))^2+(Y-y(1))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0])
figure
ezplot((X-x(2))^2+(Y-y(2))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0]) See https://uk.mathworks.com/matlabcentral/answers/327895-how-do-i-plot-a-circular-arc-with-given-two-endpoints-and-radius#answer_272169 for context
Using the answers from this question I was able to edit the code from the link above to get the general arc shape that I wanted.
However, I have a few issues, mainly down to my lack of experience:
1) ezplot isn’t recommended for the type of shape, so fplot and fimplicit are suggested as alternatives, and I’m not sure how to change ezplot over and maintain the same arc image
2) I need a functionality to change the thickness of the line which it doesn’t currently have
3) With this code it isn’t necessary but being able to plot multiple similar arcs on the same graph is also important
I’ve looked through the help centre for ezplot, fplot and fimplicit and I’m really not sure where I’m going wrong.
Code is pasted below
sparse.vein = [13 28.5 2 90 45 12.1935; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0; 0 0 0 0 0 0];
sparse.cross_vein = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0];
sf1 = 4;
sf2 = -2;
sf3 = 20;
vein1_p1 = [sf1 * sparse.vein(1,1), sf2 * sparse.vein(1,2)]; %point 1
vein1_p2 = [sf1 * sparse.vein(1,4), sf2 * sparse.vein(1,5)]; %point 2
vein1_r = sf3 * [sparse.vein(1,6)]; %radius value
%vein1_t = line thickness
limA = [0 400];
limB = [-200 0]; % [0 400 -200 0]
%first input
a=vein1_p1; %P1
b=vein1_p2; %P2
r=vein1_r; %radius
%next solution
syms x y
[x,y]=solve((x-a(1))^2+(y-a(2))^2==r^2,(x-b(1))^2+(y-b(2))^2==r^2,x,y);
%plot arc
syms X Y
ezplot((X-x(1))^2+(Y-y(1))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0])
figure
ezplot((X-x(2))^2+(Y-y(2))^2==r^2,[min(52,360),max(52,360), …
min(-200,0),max(-200,0)])
axis ([0 400 -200 0]) plot, 2d, arc, radius, between two points MATLAB Answers — New Questions
Image hidding using DWT
Hello every one
I am finding a problime in my code for hidding 325*325 image into 2300*2300 image after decompose it using into HH{3} to get the best PSNR and MSE
and the erroe say that the matrix in not matching.
the code is as follow:-
% Main code
clc
close all;
clear all;
%
a=imgetfile();
coverImage1 = imread(a);
coverImages = imresize(coverImage1,[2600 2600]);
R=coverImages(:,:,1); %red = 1, green = 2, blue = 3
G=coverImages(:,:,2);
B=coverImages(:,:,3);
coverImage=B;
% figure;
% imshow(coverImage);
% title(‘Blue Image’);
%%%%%
b=imgetfile();
secretImage1 = imread(b);
%secretImage=B1;
secretImage= rgb2gray(secretImage1);
secretImage = imresize(secretImage,[1300 1300]);
row = size(secretImage,1);
col = size(secretImage,2);
s = row*col;
%secretImage = imresize(secretImage,[280 280]);
% figure(1); imshow (coverImages)
% figure(2); imshow (secretImage)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Perform DNA encryption on the secret image
key = randi([0, 255], size(secretImage)); % Generate random key
encryptedImage = DNAEncrypt(secretImage, key);
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nColors = 256;
n =3 ; %# Number of decompositions
LL = cell(1,n); %# Approximation coefficient storage
LH = cell(1,n); %# Horizontal detail coefficient storage
HL = cell(1,n); %# Vertical detail coefficient storage
HH = cell(1,n); %# Diagonal detail coefficient storage
X = coverImage ;
for i = 1:n %# %# Apply nLevel decompositions
[LL{i},LH{i},HL{i},HH{i}] = dwt2(X,’Haar’);
X = LL{i}; % gives you the last quarter of the image
end
%coverImage = LL{i}; % gives you the last quarter of the image
%alpha = 0.02; % Embedding strength
OO= HH{1}; OOO = HH{2}; OOOO=HH{3};% here I want to get the need HH{1,2,3} for the good hidding
%%
HH_embedded = HH{1} + ( encryptedImage);
stegoImage = idwt2(LL{i}, LH{i}, HL{i}, HH_embedded, ‘haar’);
imshow(uint8(stegoImage));
% %%
% tiledImage = wcodemat(LL{n},nColors);
% for i = n:-1:1
% tiledImage = cat(1,cat(2,tiledImage,…
% wcodemat(LH{i},nColors)),…
% cat(2,wcodemat(HL{i},nColors),…
% wcodemat(HH{i},nColors)));
% end
% figure(1);imshow(uint8(tiledImage-1));
%%
B2=uint8(stegoImage);
RGB= cat(3, R, G, B2);
stg= double(im2gray(RGB));
% figure (5)
% subplot(1, 2, 1);
% imshow(RGB);
% title(‘RGB after Analysis’);
%%%%
% Display the stego image
figure;
subplot(1, 2, 1);
imshow(coverImages);
title(‘Cover Image’);
subplot(1, 2, 2);
imshow(RGB);
title(‘Stego Image’);
%%%%%%%%%%%%%
%TT = immse(stg, double(coverImage));
mse = sum(sum((coverImage – uint8(stg)) .^ 2)) / numel(coverImage);
% Display the MSE
fprintf(‘Mean Squared Error (MSE): %.4fn’, mse);
%CC = mse(stgcoverImage);
C = psnr((uint8(stg)),coverImage);
%fprintf(‘n The Mean Sq. Erorr value is %0.4f’, CC );
fprintf(‘n PSNR value is %0.6f’, C);
%%
%
I will write the code here and provide you the images, hope to get it downHello every one
I am finding a problime in my code for hidding 325*325 image into 2300*2300 image after decompose it using into HH{3} to get the best PSNR and MSE
and the erroe say that the matrix in not matching.
the code is as follow:-
% Main code
clc
close all;
clear all;
%
a=imgetfile();
coverImage1 = imread(a);
coverImages = imresize(coverImage1,[2600 2600]);
R=coverImages(:,:,1); %red = 1, green = 2, blue = 3
G=coverImages(:,:,2);
B=coverImages(:,:,3);
coverImage=B;
% figure;
% imshow(coverImage);
% title(‘Blue Image’);
%%%%%
b=imgetfile();
secretImage1 = imread(b);
%secretImage=B1;
secretImage= rgb2gray(secretImage1);
secretImage = imresize(secretImage,[1300 1300]);
row = size(secretImage,1);
col = size(secretImage,2);
s = row*col;
%secretImage = imresize(secretImage,[280 280]);
% figure(1); imshow (coverImages)
% figure(2); imshow (secretImage)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Perform DNA encryption on the secret image
key = randi([0, 255], size(secretImage)); % Generate random key
encryptedImage = DNAEncrypt(secretImage, key);
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nColors = 256;
n =3 ; %# Number of decompositions
LL = cell(1,n); %# Approximation coefficient storage
LH = cell(1,n); %# Horizontal detail coefficient storage
HL = cell(1,n); %# Vertical detail coefficient storage
HH = cell(1,n); %# Diagonal detail coefficient storage
X = coverImage ;
for i = 1:n %# %# Apply nLevel decompositions
[LL{i},LH{i},HL{i},HH{i}] = dwt2(X,’Haar’);
X = LL{i}; % gives you the last quarter of the image
end
%coverImage = LL{i}; % gives you the last quarter of the image
%alpha = 0.02; % Embedding strength
OO= HH{1}; OOO = HH{2}; OOOO=HH{3};% here I want to get the need HH{1,2,3} for the good hidding
%%
HH_embedded = HH{1} + ( encryptedImage);
stegoImage = idwt2(LL{i}, LH{i}, HL{i}, HH_embedded, ‘haar’);
imshow(uint8(stegoImage));
% %%
% tiledImage = wcodemat(LL{n},nColors);
% for i = n:-1:1
% tiledImage = cat(1,cat(2,tiledImage,…
% wcodemat(LH{i},nColors)),…
% cat(2,wcodemat(HL{i},nColors),…
% wcodemat(HH{i},nColors)));
% end
% figure(1);imshow(uint8(tiledImage-1));
%%
B2=uint8(stegoImage);
RGB= cat(3, R, G, B2);
stg= double(im2gray(RGB));
% figure (5)
% subplot(1, 2, 1);
% imshow(RGB);
% title(‘RGB after Analysis’);
%%%%
% Display the stego image
figure;
subplot(1, 2, 1);
imshow(coverImages);
title(‘Cover Image’);
subplot(1, 2, 2);
imshow(RGB);
title(‘Stego Image’);
%%%%%%%%%%%%%
%TT = immse(stg, double(coverImage));
mse = sum(sum((coverImage – uint8(stg)) .^ 2)) / numel(coverImage);
% Display the MSE
fprintf(‘Mean Squared Error (MSE): %.4fn’, mse);
%CC = mse(stgcoverImage);
C = psnr((uint8(stg)),coverImage);
%fprintf(‘n The Mean Sq. Erorr value is %0.4f’, CC );
fprintf(‘n PSNR value is %0.6f’, C);
%%
%
I will write the code here and provide you the images, hope to get it down Hello every one
I am finding a problime in my code for hidding 325*325 image into 2300*2300 image after decompose it using into HH{3} to get the best PSNR and MSE
and the erroe say that the matrix in not matching.
the code is as follow:-
% Main code
clc
close all;
clear all;
%
a=imgetfile();
coverImage1 = imread(a);
coverImages = imresize(coverImage1,[2600 2600]);
R=coverImages(:,:,1); %red = 1, green = 2, blue = 3
G=coverImages(:,:,2);
B=coverImages(:,:,3);
coverImage=B;
% figure;
% imshow(coverImage);
% title(‘Blue Image’);
%%%%%
b=imgetfile();
secretImage1 = imread(b);
%secretImage=B1;
secretImage= rgb2gray(secretImage1);
secretImage = imresize(secretImage,[1300 1300]);
row = size(secretImage,1);
col = size(secretImage,2);
s = row*col;
%secretImage = imresize(secretImage,[280 280]);
% figure(1); imshow (coverImages)
% figure(2); imshow (secretImage)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Perform DNA encryption on the secret image
key = randi([0, 255], size(secretImage)); % Generate random key
encryptedImage = DNAEncrypt(secretImage, key);
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nColors = 256;
n =3 ; %# Number of decompositions
LL = cell(1,n); %# Approximation coefficient storage
LH = cell(1,n); %# Horizontal detail coefficient storage
HL = cell(1,n); %# Vertical detail coefficient storage
HH = cell(1,n); %# Diagonal detail coefficient storage
X = coverImage ;
for i = 1:n %# %# Apply nLevel decompositions
[LL{i},LH{i},HL{i},HH{i}] = dwt2(X,’Haar’);
X = LL{i}; % gives you the last quarter of the image
end
%coverImage = LL{i}; % gives you the last quarter of the image
%alpha = 0.02; % Embedding strength
OO= HH{1}; OOO = HH{2}; OOOO=HH{3};% here I want to get the need HH{1,2,3} for the good hidding
%%
HH_embedded = HH{1} + ( encryptedImage);
stegoImage = idwt2(LL{i}, LH{i}, HL{i}, HH_embedded, ‘haar’);
imshow(uint8(stegoImage));
% %%
% tiledImage = wcodemat(LL{n},nColors);
% for i = n:-1:1
% tiledImage = cat(1,cat(2,tiledImage,…
% wcodemat(LH{i},nColors)),…
% cat(2,wcodemat(HL{i},nColors),…
% wcodemat(HH{i},nColors)));
% end
% figure(1);imshow(uint8(tiledImage-1));
%%
B2=uint8(stegoImage);
RGB= cat(3, R, G, B2);
stg= double(im2gray(RGB));
% figure (5)
% subplot(1, 2, 1);
% imshow(RGB);
% title(‘RGB after Analysis’);
%%%%
% Display the stego image
figure;
subplot(1, 2, 1);
imshow(coverImages);
title(‘Cover Image’);
subplot(1, 2, 2);
imshow(RGB);
title(‘Stego Image’);
%%%%%%%%%%%%%
%TT = immse(stg, double(coverImage));
mse = sum(sum((coverImage – uint8(stg)) .^ 2)) / numel(coverImage);
% Display the MSE
fprintf(‘Mean Squared Error (MSE): %.4fn’, mse);
%CC = mse(stgcoverImage);
C = psnr((uint8(stg)),coverImage);
%fprintf(‘n The Mean Sq. Erorr value is %0.4f’, CC );
fprintf(‘n PSNR value is %0.6f’, C);
%%
%
I will write the code here and provide you the images, hope to get it down dwt, image processing MATLAB Answers — New Questions
How to keep the original layout in the full screen or when maximizing the GUI of a MATLAB App ?
Hello everyone,
I am desinging an App in the MATLAB App Designer, I am using MATLAB R2023a, and I am working on a Windows operating system.
After finishing the design of my App, I have noticed that when running the App, the layout of the designed GUI is lost when the GUI is on full screen or when it is maximized. Please see the attached Capture1 and Capture2 for the layouts of the GUI (Capture1 shows the layout when the GUI is minimised, this is the original layout that I have designed, and Capture2 shows how the layout is changed when the GUI is on full screen or when it is maximized).
I want that the GUI keeps the original layout that I have set when I was designing the App in the App designer, when the GUI is on full screen or when it is maximized.
I have found on some answers of MATLAB Central that I Should select for WindowState "fullscreen" or "maximized" and that I should also select "Resize" and "AutoResizeChildren" in the Settings of POSITION. I have done all that, please see the attached Capture3, but I still have the same problem.
Does anyone have any solution for this problem ?
Many thanks to everyone in advance.Hello everyone,
I am desinging an App in the MATLAB App Designer, I am using MATLAB R2023a, and I am working on a Windows operating system.
After finishing the design of my App, I have noticed that when running the App, the layout of the designed GUI is lost when the GUI is on full screen or when it is maximized. Please see the attached Capture1 and Capture2 for the layouts of the GUI (Capture1 shows the layout when the GUI is minimised, this is the original layout that I have designed, and Capture2 shows how the layout is changed when the GUI is on full screen or when it is maximized).
I want that the GUI keeps the original layout that I have set when I was designing the App in the App designer, when the GUI is on full screen or when it is maximized.
I have found on some answers of MATLAB Central that I Should select for WindowState "fullscreen" or "maximized" and that I should also select "Resize" and "AutoResizeChildren" in the Settings of POSITION. I have done all that, please see the attached Capture3, but I still have the same problem.
Does anyone have any solution for this problem ?
Many thanks to everyone in advance. Hello everyone,
I am desinging an App in the MATLAB App Designer, I am using MATLAB R2023a, and I am working on a Windows operating system.
After finishing the design of my App, I have noticed that when running the App, the layout of the designed GUI is lost when the GUI is on full screen or when it is maximized. Please see the attached Capture1 and Capture2 for the layouts of the GUI (Capture1 shows the layout when the GUI is minimised, this is the original layout that I have designed, and Capture2 shows how the layout is changed when the GUI is on full screen or when it is maximized).
I want that the GUI keeps the original layout that I have set when I was designing the App in the App designer, when the GUI is on full screen or when it is maximized.
I have found on some answers of MATLAB Central that I Should select for WindowState "fullscreen" or "maximized" and that I should also select "Resize" and "AutoResizeChildren" in the Settings of POSITION. I have done all that, please see the attached Capture3, but I still have the same problem.
Does anyone have any solution for this problem ?
Many thanks to everyone in advance. app designer, gui layout, maximize, full screen, original layout MATLAB Answers — New Questions
Audio file embeds not working
I have a site and a few audio files in my OneDrive account that I want to embed in said site using the HTML `<audio>` tag.
I’m following this answer‘s instructions and it works fine in my personal OneDrive account, which generates embed codes in the following format:
<iframe src=”https://onedrive.live.com/embed?resid=XXXXXXXX&authkey=YYYYYYYYYY” width=”98″ height=”120″ frameborder=”0″ scrolling=”no”></iframe>
(note the URL domain: https://onedrive.live.com)
However, in my client’s OneDrive account, embeds are generated using a shortened URL domain, like this:
<iframe src=”https://1drv.ms/u/s!XXXXXXXXXXXXXXX?embed=1″ width=”98″ height=”120″ frameborder=”0″ scrolling=”no”></iframe>
Naturally, this URL format breaks embedding audio and I don’t know how to circumvent this.
I tried changing “embed=1” with “download=1” but it didn’t work out.
How can I make these “shortened” URLs work with the audio tag? Perhaps there’s a way to disable URL shortening for embeds??
Thanks in advance
I have a site and a few audio files in my OneDrive account that I want to embed in said site using the HTML `<audio>` tag. I’m following this answer’s instructions and it works fine in my personal OneDrive account, which generates embed codes in the following format:<iframe src=”https://onedrive.live.com/embed?resid=XXXXXXXX&authkey=YYYYYYYYYY” width=”98″ height=”120″ frameborder=”0″ scrolling=”no”></iframe>(note the URL domain: https://onedrive.live.com) However, in my client’s OneDrive account, embeds are generated using a shortened URL domain, like this:<iframe src=”https://1drv.ms/u/s!XXXXXXXXXXXXXXX?embed=1″ width=”98″ height=”120″ frameborder=”0″ scrolling=”no”></iframe> Naturally, this URL format breaks embedding audio and I don’t know how to circumvent this.I tried changing “embed=1” with “download=1” but it didn’t work out. How can I make these “shortened” URLs work with the audio tag? Perhaps there’s a way to disable URL shortening for embeds?? Thanks in advance Read More
iCloud in Outlook for iOS/iPadOS
I use Outlook on my Mac, iPad and iPhone. I have the latest macOS, iOS, iPadOS and Outlook for Mac and Outlook for my two devices.
My iCloud account works as expected on my Mac(s). It doesn’t on my “i” devices. My email shows and after it is read, disappears. It is not being deleted, because I still see it on my man and iCloud.com
When I set my iCloud account there was a way to connect the account directly to iCloud. I don’t see a way to do this on my “i” devices. Is there a way to do this?
Thanks.
Len Levin
I use Outlook on my Mac, iPad and iPhone. I have the latest macOS, iOS, iPadOS and Outlook for Mac and Outlook for my two devices. My iCloud account works as expected on my Mac(s). It doesn’t on my “i” devices. My email shows and after it is read, disappears. It is not being deleted, because I still see it on my man and iCloud.com When I set my iCloud account there was a way to connect the account directly to iCloud. I don’t see a way to do this on my “i” devices. Is there a way to do this? Thanks. Len Levin Read More
1-D finite difference method
A UO2 fuel rod is surrounded by a Zr cladding and is cooled with water. After 1 hour of cooling, the final temperatures have been obtained as shown above. Using the 1-D finite difference method, calculate the temperature distribution in the fuel and cladding 1 hour earlier. Maybe someone would help or give an opinion.A UO2 fuel rod is surrounded by a Zr cladding and is cooled with water. After 1 hour of cooling, the final temperatures have been obtained as shown above. Using the 1-D finite difference method, calculate the temperature distribution in the fuel and cladding 1 hour earlier. Maybe someone would help or give an opinion. A UO2 fuel rod is surrounded by a Zr cladding and is cooled with water. After 1 hour of cooling, the final temperatures have been obtained as shown above. Using the 1-D finite difference method, calculate the temperature distribution in the fuel and cladding 1 hour earlier. Maybe someone would help or give an opinion. finite difference method, matlab, matrix, image processing, matlab function, temperature distribution MATLAB Answers — New Questions