Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
how i can get the profile of pixel value in dicom
Respuesta aceptada
35 comentarios
- size(I)
- class(I)
- A complete copy of the error message, indicating what MATLAB thinks the problem is with calling improfile()
- if you are always taking the profile along the same line, and that line is exactly horizontal or exactly vertical, and you would be fine with it lining up exactly with existing data: then in this case, the profile can be taking by just indexing NewValue at the appropriate rows or columns.
- if you are always taking the profile along the same line, and that line is not exactly horizontal or exactly vertical, or is but has to be "between" two existing data lines, then improfile() works by using interp2(). The question then becomes which coordinates to interpolate at. A typical way to handle that is to compare the difference in X coordinates of the endpoints, against the difference in Y coordinates of the endpoints, and to choose the longer axes to be the one to use consecutive locations along, and linspace() the other coordinate according to the length of the longer axes.
- If you are not always taking the profile along the same line, such as if you are taking a profile between opposite "corners" but the corners are not always exactly in the same place, then first we need to figure out how to automatically detect whatever it is you are measuring.
- if you are always taking the profile along the same line, and that line is exactly horizontal or exactly vertical, and you would be fine with it lining up exactly with existing data: then in this case, the profile can be taking by just indexing NewValue at the appropriate rows or columns."
- if the edge is an odd size, then the "center" should be an odd size, and there should be even amounts before and after the center
- if the edge is an even size, the center should be exactly half of that size. If it is possible to put the same size margin before and after the center then do so, but otherwise start the center one further onwards. For example if the edge were length 10, then the center is length 5, leaving 5 units on the outside that has to be distributed between before and after, but that cannot be done equally on the two sides so use 3 before, then the 5 for the center, then 2 afterwards.
Más respuestas (1)
1 comentario
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)